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

Side by Side Diff: breakpad/BUILD.gn

Issue 1324623005: Move sanitizer and symbol flags out of BUILDCONFIG (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 | « base/third_party/dynamic_annotations/BUILD.gn ('k') | build/config/BUILDCONFIG.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 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("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 config("tools_config") { 7 config("tools_config") {
8 include_dirs = [ 8 include_dirs = [
9 "src", 9 "src",
10 "src/third_party", 10 "src/third_party",
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 configs -= [ "//build/config/compiler:no_rtti" ] 255 configs -= [ "//build/config/compiler:no_rtti" ]
256 configs += [ "//build/config/compiler:rtti" ] 256 configs += [ "//build/config/compiler:rtti" ]
257 257
258 libs = [ "Foundation.framework" ] 258 libs = [ "Foundation.framework" ]
259 259
260 if (!is_debug) { 260 if (!is_debug) {
261 # dump_syms crashes when built at -O1, -O2, and -O3. It does 261 # dump_syms crashes when built at -O1, -O2, and -O3. It does
262 # not crash at -Os. To play it safe, dump_syms is always built 262 # not crash at -Os. To play it safe, dump_syms is always built
263 # at -O0 until this can be sorted out. 263 # at -O0 until this can be sorted out.
264 # http://code.google.com/p/google-breakpad/issues/detail?id=329 264 # http://code.google.com/p/google-breakpad/issues/detail?id=329
265 configs -= [ "//build/config/compiler:optimize" ] 265 configs -= [ "//build/config/compiler:default_optimization" ]
266 cflags += [ "-O0" ] 266 cflags += [ "-O0" ]
267 } 267 }
268 268
269 deps = [ 269 deps = [
270 "//build/config/sanitizers:deps", 270 "//build/config/sanitizers:deps",
271 ] 271 ]
272 } 272 }
273 273
274 executable("symupload") { 274 executable("symupload") {
275 sources = [ 275 sources = [
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 sources = [ 811 sources = [
812 "src/client/windows/sender/crash_report_sender.cc", 812 "src/client/windows/sender/crash_report_sender.cc",
813 "src/client/windows/sender/crash_report_sender.h", 813 "src/client/windows/sender/crash_report_sender.h",
814 "src/common/windows/http_upload.cc", 814 "src/common/windows/http_upload.cc",
815 "src/common/windows/http_upload.h", 815 "src/common/windows/http_upload.h",
816 ] 816 ]
817 configs += [ ":sender_config" ] 817 configs += [ ":sender_config" ]
818 public_configs = [ ":sender_config" ] 818 public_configs = [ ":sender_config" ]
819 } 819 }
820 } 820 }
OLDNEW
« no previous file with comments | « base/third_party/dynamic_annotations/BUILD.gn ('k') | build/config/BUILDCONFIG.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698