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

Side by Side Diff: breakpad/BUILD.gn

Issue 402683003: Fix most GN clang errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « no previous file | media/audio/pulse/audio_manager_pulse.cc » ('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 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 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 "src/common/linux/memory_mapped_file.h", 413 "src/common/linux/memory_mapped_file.h",
414 "src/common/linux/safe_readlink.cc", 414 "src/common/linux/safe_readlink.cc",
415 "src/common/linux/safe_readlink.h", 415 "src/common/linux/safe_readlink.h",
416 "src/common/memory.h", 416 "src/common/memory.h",
417 "src/common/simple_string_dictionary.cc", 417 "src/common/simple_string_dictionary.cc",
418 "src/common/simple_string_dictionary.h", 418 "src/common/simple_string_dictionary.h",
419 "src/common/string_conversion.cc", 419 "src/common/string_conversion.cc",
420 "src/common/string_conversion.h", 420 "src/common/string_conversion.h",
421 ] 421 ]
422 422
423 configs -= [ "//build/config/compiler:chromium_code" ]
DaleCurtis 2014/07/17 18:29:49 These names aren't very helpful, something like st
brettw 2014/07/17 19:42:42 I just emulated gyp's "chromium_code: 1" since it'
424 configs += [ "//build/config/compiler:no_chromium_code" ]
423 direct_dependent_configs = [ ":breakpad_client_config" ] 425 direct_dependent_configs = [ ":breakpad_client_config" ]
424 426
425 # Android NDK toolchain doesn't support -mimplicit-it=always 427 # Android NDK toolchain doesn't support -mimplicit-it=always
426 if (cpu_arch == "arm" && !is_android) { 428 if (cpu_arch == "arm" && !is_android) {
427 cflags = [ "-Wa,-mimplicit-it=always" ] 429 cflags = [ "-Wa,-mimplicit-it=always" ]
428 } 430 }
429 if (cpu_arch == "arm" && is_chromeos) { 431 if (cpu_arch == "arm" && is_chromeos) {
430 # Avoid running out of registers in 432 # Avoid running out of registers in
431 # linux_syscall_support.h:sys_clone()'s inline assembly. 433 # linux_syscall_support.h:sys_clone()'s inline assembly.
432 cflags = [ "-marm" ] 434 cflags = [ "-marm" ]
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 } 546 }
545 } 547 }
546 548
547 549
548 executable("generate_test_dump") { 550 executable("generate_test_dump") {
549 sources = [ 551 sources = [
550 "linux/generate-test-dump.cc", 552 "linux/generate-test-dump.cc",
551 ] 553 ]
552 554
553 # This file has an unused variable warning. 555 # This file has an unused variable warning.
554 cflags = [ "-Wno-unused-variable" ] 556 configs -= [ "//build/config/compiler:chromium_code" ]
557 configs += [ "//build/config/compiler:no_chromium_code" ]
555 558
556 deps = [ ":breakpad_client" ] 559 deps = [ ":breakpad_client" ]
557 560
558 include_dirs = [ "src" ] 561 include_dirs = [ "src" ]
559 562
560 if (is_android) { 563 if (is_android) {
561 libs = [ "log" ] 564 libs = [ "log" ]
562 include_dirs += [ "src/common/android/include" ] 565 include_dirs += [ "src/common/android/include" ]
563 } 566 }
564 } 567 }
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 637
635 include_dirs = [ 638 include_dirs = [
636 "src", 639 "src",
637 "src/client/mac/Framework", 640 "src/client/mac/Framework",
638 "src/common/mac", 641 "src/common/mac",
639 ] 642 ]
640 } 643 }
641 644
642 # TODO(GYP) There is some XCode-only targets like ninja-breakpad. 645 # TODO(GYP) There is some XCode-only targets like ninja-breakpad.
643 } 646 }
OLDNEW
« no previous file with comments | « no previous file | media/audio/pulse/audio_manager_pulse.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698