Skip to content

feat: remove option to build with external startup data, and tools builds (x86) - #4

Merged
NathanWalker merged 3 commits into
NativeScript:android_x86from
ptomato:android_x86
May 5, 2023
Merged

feat: remove option to build with external startup data, and tools builds (x86)#4
NathanWalker merged 3 commits into
NativeScript:android_x86from
ptomato:android_x86

Conversation

@ptomato

@ptomato ptomato commented May 4, 2023

Copy link
Copy Markdown
Collaborator

Same as #2, for x86 branch.

ptomato added 3 commits May 4, 2023 13:48
The automatic exportation of environment variables based on the config key
in package.json was removed in later versions of Node.js. Here, we
manually set the environment variable if it's not automatically set.
Ninja is a prerequisite for the build. On Ubuntu install it with apt-get,
and on GitHub's macOS Docker image it needs to come from Homebrew.
This makes V8 always build with v8_use_external_startup_data=false.
Since that was previously controlled by the EXTERNAL_STARTUP_DATA
variable, we can remove that variable. If we're not using external startup
heap snapshots, we also don't need to export mksnapshot and mkcodecache;
they are now only used internally by the V8 build. This also makes a
TOOLS_ONLY build and therefore a tools_macos_android build obsolete.

Summary:
- Remove EXTERNAL_STARTUP_DATA
- Remove TOOLS_ONLY
- Remove MKSNAPSHOT_ONLY
- Remove MKCODECACHE_ONLY
- Remove patch to allow monolithic build with external startup data
- Remove patch to export mkcodecache
- Remove tools_macos_android workflow
@cla-bot cla-bot Bot added the cla: yes label May 4, 2023
@NathanWalker
NathanWalker merged commit e7aa7ed into NativeScript:android_x86 May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants