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

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

Issue 1330523002: Add ubsan bug reference to GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | no next file » | 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/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 if (current_cpu == "arm") { 7 if (current_cpu == "arm") {
8 import("//build/config/arm.gni") 8 import("//build/config/arm.gni")
9 } 9 }
10 if (current_cpu == "mipsel" || current_cpu == "mips64el") { 10 if (current_cpu == "mipsel" || current_cpu == "mips64el") {
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 # This is a separate config so that third_party code (which would not use the 77 # This is a separate config so that third_party code (which would not use the
78 # source root and might have conflicting versions of some headers) can remove 78 # source root and might have conflicting versions of some headers) can remove
79 # this and specify their own include paths. 79 # this and specify their own include paths.
80 config("default_include_dirs") { 80 config("default_include_dirs") {
81 include_dirs = [ 81 include_dirs = [
82 "//", 82 "//",
83 root_gen_dir, 83 root_gen_dir,
84 ] 84 ]
85 } 85 }
86 86
87 # TODO(GYP): is_ubsan, is_ubsan_vptr 87 # TODO(GYP) bug 527515: is_ubsan, is_ubsan_vptr
88 if (!is_win) { 88 if (!is_win) {
89 using_sanitizer = is_asan || is_lsan || is_tsan || is_msan 89 using_sanitizer = is_asan || is_lsan || is_tsan || is_msan
90 } 90 }
91 91
92 # compiler --------------------------------------------------------------------- 92 # compiler ---------------------------------------------------------------------
93 # 93 #
94 # Base compiler configuration. 94 # Base compiler configuration.
95 # 95 #
96 # See also "runtime_library" below for related stuff and a discussion about 96 # See also "runtime_library" below for related stuff and a discussion about
97 # where stuff should go. Put warning related stuff in the "warnings" config. 97 # where stuff should go. Put warning related stuff in the "warnings" config.
(...skipping 1244 matching lines...) Expand 10 before | Expand all | Expand 10 after
1342 cflags += [ "-gsplit-dwarf" ] 1342 cflags += [ "-gsplit-dwarf" ]
1343 } 1343 }
1344 } 1344 }
1345 } 1345 }
1346 1346
1347 config("no_symbols") { 1347 config("no_symbols") {
1348 if (!is_win) { 1348 if (!is_win) {
1349 cflags = [ "-g0" ] 1349 cflags = [ "-g0" ]
1350 } 1350 }
1351 } 1351 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698