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

Side by Side Diff: BUILD.gn

Issue 2650273006: Make enabling of CSA verifier a build-time flag (Closed)
Patch Set: Fix tests 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 | Makefile » ('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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 # Sets -dENABLE_GDB_JIT_INTERFACE. 49 # Sets -dENABLE_GDB_JIT_INTERFACE.
50 v8_enable_gdbjit = "" 50 v8_enable_gdbjit = ""
51 51
52 # Sets -dENABLE_HANDLE_ZAPPING. 52 # Sets -dENABLE_HANDLE_ZAPPING.
53 v8_enable_handle_zapping = true 53 v8_enable_handle_zapping = true
54 54
55 # Enable slow dchecks. 55 # Enable slow dchecks.
56 v8_enable_slow_dchecks = false 56 v8_enable_slow_dchecks = false
57 57
58 # Enable code-generation-time checking of types in the CodeStubAssembler.
59 v8_enable_verify_csa = false
60
58 # Interpreted regexp engine exists as platform-independent alternative 61 # Interpreted regexp engine exists as platform-independent alternative
59 # based where the regular expression is compiled to a bytecode. 62 # based where the regular expression is compiled to a bytecode.
60 v8_interpreted_regexp = false 63 v8_interpreted_regexp = false
61 64
62 # Sets -dOBJECT_PRINT. 65 # Sets -dOBJECT_PRINT.
63 v8_enable_object_print = "" 66 v8_enable_object_print = ""
64 67
65 # Sets -dTRACE_MAPS. 68 # Sets -dTRACE_MAPS.
66 v8_enable_trace_maps = "" 69 v8_enable_trace_maps = ""
67 70
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 } 398 }
396 399
397 defines += [ "DEBUG" ] 400 defines += [ "DEBUG" ]
398 if (v8_enable_slow_dchecks) { 401 if (v8_enable_slow_dchecks) {
399 defines += [ "ENABLE_SLOW_DCHECKS" ] 402 defines += [ "ENABLE_SLOW_DCHECKS" ]
400 } 403 }
401 } else if (dcheck_always_on) { 404 } else if (dcheck_always_on) {
402 defines += [ "DEBUG" ] 405 defines += [ "DEBUG" ]
403 } 406 }
404 407
408 if (v8_enable_verify_csa) {
409 defines += [ "ENABLE_VERIFY_CSA" ]
410 }
411
405 if (v8_no_inline) { 412 if (v8_no_inline) {
406 cflags += [ 413 cflags += [
407 "-fno-inline-functions", 414 "-fno-inline-functions",
408 "-fno-inline", 415 "-fno-inline",
409 ] 416 ]
410 } 417 }
411 418
412 if (is_clang) { 419 if (is_clang) {
413 cflags += [ 420 cflags += [
414 "-Wsign-compare", 421 "-Wsign-compare",
(...skipping 2670 matching lines...) Expand 10 before | Expand all | Expand 10 after
3085 ] 3092 ]
3086 3093
3087 configs = [ 3094 configs = [
3088 ":external_config", 3095 ":external_config",
3089 ":internal_config_base", 3096 ":internal_config_base",
3090 ] 3097 ]
3091 } 3098 }
3092 3099
3093 v8_fuzzer("wasm_data_section_fuzzer") { 3100 v8_fuzzer("wasm_data_section_fuzzer") {
3094 } 3101 }
OLDNEW
« no previous file with comments | « no previous file | Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698