Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Side by Side Diff: BUILD.gn

Issue 2652263003: Remove build_overrides/v8.gni. (Closed)
Patch Set: Remove file Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | build_overrides/v8.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 12 matching lines...) Expand all
23 # Sets -DVERIFY_HEAP. 23 # Sets -DVERIFY_HEAP.
24 v8_enable_verify_heap = "" 24 v8_enable_verify_heap = ""
25 25
26 # Sets -DVERIFY_PREDICTABLE 26 # Sets -DVERIFY_PREDICTABLE
27 v8_enable_verify_predictable = false 27 v8_enable_verify_predictable = false
28 28
29 # Enable compiler warnings when using V8_DEPRECATED apis. 29 # Enable compiler warnings when using V8_DEPRECATED apis.
30 v8_deprecation_warnings = false 30 v8_deprecation_warnings = false
31 31
32 # Enable compiler warnings when using V8_DEPRECATE_SOON apis. 32 # Enable compiler warnings when using V8_DEPRECATE_SOON apis.
33 # 33 v8_imminent_deprecation_warnings = false
34 # TODO(brettw) http://crbug.com/684096 Remove the define condition and the
35 # v8_imminent_deprecation_warnings_default variable when the build_override
36 # conversion is complete. This value should just default to true.
37 if (defined(v8_imminent_deprecation_warnings_default)) {
38 v8_imminent_deprecation_warnings = v8_imminent_deprecation_warnings_default
39 } else {
40 v8_imminent_deprecation_warnings = false
41 }
42 34
43 # Embeds the given script into the snapshot. 35 # Embeds the given script into the snapshot.
44 v8_embed_script = "" 36 v8_embed_script = ""
45 37
46 # Sets -dENABLE_DISASSEMBLER. 38 # Sets -dENABLE_DISASSEMBLER.
47 v8_enable_disassembler = "" 39 v8_enable_disassembler = ""
48 40
49 # Sets -dENABLE_GDB_JIT_INTERFACE. 41 # Sets -dENABLE_GDB_JIT_INTERFACE.
50 v8_enable_gdbjit = "" 42 v8_enable_gdbjit = ""
51 43
(...skipping 30 matching lines...) Expand all
82 # Similar to vfp but on MIPS. 74 # Similar to vfp but on MIPS.
83 v8_can_use_fpu_instructions = true 75 v8_can_use_fpu_instructions = true
84 76
85 # Similar to the ARM hard float ABI but on MIPS. 77 # Similar to the ARM hard float ABI but on MIPS.
86 v8_use_mips_abi_hardfloat = true 78 v8_use_mips_abi_hardfloat = true
87 79
88 # List of extra files to snapshot. They will be snapshotted in order so 80 # List of extra files to snapshot. They will be snapshotted in order so
89 # if files export symbols used by later files, they should go first. 81 # if files export symbols used by later files, they should go first.
90 # 82 #
91 # This default is used by cctests. Projects using V8 will want to override. 83 # This default is used by cctests. Projects using V8 will want to override.
92 # 84 v8_extra_library_files = [ "//test/cctest/test-extra.js" ]
93 # TODO(brettw) http://crbug.com/684096 Remove the define condition when the
94 # build_override conversion is complete.
95 if (!defined(v8_extra_library_files)) {
96 v8_extra_library_files = [ "//test/cctest/test-extra.js" ]
97 }
98 85
99 # Like v8_extra_library_files but for experimental features. 86 # Like v8_extra_library_files but for experimental features.
100 # 87 #
101 # This default is used by cctests. Projects using V8 will want to override. 88 # This default is used by cctests. Projects using V8 will want to override.
102 # 89 v8_experimental_extra_library_files =
103 # TODO(brettw) http://crbug.com/684096 Remove the define condition when the 90 [ "//test/cctest/test-experimental-extra.js" ]
104 # build_override conversion is complete.
105 if (!defined(v8_experimental_extra_library_files)) {
106 v8_experimental_extra_library_files =
107 [ "//test/cctest/test-experimental-extra.js" ]
108 }
109 91
110 if (defined(v8_enable_gdbjit_default)) { 92 v8_enable_gdbjit = ((v8_current_cpu == "x86" || v8_current_cpu == "x64" ||
111 v8_enable_gdbjit = v8_enable_gdbjit_default 93 v8_current_cpu == "x87") && (is_linux || is_mac)) ||
112 } else { 94 (v8_current_cpu == "ppc64" && is_linux)
113 v8_enable_gdbjit = ((v8_current_cpu == "x86" || v8_current_cpu == "x64" ||
114 v8_current_cpu == "x87") && (is_linux || is_mac)) ||
115 (v8_current_cpu == "ppc64" && is_linux)
116 }
117 } 95 }
118 96
119 # Derived defaults. 97 # Derived defaults.
120 if (v8_enable_verify_heap == "") { 98 if (v8_enable_verify_heap == "") {
121 v8_enable_verify_heap = is_debug 99 v8_enable_verify_heap = is_debug
122 } 100 }
123 if (v8_enable_object_print == "") { 101 if (v8_enable_object_print == "") {
124 v8_enable_object_print = is_debug 102 v8_enable_object_print = is_debug
125 } 103 }
126 if (v8_enable_disassembler == "") { 104 if (v8_enable_disassembler == "") {
(...skipping 2958 matching lines...) Expand 10 before | Expand all | Expand 10 after
3085 ] 3063 ]
3086 3064
3087 configs = [ 3065 configs = [
3088 ":external_config", 3066 ":external_config",
3089 ":internal_config_base", 3067 ":internal_config_base",
3090 ] 3068 ]
3091 } 3069 }
3092 3070
3093 v8_fuzzer("wasm_data_section_fuzzer") { 3071 v8_fuzzer("wasm_data_section_fuzzer") {
3094 } 3072 }
OLDNEW
« no previous file with comments | « no previous file | build_overrides/v8.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698