Index: build_overrides/v8.gni |
diff --git a/build_overrides/v8.gni b/build_overrides/v8.gni |
index b7e653875a19665cb68adf4fa09c82d4d9005e52..eae2e13706f91039f8d0f35a618820e957b36e58 100644 |
--- a/build_overrides/v8.gni |
+++ b/build_overrides/v8.gni |
@@ -9,6 +9,20 @@ if (is_android) { |
import("//build/config/android/config.gni") |
} |
+declare_args() { |
+ # V8 generates code for this architecture. |
Michael Achenbach
2016/05/17 15:15:44
This adds the standalone default from gyp here:
ht
|
+ v8_target_arch = target_cpu |
+} |
+ |
+if (((v8_target_arch == "ia32" || |
Michael Achenbach
2016/05/17 15:15:44
This ports 1:1 the following:
https://code.google.
|
+ v8_target_arch == "x64" || |
+ v8_target_arch=="x87") && |
+ (is_linux || is_mac)) || |
+ (v8_target_arch == "ppc64" && is_linux)) { |
+ v8_enable_gdbjit = true |
+} |
+ |
+v8_imminent_deprecation_warnings = true |
Michael Achenbach
2016/05/17 15:15:44
This ports:
https://code.google.com/p/chromium/cod
|
v8_optimized_debug = false |
v8_extra_library_files = [] |
v8_experimental_extra_library_files = [] |