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

Side by Side Diff: webrtc/call/BUILD.gn

Issue 2720503003: Enable GN check for webrtc/call (Closed)
Patch Set: Rebased Created 3 years, 9 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 | « .gn ('k') | no next file » | 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("../webrtc.gni") 9 import("../webrtc.gni")
10 10
11 rtc_source_set("call_interfaces") { 11 rtc_source_set("call_interfaces") {
12 sources = [ 12 sources = [
13 "audio_receive_stream.h", 13 "audio_receive_stream.h",
14 "audio_send_stream.cc", 14 "audio_send_stream.cc",
15 "audio_send_stream.h", 15 "audio_send_stream.h",
16 "audio_state.h", 16 "audio_state.h",
17 "call.h", 17 "call.h",
18 "flexfec_receive_stream.h", 18 "flexfec_receive_stream.h",
19 "syncable.cc", 19 "syncable.cc",
20 "syncable.h", 20 "syncable.h",
21 ] 21 ]
22 deps = [
23 "..:webrtc_common",
24 "../api:audio_mixer_api",
25 "../api:transport_api",
26 "../api/audio_codecs:audio_codecs_api",
27 "../base:rtc_base",
28 "../base:rtc_base_approved",
29 "../modules/audio_coding:audio_encoder_interface",
30 ]
22 } 31 }
23 32
24 rtc_static_library("call") { 33 rtc_static_library("call") {
25 sources = [ 34 sources = [
26 "bitrate_allocator.cc", 35 "bitrate_allocator.cc",
27 "call.cc", 36 "call.cc",
28 "flexfec_receive_stream_impl.cc", 37 "flexfec_receive_stream_impl.cc",
29 "flexfec_receive_stream_impl.h", 38 "flexfec_receive_stream_impl.h",
30 ] 39 ]
31 40
32 if (!build_with_chromium && is_clang) { 41 if (!build_with_chromium && is_clang) {
33 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 42 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
34 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 43 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
35 } 44 }
36 45
37 public_deps = [ 46 public_deps = [
38 ":call_interfaces", 47 ":call_interfaces",
39 "../api:call_api", 48 "../api:call_api",
40 ] 49 ]
41 50
42 deps = [ 51 deps = [
43 ":call_interfaces", 52 ":call_interfaces",
44 "..:webrtc_common", 53 "..:webrtc_common",
45 "../api:transport_api", 54 "../api:transport_api",
46 "../audio", 55 "../audio",
47 "../base:rtc_task_queue", 56 "../base:rtc_task_queue",
57 "../logging:rtc_event_log_api",
48 "../logging:rtc_event_log_impl", 58 "../logging:rtc_event_log_impl",
59 "../modules/bitrate_controller",
49 "../modules/congestion_controller", 60 "../modules/congestion_controller",
61 "../modules/pacing",
50 "../modules/rtp_rtcp", 62 "../modules/rtp_rtcp",
63 "../modules/utility",
51 "../system_wrappers", 64 "../system_wrappers",
52 "../video", 65 "../video",
53 ] 66 ]
54 } 67 }
55 68
56 if (rtc_include_tests) { 69 if (rtc_include_tests) {
57 rtc_source_set("call_tests") { 70 rtc_source_set("call_tests") {
58 testonly = true 71 testonly = true
59 sources = [ 72 sources = [
60 "bitrate_allocator_unittest.cc", 73 "bitrate_allocator_unittest.cc",
61 "bitrate_estimator_tests.cc", 74 "bitrate_estimator_tests.cc",
62 "call_unittest.cc", 75 "call_unittest.cc",
63 "flexfec_receive_stream_unittest.cc", 76 "flexfec_receive_stream_unittest.cc",
64 ] 77 ]
65 deps = [ 78 deps = [
66 ":call", 79 ":call",
67 "../base:rtc_base_approved", 80 "../base:rtc_base_approved",
81 "../logging:rtc_event_log_api",
68 "../modules/audio_device:mock_audio_device", 82 "../modules/audio_device:mock_audio_device",
69 "../modules/audio_mixer", 83 "../modules/audio_mixer",
84 "../modules/bitrate_controller",
85 "../modules/pacing",
86 "../modules/rtp_rtcp",
87 "../system_wrappers",
88 "../test:direct_transport",
70 "../test:test_common", 89 "../test:test_common",
90 "../test:test_support",
91 "../test:video_test_common",
71 "//testing/gmock", 92 "//testing/gmock",
72 "//testing/gtest", 93 "//testing/gtest",
73 ] 94 ]
74 if (!build_with_chromium && is_clang) { 95 if (!build_with_chromium && is_clang) {
75 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 96 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
76 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 97 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
77 } 98 }
78 } 99 }
79 100
80 rtc_source_set("call_perf_tests") { 101 rtc_source_set("call_perf_tests") {
81 testonly = true 102 testonly = true
82 sources = [ 103 sources = [
83 "call_perf_tests.cc", 104 "call_perf_tests.cc",
84 "rampup_tests.cc", 105 "rampup_tests.cc",
85 "rampup_tests.h", 106 "rampup_tests.h",
86 ] 107 ]
87 deps = [ 108 deps = [
109 ":call_interfaces",
110 "..:webrtc_common",
111 "../base:rtc_base_approved",
112 "../logging:rtc_event_log_api",
113 "../modules/audio_coding",
114 "../modules/audio_mixer:audio_mixer_impl",
115 "../modules/rtp_rtcp",
116 "../system_wrappers",
117 "../system_wrappers:metrics_default",
118 "../test:direct_transport",
119 "../test:test_support",
120 "../test:video_test_common",
121 "../video",
122 "../voice_engine",
88 "//testing/gtest", 123 "//testing/gtest",
89 "//webrtc/test:test_common", 124 "//webrtc/test:test_common",
90 ] 125 ]
91 if (!build_with_chromium && is_clang) { 126 if (!build_with_chromium && is_clang) {
92 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 127 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
93 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 128 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
94 } 129 }
95 } 130 }
96 } 131 }
OLDNEW
« no previous file with comments | « .gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698