| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
| 6 import("//build/config/arm.gni") | 6 import("//build/config/arm.gni") |
| 7 import("//build/config/dcheck_always_on.gni") | 7 import("//build/config/dcheck_always_on.gni") |
| 8 import("//build/config/mips.gni") | 8 import("//build/config/mips.gni") |
| 9 import("//build/config/sanitizers/sanitizers.gni") | 9 import("//build/config/sanitizers/sanitizers.gni") |
| 10 | 10 |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 if (v8_target_cpu == "x64") { | 284 if (v8_target_cpu == "x64") { |
| 285 defines += [ "V8_TARGET_ARCH_X64" ] | 285 defines += [ "V8_TARGET_ARCH_X64" ] |
| 286 if (is_win) { | 286 if (is_win) { |
| 287 # Increase the initial stack size. The default is 1MB, this is 2MB. This | 287 # Increase the initial stack size. The default is 1MB, this is 2MB. This |
| 288 # applies only to executables and shared libraries produced by V8 since | 288 # applies only to executables and shared libraries produced by V8 since |
| 289 # ldflags are not pushed to dependants. | 289 # ldflags are not pushed to dependants. |
| 290 ldflags += [ "/STACK:2097152" ] | 290 ldflags += [ "/STACK:2097152" ] |
| 291 } | 291 } |
| 292 } | 292 } |
| 293 | 293 |
| 294 if (is_mac) { |
| 295 cflags += [ "-fstrict-aliasing" ] |
| 296 } |
| 297 |
| 294 # TODO(jochen): Support v8_enable_prof on Windows. | 298 # TODO(jochen): Support v8_enable_prof on Windows. |
| 295 # TODO(jochen): Add support for compiling with simulators. | 299 # TODO(jochen): Add support for compiling with simulators. |
| 296 | 300 |
| 297 if (is_debug) { | 301 if (is_debug) { |
| 298 if (is_linux && v8_enable_backtrace) { | 302 if (is_linux && v8_enable_backtrace) { |
| 299 ldflags += [ "-rdynamic" ] | 303 ldflags += [ "-rdynamic" ] |
| 300 } | 304 } |
| 301 | 305 |
| 302 # TODO(jochen): Add support for different debug optimization levels. | 306 # TODO(jochen): Add support for different debug optimization levels. |
| 303 defines += [ | 307 defines += [ |
| (...skipping 2095 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2399 | 2403 |
| 2400 deps = [ | 2404 deps = [ |
| 2401 ":fuzzer_support", | 2405 ":fuzzer_support", |
| 2402 ] | 2406 ] |
| 2403 | 2407 |
| 2404 configs = [ ":internal_config" ] | 2408 configs = [ ":internal_config" ] |
| 2405 } | 2409 } |
| 2406 | 2410 |
| 2407 v8_fuzzer("wasm_asmjs_fuzzer") { | 2411 v8_fuzzer("wasm_asmjs_fuzzer") { |
| 2408 } | 2412 } |
| OLD | NEW |