Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3001)

Unified Diff: build/config/BUILD.gn

Issue 753103003: Enable external V8 snapshot on Android through GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add copyright Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/module_args/v8.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/BUILD.gn
diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn
index bd803ef7884e4d0b6012d18b01e1b700e078dd6f..f32797ccbdb171609eee79fa13af7c77980a9fc1 100644
--- a/build/config/BUILD.gn
+++ b/build/config/BUILD.gn
@@ -6,6 +6,7 @@ import("//build/config/allocator.gni")
import("//build/config/crypto.gni")
import("//build/config/features.gni")
import("//build/config/ui.gni")
+import("//build/module_args/v8.gni")
declare_args() {
# When set, turns off the (normally-on) iterator debugging and related stuff
@@ -207,6 +208,9 @@ config("feature_flags") {
if (enable_hangout_services_extension) {
defines += [ "ENABLE_HANGOUT_SERVICES_EXTENSION=1" ]
}
+ if (v8_use_external_startup_data) {
+ defines += [ "V8_USE_EXTERNAL_STARTUP_DATA" ]
+ }
}
# Debug/release ----------------------------------------------------------------
« no previous file with comments | « no previous file | build/module_args/v8.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698