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

Side by Side Diff: webrtc/call/BUILD.gn

Issue 2408133008: GN: Exclude suppressions of Chromium Clang warnings for Chromium builds. (Closed)
Patch Set: Created 4 years, 2 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 | « webrtc/base/BUILD.gn ('k') | webrtc/common_audio/BUILD.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 (c) 2015 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("../build/webrtc.gni") 9 import("../build/webrtc.gni")
10 10
11 rtc_static_library("call") { 11 rtc_static_library("call") {
12 sources = [ 12 sources = [
13 "bitrate_allocator.cc", 13 "bitrate_allocator.cc",
14 "call.cc", 14 "call.cc",
15 "transport_adapter.cc", 15 "transport_adapter.cc",
16 "transport_adapter.h", 16 "transport_adapter.h",
17 ] 17 ]
18 18
19 if (is_clang) { 19 if (!build_with_chromium && is_clang) {
20 # Suppress warnings from Chrome's Clang plugins. 20 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
21 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
22 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 21 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
23 } 22 }
24 23
25 deps = [ 24 deps = [
26 "..:webrtc_common", 25 "..:webrtc_common",
27 "../api:call_api", 26 "../api:call_api",
28 "../audio", 27 "../audio",
29 "../base:rtc_task_queue", 28 "../base:rtc_task_queue",
30 "../logging:rtc_event_log_impl", 29 "../logging:rtc_event_log_impl",
31 "../modules/congestion_controller", 30 "../modules/congestion_controller",
(...skipping 10 matching lines...) Expand all
42 "bitrate_allocator_unittest.cc", 41 "bitrate_allocator_unittest.cc",
43 "bitrate_estimator_tests.cc", 42 "bitrate_estimator_tests.cc",
44 "call_unittest.cc", 43 "call_unittest.cc",
45 "packet_injection_tests.cc", 44 "packet_injection_tests.cc",
46 ] 45 ]
47 deps = [ 46 deps = [
48 ":call", 47 ":call",
49 "//testing/gmock", 48 "//testing/gmock",
50 "//testing/gtest", 49 "//testing/gtest",
51 ] 50 ]
52 if (is_clang) { 51 if (!build_with_chromium && is_clang) {
53 # Suppress warnings from the Chromium Clang plugin. 52 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
54 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
55 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 53 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
56 } 54 }
57 } 55 }
58 } 56 }
OLDNEW
« no previous file with comments | « webrtc/base/BUILD.gn ('k') | webrtc/common_audio/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698