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

Side by Side Diff: breakpad/BUILD.gn

Issue 343743003: Fix breakpad warnings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « BUILD.gn ('k') | 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 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 config("tools_config") { 5 config("tools_config") {
6 include_dirs = [ "src", "src/third_party" ] 6 include_dirs = [ "src", "src/third_party" ]
7 if (is_android) { 7 if (is_android) {
8 defines = [ "__ANDROID__" ] 8 defines = [ "__ANDROID__" ]
9 } 9 }
10 if (is_clang) { 10 if (is_clang) {
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 "src/common/linux/guid_creator.h", 336 "src/common/linux/guid_creator.h",
337 "src/common/module.cc", 337 "src/common/module.cc",
338 "src/common/module.h", 338 "src/common/module.h",
339 "src/common/stabs_reader.cc", 339 "src/common/stabs_reader.cc",
340 "src/common/stabs_reader.h", 340 "src/common/stabs_reader.h",
341 "src/common/stabs_to_module.cc", 341 "src/common/stabs_to_module.cc",
342 "src/common/stabs_to_module.h", 342 "src/common/stabs_to_module.h",
343 "src/tools/linux/dump_syms/dump_syms.cc", 343 "src/tools/linux/dump_syms/dump_syms.cc",
344 ] 344 ]
345 345
346 # There are some warnings in this code.
347 configs -= [ "//build/config/compiler:chromium_code" ]
348 configs += [ "//build/config/compiler:no_chromium_code" ]
349
346 # dwarf2reader.cc uses dynamic_cast. Because we don't typically 350 # dwarf2reader.cc uses dynamic_cast. Because we don't typically
347 # don't support RTTI, we enable it for this single target. Since 351 # don't support RTTI, we enable it for this single target. Since
348 # dump_syms doesn't share any object files with anything else, 352 # dump_syms doesn't share any object files with anything else,
349 # this doesn't end up polluting Chrome itself. 353 # this doesn't end up polluting Chrome itself.
350 configs -= [ "//build/config/compiler:no_rtti" ] 354 configs -= [ "//build/config/compiler:no_rtti" ]
351 configs += [ "//build/config/compiler:rtti" ] 355 configs += [ "//build/config/compiler:rtti" ]
352 356
353 # Breakpad rev 583 introduced this flag. 357 # Breakpad rev 583 introduced this flag.
354 # Using this define, stabs_reader.h will include a.out.h to 358 # Using this define, stabs_reader.h will include a.out.h to
355 # build on Linux. 359 # build on Linux.
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 634
631 include_dirs = [ 635 include_dirs = [
632 "src", 636 "src",
633 "src/client/mac/Framework", 637 "src/client/mac/Framework",
634 "src/common/mac", 638 "src/common/mac",
635 ] 639 ]
636 } 640 }
637 641
638 # TODO(GYP) There is some XCode-only targets like ninja-breakpad. 642 # TODO(GYP) There is some XCode-only targets like ninja-breakpad.
639 } 643 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698