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

Unified Diff: BUILD.gn

Issue 2183063002: [build] Conditionally print to stdout on Android (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: [gn] Set defines for Android Created 4 years, 5 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 | build_overrides/v8.gni » ('j') | 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 b737883542b372d4cf7e2b7aa95f6fc45b1483d3..9539c5d9d8d56f5444c0f3def439927f64c1cef9 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -83,6 +83,7 @@ if (v8_enable_gdbjit == "") {
}
}
+v8_standalone = defined(v8_standalone_build) && v8_standalone_build
v8_generated_peephole_source = "$target_gen_dir/bytecode-peephole-table.cc"
v8_random_seed = "314159265"
v8_toolset_for_shell = "host"
@@ -329,6 +330,12 @@ config("toolchain") {
} else if (dcheck_always_on) {
defines += [ "DEBUG" ]
}
+
+ if (v8_standalone) {
+ if (is_android) {
+ defines += [ "V8_ANDROID_LOG_STDOUT" ]
Michael Achenbach 2016/07/26 15:06:34 Porting https://cs.chromium.org/chromium/src/v8/gy
vogelheim 2016/07/27 07:43:40 Are there any sort of asserts or unit tests for BU
+ }
+ }
}
###############################################################################
« no previous file with comments | « no previous file | build_overrides/v8.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698