blob: 2d69127783d8680523bf365f4745ba4fa63370d7 [file] [log] [blame]
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +02001# Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
2#
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
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
ehmaldonado38a21322016-09-02 04:10:34 -07009import("../build/webrtc.gni")
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +020010if (is_android) {
11 import("//build/config/android/config.gni")
12 import("//build/config/android/rules.gni")
tkchin2ddfdba2016-08-07 21:37:45 -070013} else if (is_mac) {
14 import("//build/config/mac/rules.gni")
15} else if (is_ios) {
16 import("//build/config/ios/rules.gni")
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +020017}
kthelgason0727f152016-08-08 09:03:23 -070018if (is_linux) {
19 import("//build/config/linux/pkg_config.gni")
20}
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +020021
22group("examples") {
23 deps = []
24
tkchin2ddfdba2016-08-07 21:37:45 -070025 if (is_android) {
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +020026 deps += [ ":AppRTCDemo" ]
27 }
kthelgason0727f152016-08-08 09:03:23 -070028 if (is_linux) {
29 deps += [
30 ":peerconnection_client",
31 ":peerconnection_server",
32 ":relayserver",
33 ":stunserver",
34 ":turnserver",
35 ]
36 }
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +020037}
38
tkchin2ddfdba2016-08-07 21:37:45 -070039if (is_android) {
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +020040 android_apk("AppRTCDemo") {
41 apk_name = "AppRTCDemo"
42 android_manifest = "androidapp/AndroidManifest.xml"
43
44 deps = [
phoglund9a123aa2016-07-05 03:21:35 -070045 ":AppRTCDemo_javalib",
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +020046 ":AppRTCDemo_resources",
47 "//base:base_java",
48 "//webrtc/base:base_java",
49 ]
50
51 shared_libraries = [ "//webrtc/api:libjingle_peerconnection_so" ]
52 }
53
phoglund9a123aa2016-07-05 03:21:35 -070054 android_library("AppRTCDemo_javalib") {
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +020055 java_files = [
56 "androidapp/src/org/appspot/apprtc/AppRTCAudioManager.java",
57 "androidapp/src/org/appspot/apprtc/AppRTCClient.java",
58 "androidapp/src/org/appspot/apprtc/AppRTCProximitySensor.java",
59 "androidapp/src/org/appspot/apprtc/CallActivity.java",
60 "androidapp/src/org/appspot/apprtc/CallFragment.java",
61 "androidapp/src/org/appspot/apprtc/CaptureQualityController.java",
62 "androidapp/src/org/appspot/apprtc/ConnectActivity.java",
63 "androidapp/src/org/appspot/apprtc/CpuMonitor.java",
64 "androidapp/src/org/appspot/apprtc/DirectRTCClient.java",
65 "androidapp/src/org/appspot/apprtc/HudFragment.java",
66 "androidapp/src/org/appspot/apprtc/PeerConnectionClient.java",
67 "androidapp/src/org/appspot/apprtc/PercentFrameLayout.java",
68 "androidapp/src/org/appspot/apprtc/RoomParametersFetcher.java",
69 "androidapp/src/org/appspot/apprtc/SettingsActivity.java",
70 "androidapp/src/org/appspot/apprtc/SettingsFragment.java",
71 "androidapp/src/org/appspot/apprtc/TCPChannelClient.java",
72 "androidapp/src/org/appspot/apprtc/UnhandledExceptionHandler.java",
73 "androidapp/src/org/appspot/apprtc/WebSocketChannelClient.java",
74 "androidapp/src/org/appspot/apprtc/WebSocketRTCClient.java",
75 "androidapp/src/org/appspot/apprtc/util/AppRTCUtils.java",
76 "androidapp/src/org/appspot/apprtc/util/AsyncHttpURLConnection.java",
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +020077 ]
78
79 deps = [
80 ":AppRTCDemo_resources",
81 "//webrtc/api:libjingle_peerconnection_java",
82 "//webrtc/base:base_java",
83 "//webrtc/examples/androidapp/third_party/autobanh:autobanh_java",
84 ]
85 }
86
87 android_resources("AppRTCDemo_resources") {
88 resource_dirs = [ "androidapp/res" ]
89 custom_package = "org.appspot.apprtc"
90 }
91
92 instrumentation_test_apk("AppRTCDemoTest") {
93 apk_name = "AppRTCDemoTest"
94 android_manifest = "androidtests/AndroidManifest.xml"
95
96 java_files = [ "androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java" ]
97
98 apk_under_test = ":AppRTCDemo"
99
100 deps = [
phoglund9a123aa2016-07-05 03:21:35 -0700101 ":AppRTCDemo_javalib",
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +0200102 "//webrtc/api:libjingle_peerconnection_java",
103 ]
104 }
105
106 junit_binary("AppRTCDemoJUnitTest") {
107 java_files = [
108 "androidjunit/src/org/appspot/apprtc/DirectRTCClientTest.java",
109 "androidjunit/src/org/appspot/apprtc/TCPChannelClientTest.java",
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +0200110 ]
111
112 deps = [
phoglund9a123aa2016-07-05 03:21:35 -0700113 ":AppRTCDemo_javalib",
Sami Kalliomaki9c0c75b2016-06-29 14:55:00 +0200114 "//webrtc/api:libjingle_peerconnection_java",
115 "//webrtc/api:libjingle_peerconnection_jni",
116 ]
117 }
118}
tkchin2ddfdba2016-08-07 21:37:45 -0700119
120if (is_ios || (is_mac && target_cpu != "x86")) {
121 config("warnings_config") {
122 # GN orders flags on a target before flags from configs. The default config
123 # adds these flags so to cancel them out they need to come from a config and
124 # cannot be on the target directly.
125 if (is_ios) {
126 # Suppress compiler warnings about deprecated that triggered
127 # when moving from ios_deployment_target 7.0 to 9.0.
128 # See webrtc:5549 for more details.
129 cflags = [ "-Wno-deprecated-declarations" ]
130 }
131 }
132
133 config("apprtc_common_config") {
134 include_dirs = [ "objc/AppRTCDemo/common" ]
135 }
136
ehmaldonado38a21322016-09-02 04:10:34 -0700137 rtc_source_set("apprtc_common") {
tkchin2ddfdba2016-08-07 21:37:45 -0700138 sources = [
139 "objc/AppRTCDemo/common/ARDUtilities.h",
140 "objc/AppRTCDemo/common/ARDUtilities.m",
141 ]
142 configs += [
tkchin2ddfdba2016-08-07 21:37:45 -0700143 ":warnings_config",
144 "//build/config/compiler:enable_arc",
145 ]
ehmaldonadoe9cc6862016-09-05 06:10:18 -0700146 public_configs = [ ":apprtc_common_config" ]
tkchin2ddfdba2016-08-07 21:37:45 -0700147
148 deps = [
149 "../sdk:rtc_sdk_common_objc",
150 "../system_wrappers:field_trial_default",
151 "../system_wrappers:metrics_default",
152 ]
153 }
154
155 config("apprtc_signaling_config") {
156 include_dirs = [ "objc/AppRTCDemo" ]
157
158 # GN orders flags on a target before flags from configs. The default config
159 # adds these flags so to cancel them out they need to come from a config and
160 # cannot be on the target directly.
161 cflags = [
162 "-Wno-sign-compare",
163 "-Wno-unused-variable",
164 ]
165 if (is_mac) {
166 cflags += [ "-Wno-partial-availability" ]
167 }
168 }
169
ehmaldonado38a21322016-09-02 04:10:34 -0700170 rtc_source_set("apprtc_signaling") {
tkchin2ddfdba2016-08-07 21:37:45 -0700171 sources = [
172 "objc/AppRTCDemo/ARDAppClient+Internal.h",
173 "objc/AppRTCDemo/ARDAppClient.h",
174 "objc/AppRTCDemo/ARDAppClient.m",
175 "objc/AppRTCDemo/ARDAppEngineClient.h",
176 "objc/AppRTCDemo/ARDAppEngineClient.m",
177 "objc/AppRTCDemo/ARDBitrateTracker.h",
178 "objc/AppRTCDemo/ARDBitrateTracker.m",
179 "objc/AppRTCDemo/ARDCEODTURNClient.h",
180 "objc/AppRTCDemo/ARDCEODTURNClient.m",
181 "objc/AppRTCDemo/ARDJoinResponse+Internal.h",
182 "objc/AppRTCDemo/ARDJoinResponse.h",
183 "objc/AppRTCDemo/ARDJoinResponse.m",
184 "objc/AppRTCDemo/ARDMessageResponse+Internal.h",
185 "objc/AppRTCDemo/ARDMessageResponse.h",
186 "objc/AppRTCDemo/ARDMessageResponse.m",
187 "objc/AppRTCDemo/ARDRoomServerClient.h",
188 "objc/AppRTCDemo/ARDSDPUtils.h",
189 "objc/AppRTCDemo/ARDSDPUtils.m",
190 "objc/AppRTCDemo/ARDSignalingChannel.h",
191 "objc/AppRTCDemo/ARDSignalingMessage.h",
192 "objc/AppRTCDemo/ARDSignalingMessage.m",
193 "objc/AppRTCDemo/ARDStatsBuilder.h",
194 "objc/AppRTCDemo/ARDStatsBuilder.m",
195 "objc/AppRTCDemo/ARDTURNClient.h",
196 "objc/AppRTCDemo/ARDWebSocketChannel.h",
197 "objc/AppRTCDemo/ARDWebSocketChannel.m",
198 "objc/AppRTCDemo/RTCIceCandidate+JSON.h",
199 "objc/AppRTCDemo/RTCIceCandidate+JSON.m",
200 "objc/AppRTCDemo/RTCIceServer+JSON.h",
201 "objc/AppRTCDemo/RTCIceServer+JSON.m",
202 "objc/AppRTCDemo/RTCMediaConstraints+JSON.h",
203 "objc/AppRTCDemo/RTCMediaConstraints+JSON.m",
204 "objc/AppRTCDemo/RTCSessionDescription+JSON.h",
205 "objc/AppRTCDemo/RTCSessionDescription+JSON.m",
206 ]
207 configs += [
tkchin2ddfdba2016-08-07 21:37:45 -0700208 "//build/config/compiler:enable_arc",
209 ":warnings_config",
210 ]
ehmaldonadoe9cc6862016-09-05 06:10:18 -0700211 public_configs = [ ":apprtc_signaling_config" ]
tkchin2ddfdba2016-08-07 21:37:45 -0700212 deps = [
213 ":apprtc_common",
214 ":socketrocket",
215 ]
216 public_deps = [
217 "../sdk:rtc_sdk_peerconnection_objc",
218 ]
219 libs = [ "QuartzCore.framework" ]
220 }
221
222 if (is_ios) {
223 ios_app_bundle("AppRTCDemo") {
224 sources = [
225 "objc/AppRTCDemo/ios/ARDAppDelegate.m",
226 "objc/AppRTCDemo/ios/ARDMainView.h",
227 "objc/AppRTCDemo/ios/ARDMainView.m",
228 "objc/AppRTCDemo/ios/ARDMainViewController.h",
229 "objc/AppRTCDemo/ios/ARDMainViewController.m",
230 "objc/AppRTCDemo/ios/ARDStatsView.h",
231 "objc/AppRTCDemo/ios/ARDStatsView.m",
232 "objc/AppRTCDemo/ios/ARDVideoCallView.h",
233 "objc/AppRTCDemo/ios/ARDVideoCallView.m",
234 "objc/AppRTCDemo/ios/ARDVideoCallViewController.h",
235 "objc/AppRTCDemo/ios/ARDVideoCallViewController.m",
236 "objc/AppRTCDemo/ios/AppRTCDemo-Prefix.pch",
237 "objc/AppRTCDemo/ios/UIImage+ARDUtilities.h",
238 "objc/AppRTCDemo/ios/UIImage+ARDUtilities.m",
239 "objc/AppRTCDemo/ios/main.m",
240 ]
241
242 info_plist = "objc/AppRTCDemo/ios/Info.plist"
243
244 configs += [
245 "..:common_config",
246 "//build/config/compiler:enable_arc",
247 ":warnings_config",
248 ]
249 public_configs = [ "..:common_inherited_config" ]
250
251 deps = [
252 ":AppRTCDemo_ios_bundle_data",
253 ":apprtc_common",
254 ":apprtc_signaling",
255 ]
256
257 if (target_cpu == "x86") {
258 deps += [ "//testing/iossim:iossim" ]
259 }
260 }
261
262 bundle_data("AppRTCDemo_ios_bundle_data") {
263 sources = [
264 "objc/AppRTCDemo/ios/resources/Roboto-Regular.ttf",
265 "objc/AppRTCDemo/ios/resources/iPhone5@2x.png",
266 "objc/AppRTCDemo/ios/resources/iPhone6@2x.png",
267 "objc/AppRTCDemo/ios/resources/iPhone6p@3x.png",
268 "objc/AppRTCDemo/ios/resources/ic_call_end_black_24dp.png",
269 "objc/AppRTCDemo/ios/resources/ic_call_end_black_24dp@2x.png",
270 "objc/AppRTCDemo/ios/resources/ic_clear_black_24dp.png",
271 "objc/AppRTCDemo/ios/resources/ic_clear_black_24dp@2x.png",
272 "objc/AppRTCDemo/ios/resources/ic_surround_sound_black_24dp.png",
273 "objc/AppRTCDemo/ios/resources/ic_surround_sound_black_24dp@2x.png",
274 "objc/AppRTCDemo/ios/resources/ic_switch_video_black_24dp.png",
275 "objc/AppRTCDemo/ios/resources/ic_switch_video_black_24dp@2x.png",
276 "objc/AppRTCDemo/ios/resources/mozart.mp3",
277 "objc/Icon.png",
278 ]
279 outputs = [
280 "{{bundle_resources_dir}}/{{source_file_part}}",
281 ]
282 }
283 }
284
285 if (is_mac) {
ehmaldonado38a21322016-09-02 04:10:34 -0700286 rtc_source_set("AppRTCDemo_app") {
tkchin2ddfdba2016-08-07 21:37:45 -0700287 sources = [
288 "objc/AppRTCDemo/mac/APPRTCAppDelegate.h",
289 "objc/AppRTCDemo/mac/APPRTCAppDelegate.m",
290 "objc/AppRTCDemo/mac/APPRTCViewController.h",
291 "objc/AppRTCDemo/mac/APPRTCViewController.m",
292 ]
293 configs += [
tkchin2ddfdba2016-08-07 21:37:45 -0700294 "..:common_objc",
295 "//build/config/compiler:enable_arc",
296 ]
297 deps = [
298 ":apprtc_common",
299 ":apprtc_signaling",
300 ]
301 }
302
303 mac_app_bundle("AppRTCDemo") {
304 output_name = "AppRTCDemo"
305
306 extra_substitutions = [ "MACOSX_DEPLOYMENT_TARGET=10.8" ]
307
308 sources = [
309 "objc/AppRTCDemo/mac/main.m",
310 ]
311
312 public_configs = [ "..:common_inherited_config" ]
313
314 info_plist = "objc/AppRTCDemo/mac/Info.plist"
315
316 libs = [ "AppKit.framework" ]
317
318 deps = [
319 ":AppRTCDemo_app",
320 ]
321 }
322 }
323
324 config("socketrocket_include_config") {
325 include_dirs = [ "objc/AppRTCDemo/third_party/SocketRocket" ]
326 }
327
328 config("socketrocket_warning_config") {
329 # GN orders flags on a target before flags from configs. The default config
330 # adds these flags so to cancel them out they need to come from a config and
331 # cannot be on the target directly.
332 cflags = [
333 "-Wno-deprecated-declarations",
334 "-Wno-nonnull",
335 "-Wno-objc-missing-property-synthesis",
336 "-Wno-semicolon-before-method-body",
337 "-Wno-unused-variable",
338 ]
339
340 # Enabled for cflags_objc in build/config/compiler/BUILD.gn.
341 cflags_objc = [ "-Wno-objc-missing-property-synthesis" ]
342
343 if (is_mac) {
344 cflags += [ "-Wno-partial-availability" ]
345 }
346 }
347
ehmaldonado38a21322016-09-02 04:10:34 -0700348 rtc_source_set("socketrocket") {
tkchin2ddfdba2016-08-07 21:37:45 -0700349 sources = [
350 "objc/AppRTCDemo/third_party/SocketRocket/SRWebSocket.h",
351 "objc/AppRTCDemo/third_party/SocketRocket/SRWebSocket.m",
352 ]
353 configs += [
tkchin2ddfdba2016-08-07 21:37:45 -0700354 "//build/config/compiler:enable_arc",
355 ":socketrocket_warning_config",
356 ]
ehmaldonadoe9cc6862016-09-05 06:10:18 -0700357 public_configs = [ ":socketrocket_include_config" ]
tkchin2ddfdba2016-08-07 21:37:45 -0700358
359 libs = [
360 "CFNetwork.framework",
361 "icucore",
362 ]
363 }
364}
kthelgason0727f152016-08-08 09:03:23 -0700365
366if (is_linux || is_win) {
367 if (is_linux) {
368 pkg_config("gtk2_config") {
369 # Gtk requires gmodule, but it does not list it as a dependency in some
370 # misconfigured systems.
371 packages = [
372 "gmodule-2.0",
373 "gtk+-2.0",
374 "gthread-2.0",
375 ]
376 }
377 }
378
ehmaldonadod02fe4b2016-08-26 13:31:24 -0700379 config("peerconnection_client_warnings_config") {
380 if (is_win && is_clang) {
381 cflags = [
382 # Disable warnings failing when compiling with Clang on Windows.
383 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
384 "-Wno-format",
385
386 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6271
387 # for -Wno-reorder and -Wno-sign-compare
388 "-Wno-reorder",
389 "-Wno-sign-compare",
390 ]
391 }
392 }
393
ehmaldonado38a21322016-09-02 04:10:34 -0700394 rtc_executable("peerconnection_client") {
kthelgason0727f152016-08-08 09:03:23 -0700395 sources = [
396 "peerconnection/client/conductor.cc",
397 "peerconnection/client/conductor.h",
398 "peerconnection/client/defaults.cc",
399 "peerconnection/client/defaults.h",
400 "peerconnection/client/peer_connection_client.cc",
401 "peerconnection/client/peer_connection_client.h",
402 ]
ehmaldonado7a2ce0b2016-09-05 01:35:44 -0700403
404 # TODO(ehmaldonado): Make peerconnection_client compile with the standard
405 # set of warnings.
406 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6306
407 suppressed_configs += [ rtc_common_config ]
kthelgason0727f152016-08-08 09:03:23 -0700408 if (is_clang) {
409 # Suppress warnings from the Chromium Clang plugin.
410 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
ehmaldonado38a21322016-09-02 04:10:34 -0700411 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kthelgason0727f152016-08-08 09:03:23 -0700412 }
413 if (is_win) {
414 sources += [
415 "peerconnection/client/flagdefs.h",
416 "peerconnection/client/main.cc",
417 "peerconnection/client/main_wnd.cc",
418 "peerconnection/client/main_wnd.h",
419 ]
420 cflags = [ "/wd4245" ]
421 configs += [ "//build/config/win:windowed" ]
422 }
423 if (is_linux) {
424 sources += [
425 "peerconnection/client/linux/main.cc",
426 "peerconnection/client/linux/main_wnd.cc",
427 "peerconnection/client/linux/main_wnd.h",
428 ]
429 libs = [
430 "X11",
431 "Xcomposite",
432 "Xext",
433 "Xrender",
434 ]
435 public_configs = [ ":gtk2_config" ]
436 }
437 deps = [
nisse9f8e37b2016-09-01 01:06:23 -0700438 "//third_party/libyuv",
kthelgason0727f152016-08-08 09:03:23 -0700439 "//webrtc/api:libjingle_peerconnection",
440 "//webrtc/system_wrappers:field_trial_default",
441 "//webrtc/system_wrappers:metrics_default",
442 ]
ehmaldonadod02fe4b2016-08-26 13:31:24 -0700443 configs += [ ":peerconnection_client_warnings_config" ]
kthelgason0727f152016-08-08 09:03:23 -0700444 if (rtc_build_json) {
445 deps += [ "//third_party/jsoncpp" ]
446 }
447 }
ehmaldonado38a21322016-09-02 04:10:34 -0700448 rtc_executable("peerconnection_server") {
kthelgason0727f152016-08-08 09:03:23 -0700449 sources = [
450 "peerconnection/server/data_socket.cc",
451 "peerconnection/server/data_socket.h",
452 "peerconnection/server/main.cc",
453 "peerconnection/server/peer_channel.cc",
454 "peerconnection/server/peer_channel.h",
455 "peerconnection/server/utils.cc",
456 "peerconnection/server/utils.h",
457 ]
458 deps = [
459 "//webrtc:webrtc_common",
460 "//webrtc/base:rtc_base_approved",
461 "//webrtc/tools:command_line_parser",
462 ]
463 if (is_clang) {
464 # Suppress warnings from the Chromium Clang plugin.
465 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
ehmaldonado38a21322016-09-02 04:10:34 -0700466 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kthelgason0727f152016-08-08 09:03:23 -0700467 }
468 }
ehmaldonado38a21322016-09-02 04:10:34 -0700469 rtc_executable("relayserver") {
kthelgason0727f152016-08-08 09:03:23 -0700470 sources = [
471 "relayserver/relayserver_main.cc",
472 ]
473 deps = [
474 "//webrtc/base:rtc_base_approved",
475 "//webrtc/pc:rtc_pc",
476 "//webrtc/system_wrappers:field_trial_default",
477 "//webrtc/system_wrappers:metrics_default",
478 ]
479 if (is_clang) {
480 # Suppress warnings from the Chromium Clang plugin.
481 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
ehmaldonado38a21322016-09-02 04:10:34 -0700482 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kthelgason0727f152016-08-08 09:03:23 -0700483 }
484 }
ehmaldonado38a21322016-09-02 04:10:34 -0700485 rtc_executable("turnserver") {
kthelgason0727f152016-08-08 09:03:23 -0700486 sources = [
487 "turnserver/turnserver_main.cc",
488 ]
489 deps = [
490 "//webrtc/base:rtc_base_approved",
491 "//webrtc/pc:rtc_pc",
492 "//webrtc/system_wrappers:field_trial_default",
493 "//webrtc/system_wrappers:metrics_default",
494 ]
495 if (is_clang) {
496 # Suppress warnings from the Chromium Clang plugin.
497 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
ehmaldonado38a21322016-09-02 04:10:34 -0700498 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kthelgason0727f152016-08-08 09:03:23 -0700499 }
500 }
ehmaldonado38a21322016-09-02 04:10:34 -0700501 rtc_executable("stunserver") {
kthelgason0727f152016-08-08 09:03:23 -0700502 sources = [
503 "stunserver/stunserver_main.cc",
504 ]
505 deps = [
506 "//webrtc/base:rtc_base_approved",
507 "//webrtc/pc:rtc_pc",
508 "//webrtc/system_wrappers:field_trial_default",
509 "//webrtc/system_wrappers:metrics_default",
510 ]
511 if (is_clang) {
512 # Suppress warnings from the Chromium Clang plugin.
513 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
ehmaldonado38a21322016-09-02 04:10:34 -0700514 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kthelgason0727f152016-08-08 09:03:23 -0700515 }
516 }
517}