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

Side by Side Diff: build/config/BUILD.gn

Issue 1839753003: [libfuzzer] tweaking is_ubsan_security options. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: adding define Created 4 years, 8 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/config/sanitizers/BUILD.gn » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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/allocator.gni") 5 import("//build/config/allocator.gni")
6 import("//build/config/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 import("//build/config/chromecast_build.gni") 7 import("//build/config/chromecast_build.gni")
8 import("//build/config/crypto.gni") 8 import("//build/config/crypto.gni")
9 import("//build/config/features.gni") 9 import("//build/config/features.gni")
10 import("//build/config/sanitizers/sanitizers.gni") 10 import("//build/config/sanitizers/sanitizers.gni")
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 if (is_tsan) { 163 if (is_tsan) {
164 defines += [ 164 defines += [
165 "THREAD_SANITIZER", 165 "THREAD_SANITIZER",
166 "DYNAMIC_ANNOTATIONS_EXTERNAL_IMPL=1", 166 "DYNAMIC_ANNOTATIONS_EXTERNAL_IMPL=1",
167 "WTF_USE_DYNAMIC_ANNOTATIONS_NOIMPL=1", 167 "WTF_USE_DYNAMIC_ANNOTATIONS_NOIMPL=1",
168 ] 168 ]
169 } 169 }
170 if (is_msan) { 170 if (is_msan) {
171 defines += [ "MEMORY_SANITIZER" ] 171 defines += [ "MEMORY_SANITIZER" ]
172 } 172 }
173 if (is_ubsan || is_ubsan_vptr) { 173 if (is_ubsan || is_ubsan_vptr || is_ubsan_security) {
174 defines += [ "UNDEFINED_SANITIZER" ] 174 defines += [ "UNDEFINED_SANITIZER" ]
175 } 175 }
176 if (enable_webrtc) { 176 if (enable_webrtc) {
177 defines += [ "ENABLE_WEBRTC=1" ] 177 defines += [ "ENABLE_WEBRTC=1" ]
178 } 178 }
179 if (!enable_nacl) { 179 if (!enable_nacl) {
180 defines += [ "DISABLE_NACL" ] 180 defines += [ "DISABLE_NACL" ]
181 } 181 }
182 if (enable_extensions) { 182 if (enable_extensions) {
183 defines += [ "ENABLE_EXTENSIONS=1" ] 183 defines += [ "ENABLE_EXTENSIONS=1" ]
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 # file doesn't exist, no error will be generated (probably MS tested this 467 # file doesn't exist, no error will be generated (probably MS tested this
468 # case but forgot the other one?). To reproduce this error, do a build, 468 # case but forgot the other one?). To reproduce this error, do a build,
469 # then delete the precompile.c.obj file, then build again. 469 # then delete the precompile.c.obj file, then build again.
470 cflags_c = [ "/wd4206" ] 470 cflags_c = [ "/wd4206" ]
471 } else if (is_mac) { 471 } else if (is_mac) {
472 precompiled_header = "build/precompile.h" 472 precompiled_header = "build/precompile.h"
473 precompiled_source = "//build/precompile.h" 473 precompiled_source = "//build/precompile.h"
474 } 474 }
475 } 475 }
476 } 476 }
OLDNEW
« no previous file with comments | « no previous file | build/config/sanitizers/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698