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

Side by Side Diff: breakpad/breakpad.gyp

Issue 437543007: Refactor how clang warning flags are set. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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 | breakpad/breakpad_tools.gypi » ('j') | build/set_clang_warning_flags.gypi » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'includes': [ 6 'includes': [
7 'breakpad_sender.gypi', 7 'breakpad_sender.gypi',
8 'breakpad_handler.gypi', 8 'breakpad_handler.gypi',
9 ], 9 ],
10 'conditions': [ 10 'conditions': [
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
573 'target_name': 'breakpad_unittests', 573 'target_name': 'breakpad_unittests',
574 'type': 'executable', 574 'type': 'executable',
575 'dependencies': [ 575 'dependencies': [
576 '../testing/gtest.gyp:gtest', 576 '../testing/gtest.gyp:gtest',
577 '../testing/gtest.gyp:gtest_main', 577 '../testing/gtest.gyp:gtest_main',
578 '../testing/gmock.gyp:gmock', 578 '../testing/gmock.gyp:gmock',
579 'breakpad_client', 579 'breakpad_client',
580 'breakpad_processor_support', 580 'breakpad_processor_support',
581 'linux_dumper_unittest_helper', 581 'linux_dumper_unittest_helper',
582 ], 582 ],
583 'variables': {
584 'clang_warning_flags': [
585 # See http://crbug.com/138571#c18
586 '-Wno-unused-value',
587 ],
588 },
583 589
584 'sources': [ 590 'sources': [
585 'linux/breakpad_googletest_includes.h', 591 'linux/breakpad_googletest_includes.h',
586 'src/client/linux/handler/exception_handler_unittest.cc', 592 'src/client/linux/handler/exception_handler_unittest.cc',
587 'src/client/linux/minidump_writer/cpu_set_unittest.cc', 593 'src/client/linux/minidump_writer/cpu_set_unittest.cc',
588 'src/client/linux/minidump_writer/directory_reader_unittest.cc', 594 'src/client/linux/minidump_writer/directory_reader_unittest.cc',
589 'src/client/linux/minidump_writer/line_reader_unittest.cc', 595 'src/client/linux/minidump_writer/line_reader_unittest.cc',
590 'src/client/linux/minidump_writer/linux_core_dumper_unittest.cc', 596 'src/client/linux/minidump_writer/linux_core_dumper_unittest.cc',
591 'src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc', 597 'src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc',
592 'src/client/linux/minidump_writer/minidump_writer_unittest.cc', 598 'src/client/linux/minidump_writer/minidump_writer_unittest.cc',
(...skipping 16 matching lines...) Expand all
609 'src/tools/linux/md2core/minidump_memory_range_unittest.cc', 615 'src/tools/linux/md2core/minidump_memory_range_unittest.cc',
610 ], 616 ],
611 617
612 'include_dirs': [ 618 'include_dirs': [
613 'linux', # Use our copy of breakpad_googletest_includes.h 619 'linux', # Use our copy of breakpad_googletest_includes.h
614 'src', 620 'src',
615 '..', 621 '..',
616 '.', 622 '.',
617 ], 623 ],
618 'conditions': [ 624 'conditions': [
619 [ 'clang == 1', {
620 'cflags': [
621 # See http://crbug.com/138571#c18
622 '-Wno-unused-value',
623 ],
624 }],
625 ['OS=="android"', { 625 ['OS=="android"', {
626 'libraries': [ 626 'libraries': [
627 '-llog', 627 '-llog',
628 ], 628 ],
629 'include_dirs': [ 629 'include_dirs': [
630 'src/common/android/include', 630 'src/common/android/include',
631 ], 631 ],
632 'sources': [ 632 'sources': [
633 'src/common/android/breakpad_getcontext_unittest.cc', 633 'src/common/android/breakpad_getcontext_unittest.cc',
634 ], 634 ],
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
885 'action_name': 'strip breakpad_unittests', 885 'action_name': 'strip breakpad_unittests',
886 'inputs': [ '<(PRODUCT_DIR)/breakpad_unittests' ], 886 'inputs': [ '<(PRODUCT_DIR)/breakpad_unittests' ],
887 'outputs': [ '<(PRODUCT_DIR)/breakpad_unittests_stripped' ], 887 'outputs': [ '<(PRODUCT_DIR)/breakpad_unittests_stripped' ],
888 'action': [ '<(android_strip)', '<@(_inputs)', '-o', '<@(_outputs)' ], 888 'action': [ '<(android_strip)', '<@(_inputs)', '-o', '<@(_outputs)' ],
889 }], 889 }],
890 } 890 }
891 ], 891 ],
892 }], 892 }],
893 ], 893 ],
894 } 894 }
OLDNEW
« no previous file with comments | « no previous file | breakpad/breakpad_tools.gypi » ('j') | build/set_clang_warning_flags.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698