| 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 2438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2449 # v8_parser_shell can't be built against a shared library, so we | 2449 # v8_parser_shell can't be built against a shared library, so we |
| 2450 # need to depend on the underlying static target in that case. | 2450 # need to depend on the underlying static target in that case. |
| 2451 deps += [ ":v8_maybe_snapshot" ] | 2451 deps += [ ":v8_maybe_snapshot" ] |
| 2452 } else { | 2452 } else { |
| 2453 deps += [ ":v8" ] | 2453 deps += [ ":v8" ] |
| 2454 } | 2454 } |
| 2455 | 2455 |
| 2456 if (v8_enable_i18n_support) { | 2456 if (v8_enable_i18n_support) { |
| 2457 deps += [ "//third_party/icu" ] | 2457 deps += [ "//third_party/icu" ] |
| 2458 } | 2458 } |
| 2459 |
| 2460 if (is_win) { |
| 2461 # Suppress warnings about importing locally defined symbols. |
| 2462 if (is_component_build) { |
| 2463 ldflags = [ |
| 2464 "/ignore:4049", |
| 2465 "/ignore:4217", |
| 2466 ] |
| 2467 } |
| 2468 } |
| 2459 } | 2469 } |
| 2460 | 2470 |
| 2461 if (want_v8_shell) { | 2471 if (want_v8_shell) { |
| 2462 v8_executable("v8_shell") { | 2472 v8_executable("v8_shell") { |
| 2463 sources = [ | 2473 sources = [ |
| 2464 "samples/shell.cc", | 2474 "samples/shell.cc", |
| 2465 ] | 2475 ] |
| 2466 | 2476 |
| 2467 configs = [ | 2477 configs = [ |
| 2468 # Note: don't use :internal_config here because this target will get | 2478 # Note: don't use :internal_config here because this target will get |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2565 | 2575 |
| 2566 deps = [ | 2576 deps = [ |
| 2567 ":fuzzer_support", | 2577 ":fuzzer_support", |
| 2568 ] | 2578 ] |
| 2569 | 2579 |
| 2570 configs = [ ":internal_config" ] | 2580 configs = [ ":internal_config" ] |
| 2571 } | 2581 } |
| 2572 | 2582 |
| 2573 v8_fuzzer("wasm_asmjs_fuzzer") { | 2583 v8_fuzzer("wasm_asmjs_fuzzer") { |
| 2574 } | 2584 } |
| OLD | NEW |