| 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 2595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2606 ":v8_builtins_setup", | 2606 ":v8_builtins_setup", |
| 2607 ":v8_libbase", | 2607 ":v8_libbase", |
| 2608 ":v8_libplatform", | 2608 ":v8_libplatform", |
| 2609 ":v8_nosnapshot", | 2609 ":v8_nosnapshot", |
| 2610 "//build/config/sanitizers:deps", | 2610 "//build/config/sanitizers:deps", |
| 2611 "//build/win:default_exe_manifest", | 2611 "//build/win:default_exe_manifest", |
| 2612 ] | 2612 ] |
| 2613 } | 2613 } |
| 2614 } | 2614 } |
| 2615 | 2615 |
| 2616 v8_executable("mkgrokdump") { |
| 2617 # mkgrokdump is used to create tools/v8heapconst.py. |
| 2618 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 2619 |
| 2620 sources = [ |
| 2621 "tools/mkgrokdump.cc", |
| 2622 ] |
| 2623 |
| 2624 configs = [ |
| 2625 ":external_config", |
| 2626 ":internal_config", |
| 2627 ] |
| 2628 |
| 2629 deps = [ |
| 2630 ":v8", |
| 2631 ":v8_libbase", |
| 2632 ":v8_libplatform", |
| 2633 "//build/config/sanitizers:deps", |
| 2634 "//build/win:default_exe_manifest", |
| 2635 ] |
| 2636 } |
| 2637 |
| 2616 ############################################################################### | 2638 ############################################################################### |
| 2617 # Public targets | 2639 # Public targets |
| 2618 # | 2640 # |
| 2619 | 2641 |
| 2620 want_v8_shell = | 2642 want_v8_shell = |
| 2621 (current_toolchain == host_toolchain && v8_toolset_for_shell == "host") || | 2643 (current_toolchain == host_toolchain && v8_toolset_for_shell == "host") || |
| 2622 (current_toolchain == v8_snapshot_toolchain && | 2644 (current_toolchain == v8_snapshot_toolchain && |
| 2623 v8_toolset_for_shell == "host") || | 2645 v8_toolset_for_shell == "host") || |
| 2624 (current_toolchain != host_toolchain && v8_toolset_for_shell == "target") | 2646 (current_toolchain != host_toolchain && v8_toolset_for_shell == "target") |
| 2625 | 2647 |
| 2626 group("gn_all") { | 2648 group("gn_all") { |
| 2627 testonly = true | 2649 testonly = true |
| 2628 | 2650 |
| 2629 deps = [ | 2651 deps = [ |
| 2630 ":d8", | 2652 ":d8", |
| 2653 ":mkgrokdump", |
| 2631 ":v8_fuzzers", | 2654 ":v8_fuzzers", |
| 2632 ":v8_hello_world", | 2655 ":v8_hello_world", |
| 2633 ":v8_parser_shell", | 2656 ":v8_parser_shell", |
| 2634 ":v8_sample_process", | 2657 ":v8_sample_process", |
| 2635 "test:gn_all", | 2658 "test:gn_all", |
| 2636 "tools:gn_all", | 2659 "tools:gn_all", |
| 2637 ] | 2660 ] |
| 2638 | 2661 |
| 2639 if (want_v8_shell) { | 2662 if (want_v8_shell) { |
| 2640 deps += [ ":v8_shell" ] | 2663 deps += [ ":v8_shell" ] |
| (...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3193 ] | 3216 ] |
| 3194 | 3217 |
| 3195 configs = [ | 3218 configs = [ |
| 3196 ":external_config", | 3219 ":external_config", |
| 3197 ":internal_config_base", | 3220 ":internal_config_base", |
| 3198 ] | 3221 ] |
| 3199 } | 3222 } |
| 3200 | 3223 |
| 3201 v8_fuzzer("wasm_compile_fuzzer") { | 3224 v8_fuzzer("wasm_compile_fuzzer") { |
| 3202 } | 3225 } |
| OLD | NEW |