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

Unified Diff: BUILD.gn

Issue 1415773003: Add an external_startup_data config to the GN buildfile. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: make config exist unconditionally Created 5 years, 2 months 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index f5e6f5c01b9eb0dd4082b7d39f1a30cefbd72b33..34000b3fe3f8cf9ff958f3344da2fa7151a4b28b 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -71,6 +71,14 @@ config("external_config") {
include_dirs = [ "include" ]
}
+# This config should only be applied to code that needs to be explicitly
+# aware of whether we are using startup data or not.
+config("external_startup_data") {
+ if (v8_use_external_startup_data) {
+ defines = [ "V8_USE_EXTERNAL_STARTUP_DATA" ]
+ }
+}
+
config("features") {
visibility = [ ":*" ] # Only targets in this file can depend on this.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698