OLD | NEW |
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 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. | 9 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. |
10 | 10 |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 deps += [ | 276 deps += [ |
277 "api", | 277 "api", |
278 "media", | 278 "media", |
279 "p2p", | 279 "p2p", |
280 "pc", | 280 "pc", |
281 ] | 281 ] |
282 } | 282 } |
283 | 283 |
284 if (rtc_enable_protobuf) { | 284 if (rtc_enable_protobuf) { |
285 defines += [ "ENABLE_RTC_EVENT_LOG" ] | 285 defines += [ "ENABLE_RTC_EVENT_LOG" ] |
286 deps += [ ":rtc_event_log_proto" ] | 286 deps += [ "logging:rtc_event_log_proto" ] |
287 } | 287 } |
288 } | 288 } |
289 } | 289 } |
290 | 290 |
291 rtc_static_library("webrtc_common") { | 291 rtc_static_library("webrtc_common") { |
292 sources = [ | 292 sources = [ |
293 "common_types.cc", | 293 "common_types.cc", |
294 "common_types.h", | 294 "common_types.h", |
295 "config.cc", | 295 "config.cc", |
296 "config.h", | 296 "config.h", |
297 "engine_configurations.h", | 297 "engine_configurations.h", |
298 "typedefs.h", | 298 "typedefs.h", |
299 ] | 299 ] |
300 | 300 |
301 if (is_clang && !is_nacl) { | 301 if (is_clang && !is_nacl) { |
302 # Suppress warnings from Chrome's Clang plugins. | 302 # Suppress warnings from Chrome's Clang plugins. |
303 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 303 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
304 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 304 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
305 } | 305 } |
306 } | 306 } |
307 | 307 |
308 if (rtc_enable_protobuf) { | |
309 proto_library("rtc_event_log_proto") { | |
310 sources = [ | |
311 "call/rtc_event_log.proto", | |
312 ] | |
313 proto_out_dir = "webrtc/call" | |
314 } | |
315 } | |
316 | |
317 if (rtc_enable_protobuf) { | |
318 rtc_static_library("rtc_event_log_parser") { | |
319 sources = [ | |
320 "call/rtc_event_log_parser.cc", | |
321 "call/rtc_event_log_parser.h", | |
322 ] | |
323 | |
324 public_deps = [ | |
325 ":rtc_event_log_proto", | |
326 ":webrtc_common", | |
327 ] | |
328 | |
329 if (is_clang && !is_nacl) { | |
330 # Suppress warnings from Chrome's Clang plugins. | |
331 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | |
332 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | |
333 } | |
334 } | |
335 } | |
336 | |
337 if (use_libfuzzer || use_drfuzz || use_afl) { | 308 if (use_libfuzzer || use_drfuzz || use_afl) { |
338 # This target is only here for gn to discover fuzzer build targets under | 309 # This target is only here for gn to discover fuzzer build targets under |
339 # webrtc/test/fuzzers/. | 310 # webrtc/test/fuzzers/. |
340 group("webrtc_fuzzers_dummy") { | 311 group("webrtc_fuzzers_dummy") { |
341 testonly = true | 312 testonly = true |
342 deps = [ | 313 deps = [ |
343 "test/fuzzers:webrtc_fuzzer_main", | 314 "test/fuzzers:webrtc_fuzzer_main", |
344 ] | 315 ] |
345 } | 316 } |
346 } | 317 } |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 "base:rtc_base", | 492 "base:rtc_base", |
522 "base:rtc_base_tests_utils", | 493 "base:rtc_base_tests_utils", |
523 "base:rtc_task_queue", | 494 "base:rtc_task_queue", |
524 "p2p:libstunprober", | 495 "p2p:libstunprober", |
525 "p2p:rtc_p2p", | 496 "p2p:rtc_p2p", |
526 "//testing/gmock", | 497 "//testing/gmock", |
527 "//testing/gtest", | 498 "//testing/gtest", |
528 ] | 499 ] |
529 | 500 |
530 if (rtc_enable_protobuf) { | 501 if (rtc_enable_protobuf) { |
531 deps += [ "call:rtc_event_log_tests" ] | 502 deps += [ "logging:rtc_event_log_tests" ] |
532 } | 503 } |
533 | 504 |
534 if (is_android) { | 505 if (is_android) { |
535 deps += [ "//testing/android/native_test:native_test_support" ] | 506 deps += [ "//testing/android/native_test:native_test_support" ] |
536 shard_timeout = 900 | 507 shard_timeout = 900 |
537 } | 508 } |
538 | 509 |
539 if (is_ios || (is_mac && mac_deployment_target == "10.7")) { | 510 if (is_ios || (is_mac && mac_deployment_target == "10.7")) { |
540 deps += [ | 511 deps += [ |
541 "sdk:rtc_sdk_peerconnection_objc", | 512 "sdk:rtc_sdk_peerconnection_objc", |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
821 ] | 792 ] |
822 | 793 |
823 deps = [ | 794 deps = [ |
824 "//webrtc/api:libjingle_peerconnection_java", | 795 "//webrtc/api:libjingle_peerconnection_java", |
825 "//webrtc/api:libjingle_peerconnection_jni", | 796 "//webrtc/api:libjingle_peerconnection_jni", |
826 "//webrtc/examples:AppRTCMobile_javalib", | 797 "//webrtc/examples:AppRTCMobile_javalib", |
827 ] | 798 ] |
828 } | 799 } |
829 } | 800 } |
830 } | 801 } |
OLD | NEW |