| Index: BUILD.gn
|
| diff --git a/BUILD.gn b/BUILD.gn
|
| index 6f60384759c64d28349d98bd6d4ab8c64493b9cd..3168a2298907fd722b3c70cf188db486f5112f51 100644
|
| --- a/BUILD.gn
|
| +++ b/BUILD.gn
|
| @@ -7,6 +7,10 @@ import("//build/config/arm.gni")
|
| import("//build/config/mips.gni")
|
| import("//build/config/sanitizers/sanitizers.gni")
|
|
|
| +if (is_android) {
|
| + import("//build/config/android/rules.gni")
|
| +}
|
| +
|
| # Because standalone V8 builds are not supported, assume this is part of a
|
| # Chromium build.
|
| import("//build/module_args/v8.gni")
|
| @@ -407,6 +411,21 @@ action("d8_js2c") {
|
| rebase_path(inputs, root_build_dir)
|
| }
|
|
|
| +if (is_android) {
|
| + android_assets("v8_external_startup_data_assets") {
|
| + if (v8_use_external_startup_data) {
|
| + deps = [
|
| + "//v8",
|
| + ]
|
| + sources = [
|
| + "$root_out_dir/natives_blob.bin",
|
| + "$root_out_dir/snapshot_blob.bin",
|
| + ]
|
| + disable_compression = true
|
| + }
|
| + }
|
| +}
|
| +
|
| if (v8_use_external_startup_data) {
|
| action("natives_blob") {
|
| visibility = [ ":*" ] # Only targets in this file can depend on this.
|
|
|