summaryrefslogtreecommitdiffstats
path: root/build/module_args
diff options
context:
space:
mode:
authorbaixo <baixo@chromium.org>2014-12-04 12:08:38 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-04 20:09:03 +0000
commit1660022c515b379091f061eaffd7a6c310ca959b (patch)
tree136194a6a5601fb71ba6c40723af6972440c0c72 /build/module_args
parentca6988df595e520e353722bbf5361c4dc0d0ee86 (diff)
downloadchromium_src-1660022c515b379091f061eaffd7a6c310ca959b.zip
chromium_src-1660022c515b379091f061eaffd7a6c310ca959b.tar.gz
chromium_src-1660022c515b379091f061eaffd7a6c310ca959b.tar.bz2
Enable external V8 snapshot on Android through GN.
BUG=421063 Review URL: https://codereview.chromium.org/753103003 Cr-Commit-Position: refs/heads/master@{#306875}
Diffstat (limited to 'build/module_args')
-rw-r--r--build/module_args/v8.gni12
1 files changed, 12 insertions, 0 deletions
diff --git a/build/module_args/v8.gni b/build/module_args/v8.gni
new file mode 100644
index 0000000..5825530
--- /dev/null
+++ b/build/module_args/v8.gni
@@ -0,0 +1,12 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+if (is_android) {
+ import("//build/config/android/config.gni")
+}
+
+# TODO(baixo) enable this once this lands:
+# https://codereview.chromium.org/749213004
+# v8_use_external_startup_data = is_android && !is_android_webview_build
+v8_use_external_startup_data = false