-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds native modules support to Android builds by including new gradle tasks to copy the nodejs-project and build the npm native modules for each of the needed CPU architectures. The resulting binaries are then added as a different asset folder for each architecture, to be copied and loaded at runtime depending on which architecture is needed. The npm tasks can be activated by setting the environment variable 'NODEJS_MOBILE_BUILD_NATIVE_MODULES' to 1.
- Loading branch information
1 parent
448c9ae
commit af82e39
Showing
3 changed files
with
200 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters