A V8 adapter implemention of the JSI interface for the react-native framework.
powershell Set-ExecutionPolicy RemoteSigned
powershell ./localbuild.ps1
To build Win32 X64 Debug:
Launch Cmd as Standard user, NOT Administrator
From V8-Jsi Repo Directory:
powershell ./localbuild.ps1 -NoSetup
To build the specific platform and flavor, use appropriate build flags:
powershell ./localbuild.ps1 -NoSetup -Platform x86 -Configuration Release
wsl --install -d Debian
sudo apt install lsb-release
pwsh ./localbuild.ps1 -AppPlatform android
pwsh ./localbuild.ps1 -AppPlatform android -NoSetup
brew install --cask powershell
pwsh ./localbuild.ps1 -AppPlatform mac
pwsh ./localbuild.ps1 -AppPlatform mac -NoSetup
Until the JSI headers find a more suitable home, they're currently duplicated between the various repos. Code in jsi\jsi should be synchronized with the matching version of JSI from react-native (from https://github.com/facebook/hermes/tree/master/API/jsi/jsi).
To regenerate after manual fix-ups, run:
git diff --output=..\..\..\scripts\patch\build.diff --ignore-cr-at-eol
from \build\v8\build\
.git diff --output=..\..\scripts\patch\src.diff --ignore-cr-at-eol
from \build\v8\
.git diff --output=..\..\..\..\scripts\patch\zlib.diff --ignore-cr-at-eol
from \build\v8\third_party\zlib\
.See Contributing guidelines for how to setup your fork of the repo and start a PR to contribute to React Native V8 JSI adapter.
The V8 JSI adapter, and all newly contributed code is provided under the MIT License. Portions of the JSI interface derived from Hermes are copyright Facebook.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.