| 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 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 # Embeds the given script into the snapshot. | 35 # Embeds the given script into the snapshot. |
| 36 v8_embed_script = "" | 36 v8_embed_script = "" |
| 37 | 37 |
| 38 # Sets -dENABLE_DISASSEMBLER. | 38 # Sets -dENABLE_DISASSEMBLER. |
| 39 v8_enable_disassembler = "" | 39 v8_enable_disassembler = "" |
| 40 | 40 |
| 41 # Sets -dENABLE_GDB_JIT_INTERFACE. | 41 # Sets -dENABLE_GDB_JIT_INTERFACE. |
| 42 v8_enable_gdbjit = "" | 42 v8_enable_gdbjit = "" |
| 43 | 43 |
| 44 # Sets -dENABLE_VTUNE_JIT_INTERFACE. |
| 45 v8_enable_vtunejit = false |
| 46 |
| 44 # Sets -dENABLE_HANDLE_ZAPPING. | 47 # Sets -dENABLE_HANDLE_ZAPPING. |
| 45 v8_enable_handle_zapping = true | 48 v8_enable_handle_zapping = true |
| 46 | 49 |
| 47 # Enable slow dchecks. | 50 # Enable slow dchecks. |
| 48 v8_enable_slow_dchecks = false | 51 v8_enable_slow_dchecks = false |
| 49 | 52 |
| 50 # Enable code-generation-time checking of types in the CodeStubAssembler. | 53 # Enable code-generation-time checking of types in the CodeStubAssembler. |
| 51 v8_enable_verify_csa = false | 54 v8_enable_verify_csa = false |
| 52 | 55 |
| 53 # Interpreted regexp engine exists as platform-independent alternative | 56 # Interpreted regexp engine exists as platform-independent alternative |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 visibility = [ ":*" ] # Only targets in this file can depend on this. | 193 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 191 | 194 |
| 192 defines = [] | 195 defines = [] |
| 193 | 196 |
| 194 if (v8_enable_disassembler) { | 197 if (v8_enable_disassembler) { |
| 195 defines += [ "ENABLE_DISASSEMBLER" ] | 198 defines += [ "ENABLE_DISASSEMBLER" ] |
| 196 } | 199 } |
| 197 if (v8_enable_gdbjit) { | 200 if (v8_enable_gdbjit) { |
| 198 defines += [ "ENABLE_GDB_JIT_INTERFACE" ] | 201 defines += [ "ENABLE_GDB_JIT_INTERFACE" ] |
| 199 } | 202 } |
| 203 if (v8_enable_vtunejit) { |
| 204 defines += [ "ENABLE_VTUNE_JIT_INTERFACE" ] |
| 205 } |
| 200 if (v8_enable_object_print) { | 206 if (v8_enable_object_print) { |
| 201 defines += [ "OBJECT_PRINT" ] | 207 defines += [ "OBJECT_PRINT" ] |
| 202 } | 208 } |
| 203 if (v8_enable_verify_heap) { | 209 if (v8_enable_verify_heap) { |
| 204 defines += [ "VERIFY_HEAP" ] | 210 defines += [ "VERIFY_HEAP" ] |
| 205 } | 211 } |
| 206 if (v8_enable_verify_predictable) { | 212 if (v8_enable_verify_predictable) { |
| 207 defines += [ "VERIFY_PREDICTABLE" ] | 213 defines += [ "VERIFY_PREDICTABLE" ] |
| 208 } | 214 } |
| 209 if (v8_enable_trace_maps) { | 215 if (v8_enable_trace_maps) { |
| (...skipping 2421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2631 | 2637 |
| 2632 deps = [ | 2638 deps = [ |
| 2633 ":d8_js2c", | 2639 ":d8_js2c", |
| 2634 ":v8", | 2640 ":v8", |
| 2635 ":v8_libbase", | 2641 ":v8_libbase", |
| 2636 ":v8_libplatform", | 2642 ":v8_libplatform", |
| 2637 "//build/config/sanitizers:deps", | 2643 "//build/config/sanitizers:deps", |
| 2638 "//build/win:default_exe_manifest", | 2644 "//build/win:default_exe_manifest", |
| 2639 ] | 2645 ] |
| 2640 | 2646 |
| 2641 # TODO(jochen): Add support for vtunejit. | |
| 2642 | |
| 2643 if (is_posix) { | 2647 if (is_posix) { |
| 2644 sources += [ "src/d8-posix.cc" ] | 2648 sources += [ "src/d8-posix.cc" ] |
| 2645 } else if (is_win) { | 2649 } else if (is_win) { |
| 2646 sources += [ "src/d8-windows.cc" ] | 2650 sources += [ "src/d8-windows.cc" ] |
| 2647 } | 2651 } |
| 2648 | 2652 |
| 2649 if (v8_enable_i18n_support) { | 2653 if (v8_enable_i18n_support) { |
| 2650 deps += [ "//third_party/icu" ] | 2654 deps += [ "//third_party/icu" ] |
| 2651 } | 2655 } |
| 2652 | 2656 |
| 2653 if (v8_correctness_fuzzer) { | 2657 if (v8_correctness_fuzzer) { |
| 2654 deps += [ "tools/foozzie:v8_correctness_fuzzer_resources" ] | 2658 deps += [ "tools/foozzie:v8_correctness_fuzzer_resources" ] |
| 2655 } | 2659 } |
| 2656 | 2660 |
| 2657 defines = [] | 2661 defines = [] |
| 2658 if (v8_enable_inspector) { | 2662 if (v8_enable_inspector) { |
| 2659 defines += [ "V8_INSPECTOR_ENABLED" ] | 2663 defines += [ "V8_INSPECTOR_ENABLED" ] |
| 2660 } | 2664 } |
| 2665 |
| 2666 if (v8_enable_vtunejit) { |
| 2667 deps += [ "//src/third_party/vtune:v8_vtune" ] |
| 2668 } |
| 2661 } | 2669 } |
| 2662 | 2670 |
| 2663 v8_isolate_run("d8") { | 2671 v8_isolate_run("d8") { |
| 2664 deps = [ | 2672 deps = [ |
| 2665 ":d8", | 2673 ":d8", |
| 2666 ] | 2674 ] |
| 2667 | 2675 |
| 2668 isolate = "//src/d8.isolate" | 2676 isolate = "//src/d8.isolate" |
| 2669 } | 2677 } |
| 2670 | 2678 |
| (...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3086 ] | 3094 ] |
| 3087 | 3095 |
| 3088 configs = [ | 3096 configs = [ |
| 3089 ":external_config", | 3097 ":external_config", |
| 3090 ":internal_config_base", | 3098 ":internal_config_base", |
| 3091 ] | 3099 ] |
| 3092 } | 3100 } |
| 3093 | 3101 |
| 3094 v8_fuzzer("wasm_data_section_fuzzer") { | 3102 v8_fuzzer("wasm_data_section_fuzzer") { |
| 3095 } | 3103 } |
| OLD | NEW |