OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |