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

Side by Side Diff: webrtc/video/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/tools/BUILD.gn ('k') | webrtc/voice_engine/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) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 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
(...skipping 30 matching lines...) Expand all
41 "video_send_stream.cc", 41 "video_send_stream.cc",
42 "video_send_stream.h", 42 "video_send_stream.h",
43 "video_stream_decoder.cc", 43 "video_stream_decoder.cc",
44 "video_stream_decoder.h", 44 "video_stream_decoder.h",
45 "vie_encoder.cc", 45 "vie_encoder.cc",
46 "vie_encoder.h", 46 "vie_encoder.h",
47 "vie_remb.cc", 47 "vie_remb.cc",
48 "vie_remb.h", 48 "vie_remb.h",
49 ] 49 ]
50 50
51 if (is_clang) { 51 if (!build_with_chromium && is_clang) {
52 # Suppress warnings from Chrome's Clang plugins. 52 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
53 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
54 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 53 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
55 } 54 }
56 55
57 deps = [ 56 deps = [
58 "..:webrtc_common", 57 "..:webrtc_common",
59 "../base:rtc_base_approved", 58 "../base:rtc_base_approved",
60 "../base:rtc_task_queue", 59 "../base:rtc_task_queue",
61 "../common_video", 60 "../common_video",
62 "../logging:rtc_event_log_api", 61 "../logging:rtc_event_log_api",
63 "../modules/bitrate_controller", 62 "../modules/bitrate_controller",
(...skipping 28 matching lines...) Expand all
92 "video_encoder_unittest.cc", 91 "video_encoder_unittest.cc",
93 "video_send_stream_tests.cc", 92 "video_send_stream_tests.cc",
94 "vie_encoder_unittest.cc", 93 "vie_encoder_unittest.cc",
95 "vie_remb_unittest.cc", 94 "vie_remb_unittest.cc",
96 ] 95 ]
97 deps = [ 96 deps = [
98 ":video", 97 ":video",
99 "//testing/gmock", 98 "//testing/gmock",
100 "//testing/gtest", 99 "//testing/gtest",
101 ] 100 ]
102 if (is_clang) { 101 if (!build_with_chromium && is_clang) {
103 # Suppress warnings from the Chromium Clang plugin. 102 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
104 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
105 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 103 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
106 } 104 }
107 } 105 }
108 } 106 }
OLDNEW
« no previous file with comments | « webrtc/tools/BUILD.gn ('k') | webrtc/voice_engine/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698