blob: 6eb3f6f0cddbeb40c80dd4f5ff2122d40fa265ae [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 += [
143 "..:common_config",
144 ":warnings_config",
145 "//build/config/compiler:enable_arc",
146 ]
147 public_configs = [
148 "..:common_inherited_config",
149 ":apprtc_common_config",
150 ]
151
152 deps = [
153 "../sdk:rtc_sdk_common_objc",
154 "../system_wrappers:field_trial_default",
155 "../system_wrappers:metrics_default",
156 ]
157 }
158
159 config("apprtc_signaling_config") {
160 include_dirs = [ "objc/AppRTCDemo" ]
161
162 # GN orders flags on a target before flags from configs. The default config
163 # adds these flags so to cancel them out they need to come from a config and
164 # cannot be on the target directly.
165 cflags = [
166 "-Wno-sign-compare",
167 "-Wno-unused-variable",
168 ]
169 if (is_mac) {
170 cflags += [ "-Wno-partial-availability" ]
171 }
172 }
173
ehmaldonado38a21322016-09-02 04:10:34 -0700174 rtc_source_set("apprtc_signaling") {
tkchin2ddfdba2016-08-07 21:37:45 -0700175 sources = [
176 "objc/AppRTCDemo/ARDAppClient+Internal.h",
177 "objc/AppRTCDemo/ARDAppClient.h",
178 "objc/AppRTCDemo/ARDAppClient.m",
179 "objc/AppRTCDemo/ARDAppEngineClient.h",
180 "objc/AppRTCDemo/ARDAppEngineClient.m",
181 "objc/AppRTCDemo/ARDBitrateTracker.h",
182 "objc/AppRTCDemo/ARDBitrateTracker.m",
183 "objc/AppRTCDemo/ARDCEODTURNClient.h",
184 "objc/AppRTCDemo/ARDCEODTURNClient.m",
185 "objc/AppRTCDemo/ARDJoinResponse+Internal.h",
186 "objc/AppRTCDemo/ARDJoinResponse.h",
187 "objc/AppRTCDemo/ARDJoinResponse.m",
188 "objc/AppRTCDemo/ARDMessageResponse+Internal.h",
189 "objc/AppRTCDemo/ARDMessageResponse.h",
190 "objc/AppRTCDemo/ARDMessageResponse.m",
191 "objc/AppRTCDemo/ARDRoomServerClient.h",
192 "objc/AppRTCDemo/ARDSDPUtils.h",
193 "objc/AppRTCDemo/ARDSDPUtils.m",
194 "objc/AppRTCDemo/ARDSignalingChannel.h",
195 "objc/AppRTCDemo/ARDSignalingMessage.h",
196 "objc/AppRTCDemo/ARDSignalingMessage.m",
197 "objc/AppRTCDemo/ARDStatsBuilder.h",
198 "objc/AppRTCDemo/ARDStatsBuilder.m",
199 "objc/AppRTCDemo/ARDTURNClient.h",
200 "objc/AppRTCDemo/ARDWebSocketChannel.h",
201 "objc/AppRTCDemo/ARDWebSocketChannel.m",
202 "objc/AppRTCDemo/RTCIceCandidate+JSON.h",
203 "objc/AppRTCDemo/RTCIceCandidate+JSON.m",
204 "objc/AppRTCDemo/RTCIceServer+JSON.h",
205 "objc/AppRTCDemo/RTCIceServer+JSON.m",
206 "objc/AppRTCDemo/RTCMediaConstraints+JSON.h",
207 "objc/AppRTCDemo/RTCMediaConstraints+JSON.m",
208 "objc/AppRTCDemo/RTCSessionDescription+JSON.h",
209 "objc/AppRTCDemo/RTCSessionDescription+JSON.m",
210 ]
211 configs += [
212 "..:common_config",
213 "//build/config/compiler:enable_arc",
214 ":warnings_config",
215 ]
216 public_configs = [
217 "..:common_inherited_config",
218 ":apprtc_signaling_config",
219 ]
220 deps = [
221 ":apprtc_common",
222 ":socketrocket",
223 ]
224 public_deps = [
225 "../sdk:rtc_sdk_peerconnection_objc",
226 ]
227 libs = [ "QuartzCore.framework" ]
228 }
229
230 if (is_ios) {
231 ios_app_bundle("AppRTCDemo") {
232 sources = [
233 "objc/AppRTCDemo/ios/ARDAppDelegate.m",
234 "objc/AppRTCDemo/ios/ARDMainView.h",
235 "objc/AppRTCDemo/ios/ARDMainView.m",
236 "objc/AppRTCDemo/ios/ARDMainViewController.h",
237 "objc/AppRTCDemo/ios/ARDMainViewController.m",
238 "objc/AppRTCDemo/ios/ARDStatsView.h",
239 "objc/AppRTCDemo/ios/ARDStatsView.m",
240 "objc/AppRTCDemo/ios/ARDVideoCallView.h",
241 "objc/AppRTCDemo/ios/ARDVideoCallView.m",
242 "objc/AppRTCDemo/ios/ARDVideoCallViewController.h",
243 "objc/AppRTCDemo/ios/ARDVideoCallViewController.m",
244 "objc/AppRTCDemo/ios/AppRTCDemo-Prefix.pch",
245 "objc/AppRTCDemo/ios/UIImage+ARDUtilities.h",
246 "objc/AppRTCDemo/ios/UIImage+ARDUtilities.m",
247 "objc/AppRTCDemo/ios/main.m",
248 ]
249
250 info_plist = "objc/AppRTCDemo/ios/Info.plist"
251
252 configs += [
253 "..:common_config",
254 "//build/config/compiler:enable_arc",
255 ":warnings_config",
256 ]
257 public_configs = [ "..:common_inherited_config" ]
258
259 deps = [
260 ":AppRTCDemo_ios_bundle_data",
261 ":apprtc_common",
262 ":apprtc_signaling",
263 ]
264
265 if (target_cpu == "x86") {
266 deps += [ "//testing/iossim:iossim" ]
267 }
268 }
269
270 bundle_data("AppRTCDemo_ios_bundle_data") {
271 sources = [
272 "objc/AppRTCDemo/ios/resources/Roboto-Regular.ttf",
273 "objc/AppRTCDemo/ios/resources/iPhone5@2x.png",
274 "objc/AppRTCDemo/ios/resources/iPhone6@2x.png",
275 "objc/AppRTCDemo/ios/resources/iPhone6p@3x.png",
276 "objc/AppRTCDemo/ios/resources/ic_call_end_black_24dp.png",
277 "objc/AppRTCDemo/ios/resources/ic_call_end_black_24dp@2x.png",
278 "objc/AppRTCDemo/ios/resources/ic_clear_black_24dp.png",
279 "objc/AppRTCDemo/ios/resources/ic_clear_black_24dp@2x.png",
280 "objc/AppRTCDemo/ios/resources/ic_surround_sound_black_24dp.png",
281 "objc/AppRTCDemo/ios/resources/ic_surround_sound_black_24dp@2x.png",
282 "objc/AppRTCDemo/ios/resources/ic_switch_video_black_24dp.png",
283 "objc/AppRTCDemo/ios/resources/ic_switch_video_black_24dp@2x.png",
284 "objc/AppRTCDemo/ios/resources/mozart.mp3",
285 "objc/Icon.png",
286 ]
287 outputs = [
288 "{{bundle_resources_dir}}/{{source_file_part}}",
289 ]
290 }
291 }
292
293 if (is_mac) {
ehmaldonado38a21322016-09-02 04:10:34 -0700294 rtc_source_set("AppRTCDemo_app") {
tkchin2ddfdba2016-08-07 21:37:45 -0700295 sources = [
296 "objc/AppRTCDemo/mac/APPRTCAppDelegate.h",
297 "objc/AppRTCDemo/mac/APPRTCAppDelegate.m",
298 "objc/AppRTCDemo/mac/APPRTCViewController.h",
299 "objc/AppRTCDemo/mac/APPRTCViewController.m",
300 ]
301 configs += [
302 "..:common_config",
303 "..:common_objc",
304 "//build/config/compiler:enable_arc",
305 ]
306 deps = [
307 ":apprtc_common",
308 ":apprtc_signaling",
309 ]
310 }
311
312 mac_app_bundle("AppRTCDemo") {
313 output_name = "AppRTCDemo"
314
315 extra_substitutions = [ "MACOSX_DEPLOYMENT_TARGET=10.8" ]
316
317 sources = [
318 "objc/AppRTCDemo/mac/main.m",
319 ]
320
321 public_configs = [ "..:common_inherited_config" ]
322
323 info_plist = "objc/AppRTCDemo/mac/Info.plist"
324
325 libs = [ "AppKit.framework" ]
326
327 deps = [
328 ":AppRTCDemo_app",
329 ]
330 }
331 }
332
333 config("socketrocket_include_config") {
334 include_dirs = [ "objc/AppRTCDemo/third_party/SocketRocket" ]
335 }
336
337 config("socketrocket_warning_config") {
338 # GN orders flags on a target before flags from configs. The default config
339 # adds these flags so to cancel them out they need to come from a config and
340 # cannot be on the target directly.
341 cflags = [
342 "-Wno-deprecated-declarations",
343 "-Wno-nonnull",
344 "-Wno-objc-missing-property-synthesis",
345 "-Wno-semicolon-before-method-body",
346 "-Wno-unused-variable",
347 ]
348
349 # Enabled for cflags_objc in build/config/compiler/BUILD.gn.
350 cflags_objc = [ "-Wno-objc-missing-property-synthesis" ]
351
352 if (is_mac) {
353 cflags += [ "-Wno-partial-availability" ]
354 }
355 }
356
ehmaldonado38a21322016-09-02 04:10:34 -0700357 rtc_source_set("socketrocket") {
tkchin2ddfdba2016-08-07 21:37:45 -0700358 sources = [
359 "objc/AppRTCDemo/third_party/SocketRocket/SRWebSocket.h",
360 "objc/AppRTCDemo/third_party/SocketRocket/SRWebSocket.m",
361 ]
362 configs += [
363 "..:common_config",
364 "//build/config/compiler:enable_arc",
365 ":socketrocket_warning_config",
366 ]
367 public_configs = [
368 "..:common_inherited_config",
369 ":socketrocket_include_config",
370 ]
371
372 libs = [
373 "CFNetwork.framework",
374 "icucore",
375 ]
376 }
377}
kthelgason0727f152016-08-08 09:03:23 -0700378
379if (is_linux || is_win) {
380 if (is_linux) {
381 pkg_config("gtk2_config") {
382 # Gtk requires gmodule, but it does not list it as a dependency in some
383 # misconfigured systems.
384 packages = [
385 "gmodule-2.0",
386 "gtk+-2.0",
387 "gthread-2.0",
388 ]
389 }
390 }
391
ehmaldonadod02fe4b2016-08-26 13:31:24 -0700392 config("peerconnection_client_warnings_config") {
393 if (is_win && is_clang) {
394 cflags = [
395 # Disable warnings failing when compiling with Clang on Windows.
396 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
397 "-Wno-format",
398
399 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6271
400 # for -Wno-reorder and -Wno-sign-compare
401 "-Wno-reorder",
402 "-Wno-sign-compare",
403 ]
404 }
405 }
406
ehmaldonado38a21322016-09-02 04:10:34 -0700407 rtc_executable("peerconnection_client") {
kthelgason0727f152016-08-08 09:03:23 -0700408 sources = [
409 "peerconnection/client/conductor.cc",
410 "peerconnection/client/conductor.h",
411 "peerconnection/client/defaults.cc",
412 "peerconnection/client/defaults.h",
413 "peerconnection/client/peer_connection_client.cc",
414 "peerconnection/client/peer_connection_client.h",
415 ]
416 if (is_clang) {
417 # Suppress warnings from the Chromium Clang plugin.
418 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
ehmaldonado38a21322016-09-02 04:10:34 -0700419 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kthelgason0727f152016-08-08 09:03:23 -0700420 }
421 if (is_win) {
422 sources += [
423 "peerconnection/client/flagdefs.h",
424 "peerconnection/client/main.cc",
425 "peerconnection/client/main_wnd.cc",
426 "peerconnection/client/main_wnd.h",
427 ]
428 cflags = [ "/wd4245" ]
429 configs += [ "//build/config/win:windowed" ]
430 }
431 if (is_linux) {
432 sources += [
433 "peerconnection/client/linux/main.cc",
434 "peerconnection/client/linux/main_wnd.cc",
435 "peerconnection/client/linux/main_wnd.h",
436 ]
437 libs = [
438 "X11",
439 "Xcomposite",
440 "Xext",
441 "Xrender",
442 ]
443 public_configs = [ ":gtk2_config" ]
444 }
445 deps = [
ehmaldonadobcba64a2016-08-19 02:11:07 -0700446 "//build/config/sanitizers:deps",
nisse9f8e37b2016-09-01 01:06:23 -0700447 "//third_party/libyuv",
kthelgason0727f152016-08-08 09:03:23 -0700448 "//webrtc/api:libjingle_peerconnection",
449 "//webrtc/system_wrappers:field_trial_default",
450 "//webrtc/system_wrappers:metrics_default",
451 ]
ehmaldonadod02fe4b2016-08-26 13:31:24 -0700452 configs += [ ":peerconnection_client_warnings_config" ]
kthelgason0727f152016-08-08 09:03:23 -0700453 if (rtc_build_json) {
454 deps += [ "//third_party/jsoncpp" ]
455 }
456 }
ehmaldonado38a21322016-09-02 04:10:34 -0700457 rtc_executable("peerconnection_server") {
kthelgason0727f152016-08-08 09:03:23 -0700458 sources = [
459 "peerconnection/server/data_socket.cc",
460 "peerconnection/server/data_socket.h",
461 "peerconnection/server/main.cc",
462 "peerconnection/server/peer_channel.cc",
463 "peerconnection/server/peer_channel.h",
464 "peerconnection/server/utils.cc",
465 "peerconnection/server/utils.h",
466 ]
467 deps = [
ehmaldonadobcba64a2016-08-19 02:11:07 -0700468 "//build/config/sanitizers:deps",
kthelgason0727f152016-08-08 09:03:23 -0700469 "//webrtc:webrtc_common",
470 "//webrtc/base:rtc_base_approved",
471 "//webrtc/tools:command_line_parser",
472 ]
473 if (is_clang) {
474 # Suppress warnings from the Chromium Clang plugin.
475 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
ehmaldonado38a21322016-09-02 04:10:34 -0700476 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kthelgason0727f152016-08-08 09:03:23 -0700477 }
478 }
ehmaldonado38a21322016-09-02 04:10:34 -0700479 rtc_executable("relayserver") {
kthelgason0727f152016-08-08 09:03:23 -0700480 sources = [
481 "relayserver/relayserver_main.cc",
482 ]
483 deps = [
ehmaldonadobcba64a2016-08-19 02:11:07 -0700484 "//build/config/sanitizers:deps",
kthelgason0727f152016-08-08 09:03:23 -0700485 "//webrtc/base:rtc_base_approved",
486 "//webrtc/pc:rtc_pc",
487 "//webrtc/system_wrappers:field_trial_default",
488 "//webrtc/system_wrappers:metrics_default",
489 ]
490 if (is_clang) {
491 # Suppress warnings from the Chromium Clang plugin.
492 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
ehmaldonado38a21322016-09-02 04:10:34 -0700493 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kthelgason0727f152016-08-08 09:03:23 -0700494 }
495 }
ehmaldonado38a21322016-09-02 04:10:34 -0700496 rtc_executable("turnserver") {
kthelgason0727f152016-08-08 09:03:23 -0700497 sources = [
498 "turnserver/turnserver_main.cc",
499 ]
500 deps = [
ehmaldonadobcba64a2016-08-19 02:11:07 -0700501 "//build/config/sanitizers:deps",
kthelgason0727f152016-08-08 09:03:23 -0700502 "//webrtc/base:rtc_base_approved",
503 "//webrtc/pc:rtc_pc",
504 "//webrtc/system_wrappers:field_trial_default",
505 "//webrtc/system_wrappers:metrics_default",
506 ]
507 if (is_clang) {
508 # Suppress warnings from the Chromium Clang plugin.
509 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
ehmaldonado38a21322016-09-02 04:10:34 -0700510 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kthelgason0727f152016-08-08 09:03:23 -0700511 }
512 }
ehmaldonado38a21322016-09-02 04:10:34 -0700513 rtc_executable("stunserver") {
kthelgason0727f152016-08-08 09:03:23 -0700514 sources = [
515 "stunserver/stunserver_main.cc",
516 ]
517 deps = [
ehmaldonadobcba64a2016-08-19 02:11:07 -0700518 "//build/config/sanitizers:deps",
kthelgason0727f152016-08-08 09:03:23 -0700519 "//webrtc/base:rtc_base_approved",
520 "//webrtc/pc:rtc_pc",
521 "//webrtc/system_wrappers:field_trial_default",
522 "//webrtc/system_wrappers:metrics_default",
523 ]
524 if (is_clang) {
525 # Suppress warnings from the Chromium Clang plugin.
526 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
ehmaldonado38a21322016-09-02 04:10:34 -0700527 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
kthelgason0727f152016-08-08 09:03:23 -0700528 }
529 }
530}