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

Side by Side Diff: webrtc/call/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 | « webrtc/audio/webrtc_audio.gypi ('k') | webrtc/call/DEPS » ('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) 2015 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2015 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
11 rtc_static_library("call") { 11 rtc_static_library("call") {
12 sources = [ 12 sources = [
13 "bitrate_allocator.cc", 13 "bitrate_allocator.cc",
14 "call.cc", 14 "call.cc",
15 "transport_adapter.cc", 15 "transport_adapter.cc",
16 "transport_adapter.h", 16 "transport_adapter.h",
17 ] 17 ]
18 18
19 if (is_clang) { 19 if (is_clang) {
20 # Suppress warnings from Chrome's Clang plugins. 20 # Suppress warnings from Chrome's Clang plugins.
21 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 21 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
22 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 22 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
23 } 23 }
24 24
25 deps = [ 25 deps = [
26 ":rtc_event_log",
27 "..:webrtc_common", 26 "..:webrtc_common",
28 "../api:call_api", 27 "../api:call_api",
29 "../audio", 28 "../audio",
30 "../base:rtc_task_queue", 29 "../base:rtc_task_queue",
30 "../logging:rtc_event_log_impl",
31 "../modules/congestion_controller", 31 "../modules/congestion_controller",
32 "../modules/rtp_rtcp", 32 "../modules/rtp_rtcp",
33 "../system_wrappers", 33 "../system_wrappers",
34 "../video", 34 "../video",
35 ] 35 ]
36 } 36 }
37 37
38 rtc_static_library("rtc_event_log") {
39 sources = [
40 "rtc_event_log.cc",
41 "rtc_event_log.h",
42 "rtc_event_log_helper_thread.cc",
43 "rtc_event_log_helper_thread.h",
44 ]
45
46 defines = []
47
48 deps = [
49 "..:webrtc_common",
50 "../modules/rtp_rtcp",
51 ]
52
53 if (rtc_enable_protobuf) {
54 defines += [ "ENABLE_RTC_EVENT_LOG" ]
55 deps += [ "..:rtc_event_log_proto" ]
56 }
57 if (is_clang && !is_nacl) {
58 # Suppress warnings from Chrome's Clang plugins.
59 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
60 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
61 }
62 }
63
64 if (rtc_include_tests) { 38 if (rtc_include_tests) {
65 rtc_source_set("call_tests") { 39 rtc_source_set("call_tests") {
66 testonly = true 40 testonly = true
67 sources = [ 41 sources = [
68 "bitrate_allocator_unittest.cc", 42 "bitrate_allocator_unittest.cc",
69 "bitrate_estimator_tests.cc", 43 "bitrate_estimator_tests.cc",
70 "call_unittest.cc", 44 "call_unittest.cc",
71 "packet_injection_tests.cc", 45 "packet_injection_tests.cc",
72 "ringbuffer_unittest.cc",
73 ] 46 ]
74 deps = [ 47 deps = [
75 ":call", 48 ":call",
76 "//testing/gmock", 49 "//testing/gmock",
77 "//testing/gtest", 50 "//testing/gtest",
78 ] 51 ]
79 if (is_clang) { 52 if (is_clang) {
80 # Suppress warnings from the Chromium Clang plugin. 53 # Suppress warnings from the Chromium Clang plugin.
81 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 54 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
82 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 55 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
83 } 56 }
84 } 57 }
85 rtc_source_set("rtc_event_log_tests") {
86 testonly = true
87 sources = [
88 "rtc_event_log_unittest.cc",
89 "rtc_event_log_unittest_helper.cc",
90 ]
91 deps = [
92 ":rtc_event_log",
93 "..:rtc_event_log_parser",
94 "../modules/rtp_rtcp",
95 "../system_wrappers:metrics_default",
96 "//testing/gmock",
97 "//testing/gtest",
98 ]
99 if (is_clang) {
100 # Suppress warnings from the Chromium Clang plugin.
101 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
102 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
103 }
104 }
105 } 58 }
OLDNEW
« no previous file with comments | « webrtc/audio/webrtc_audio.gypi ('k') | webrtc/call/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698