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

Side by Side Diff: webrtc/BUILD.gn

Issue 2380683005: Moved RtcEventLog files from call/ to logging/ (new top level dir) (Closed)
Patch Set: Rebase to master 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 | « no previous file | webrtc/audio/webrtc_audio.gypi » ('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 # 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
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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 "base:rtc_base", 493 "base:rtc_base",
523 "base:rtc_base_tests_utils", 494 "base:rtc_base_tests_utils",
524 "base:rtc_task_queue", 495 "base:rtc_task_queue",
525 "p2p:libstunprober", 496 "p2p:libstunprober",
526 "p2p:rtc_p2p", 497 "p2p:rtc_p2p",
527 "//testing/gmock", 498 "//testing/gmock",
528 "//testing/gtest", 499 "//testing/gtest",
529 ] 500 ]
530 501
531 if (rtc_enable_protobuf) { 502 if (rtc_enable_protobuf) {
532 deps += [ "call:rtc_event_log_tests" ] 503 deps += [ "logging:rtc_event_log_tests" ]
533 } 504 }
534 505
535 if (is_android) { 506 if (is_android) {
536 deps += [ "//testing/android/native_test:native_test_support" ] 507 deps += [ "//testing/android/native_test:native_test_support" ]
537 shard_timeout = 900 508 shard_timeout = 900
538 } 509 }
539 510
540 if (is_ios || (is_mac && mac_deployment_target == "10.7")) { 511 if (is_ios || (is_mac && mac_deployment_target == "10.7")) {
541 deps += [ 512 deps += [
542 "sdk:rtc_sdk_peerconnection_objc", 513 "sdk:rtc_sdk_peerconnection_objc",
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 794
824 deps = [ 795 deps = [
825 "//base:base_java_test_support", 796 "//base:base_java_test_support",
826 "//webrtc/api:libjingle_peerconnection_java", 797 "//webrtc/api:libjingle_peerconnection_java",
827 "//webrtc/api:libjingle_peerconnection_jni", 798 "//webrtc/api:libjingle_peerconnection_jni",
828 "//webrtc/examples:AppRTCMobile_javalib", 799 "//webrtc/examples:AppRTCMobile_javalib",
829 ] 800 ]
830 } 801 }
831 } 802 }
832 } 803 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/audio/webrtc_audio.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698