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

Side by Side Diff: BUILD.gn

Issue 2621033002: Revert of [build] Introduce an embedder version string (Closed)
Patch Set: 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 | gypfiles/features.gypi » ('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 11 matching lines...) Expand all
22 22
23 # Sets -DVERIFY_HEAP. 23 # Sets -DVERIFY_HEAP.
24 v8_enable_verify_heap = false 24 v8_enable_verify_heap = false
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 # Allow the embedder to add a custom suffix to the version string.
33 v8_embedder_string = ""
34
35 # Enable compiler warnings when using V8_DEPRECATE_SOON apis. 32 # Enable compiler warnings when using V8_DEPRECATE_SOON apis.
36 v8_imminent_deprecation_warnings = "" 33 v8_imminent_deprecation_warnings = ""
37 34
38 # Embeds the given script into the snapshot. 35 # Embeds the given script into the snapshot.
39 v8_embed_script = "" 36 v8_embed_script = ""
40 37
41 # Sets -dENABLE_DISASSEMBLER. 38 # Sets -dENABLE_DISASSEMBLER.
42 v8_enable_disassembler = "" 39 v8_enable_disassembler = ""
43 40
44 # Sets -dENABLE_GDB_JIT_INTERFACE. 41 # Sets -dENABLE_GDB_JIT_INTERFACE.
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 if (v8_use_external_startup_data) { 167 if (v8_use_external_startup_data) {
171 defines = [ "V8_USE_EXTERNAL_STARTUP_DATA" ] 168 defines = [ "V8_USE_EXTERNAL_STARTUP_DATA" ]
172 } 169 }
173 } 170 }
174 171
175 config("features") { 172 config("features") {
176 visibility = [ ":*" ] # Only targets in this file can depend on this. 173 visibility = [ ":*" ] # Only targets in this file can depend on this.
177 174
178 defines = [] 175 defines = []
179 176
180 if (v8_embedder_string != "") {
181 defines += [ "V8_EMBEDDER_STRING=\"$v8_embedder_string\"" ]
182 }
183
184 if (v8_enable_disassembler) { 177 if (v8_enable_disassembler) {
185 defines += [ "ENABLE_DISASSEMBLER" ] 178 defines += [ "ENABLE_DISASSEMBLER" ]
186 } 179 }
187 if (v8_enable_gdbjit) { 180 if (v8_enable_gdbjit) {
188 defines += [ "ENABLE_GDB_JIT_INTERFACE" ] 181 defines += [ "ENABLE_GDB_JIT_INTERFACE" ]
189 } 182 }
190 if (v8_object_print) { 183 if (v8_object_print) {
191 defines += [ "OBJECT_PRINT" ] 184 defines += [ "OBJECT_PRINT" ]
192 } 185 }
193 if (v8_enable_verify_heap) { 186 if (v8_enable_verify_heap) {
(...skipping 2825 matching lines...) Expand 10 before | Expand all | Expand 10 after
3019 ] 3012 ]
3020 3013
3021 configs = [ 3014 configs = [
3022 ":external_config", 3015 ":external_config",
3023 ":internal_config_base", 3016 ":internal_config_base",
3024 ] 3017 ]
3025 } 3018 }
3026 3019
3027 v8_fuzzer("wasm_data_section_fuzzer") { 3020 v8_fuzzer("wasm_data_section_fuzzer") {
3028 } 3021 }
OLDNEW
« no previous file with comments | « no previous file | gypfiles/features.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698