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

Side by Side Diff: webrtc/modules/rtp_rtcp/BUILD.gn

Issue 2843913002: Reland of Creating webrtc/modules:module_api (Closed)
Patch Set: Fixing syntax error in BUILD.gn file Created 3 years, 7 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/modules/remote_bitrate_estimator/BUILD.gn ('k') | webrtc/modules/utility/BUILD.gn » ('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 import("../../webrtc.gni") 9 import("../../webrtc.gni")
10 10
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 } else { 159 } else {
160 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ] 160 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ]
161 } 161 }
162 162
163 if (!build_with_chromium && is_clang) { 163 if (!build_with_chromium && is_clang) {
164 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 164 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
165 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 165 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
166 } 166 }
167 167
168 deps = [ 168 deps = [
169 "..:module_api",
169 "../..:webrtc_common", 170 "../..:webrtc_common",
170 "../../api:libjingle_peerconnection_api", 171 "../../api:libjingle_peerconnection_api",
171 "../../api:transport_api", 172 "../../api:transport_api",
172 "../../api/audio_codecs:audio_codecs_api", 173 "../../api/audio_codecs:audio_codecs_api",
173 "../../base:gtest_prod", 174 "../../base:gtest_prod",
174 "../../base:rtc_base_approved", 175 "../../base:rtc_base_approved",
175 "../../base:rtc_task_queue", 176 "../../base:rtc_task_queue",
176 "../../call:call_interfaces", 177 "../../call:call_interfaces",
177 "../../common_video", 178 "../../common_video",
178 "../../logging:rtc_event_log_api", 179 "../../logging:rtc_event_log_api",
(...skipping 14 matching lines...) Expand all
193 } 194 }
194 195
195 rtc_source_set("fec_test_helper") { 196 rtc_source_set("fec_test_helper") {
196 testonly = true 197 testonly = true
197 sources = [ 198 sources = [
198 "source/fec_test_helper.cc", 199 "source/fec_test_helper.cc",
199 "source/fec_test_helper.h", 200 "source/fec_test_helper.h",
200 ] 201 ]
201 deps = [ 202 deps = [
202 ":rtp_rtcp", 203 ":rtp_rtcp",
204 "..:module_api",
203 "../../base:rtc_base_approved", 205 "../../base:rtc_base_approved",
204 ] 206 ]
205 207
206 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. 208 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning.
207 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 209 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
208 if (!build_with_chromium && is_clang) { 210 if (!build_with_chromium && is_clang) {
209 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 211 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
210 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 212 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
211 } 213 }
212 } 214 }
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 } 252 }
251 } 253 }
252 254
253 rtc_source_set("mock_rtp_rtcp") { 255 rtc_source_set("mock_rtp_rtcp") {
254 testonly = true 256 testonly = true
255 sources = [ 257 sources = [
256 "mocks/mock_rtp_rtcp.h", 258 "mocks/mock_rtp_rtcp.h",
257 ] 259 ]
258 deps = [ 260 deps = [
259 ":rtp_rtcp", 261 ":rtp_rtcp",
262 "..:module_api",
260 "../../base:rtc_base_approved", 263 "../../base:rtc_base_approved",
261 "../../test:test_support", 264 "../../test:test_support",
262 ] 265 ]
263 } 266 }
264 267
265 rtc_source_set("rtp_rtcp_unittests") { 268 rtc_source_set("rtp_rtcp_unittests") {
266 testonly = true 269 testonly = true
267 270
268 # Skip restricting visibility on mobile platforms since the tests on those 271 # Skip restricting visibility on mobile platforms since the tests on those
269 # gets additional generated targets which would require many lines here to 272 # gets additional generated targets which would require many lines here to
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 "test/testAPI/test_api.cc", 332 "test/testAPI/test_api.cc",
330 "test/testAPI/test_api.h", 333 "test/testAPI/test_api.h",
331 "test/testAPI/test_api_audio.cc", 334 "test/testAPI/test_api_audio.cc",
332 "test/testAPI/test_api_rtcp.cc", 335 "test/testAPI/test_api_rtcp.cc",
333 "test/testAPI/test_api_video.cc", 336 "test/testAPI/test_api_video.cc",
334 ] 337 ]
335 deps = [ 338 deps = [
336 ":fec_test_helper", 339 ":fec_test_helper",
337 ":mock_rtp_rtcp", 340 ":mock_rtp_rtcp",
338 ":rtp_rtcp", 341 ":rtp_rtcp",
342 "..:module_api",
339 "../..:webrtc_common", 343 "../..:webrtc_common",
340 "../../api:transport_api", 344 "../../api:transport_api",
341 "../../base:rtc_base_approved", 345 "../../base:rtc_base_approved",
342 "../../common_video:common_video", 346 "../../common_video:common_video",
343 "../../system_wrappers:system_wrappers", 347 "../../system_wrappers:system_wrappers",
344 "../../test:field_trial", 348 "../../test:field_trial",
345 "../../test:rtp_test_utils", 349 "../../test:rtp_test_utils",
346 "../../test:test_common", 350 "../../test:test_common",
347 "../../test:test_support", 351 "../../test:test_support",
348 "//testing/gmock", 352 "//testing/gmock",
349 ] 353 ]
350 354
351 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. 355 # TODO(jschuh): bugs.webrtc.org/1348: fix this warning.
352 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 356 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
353 if (!build_with_chromium && is_clang) { 357 if (!build_with_chromium && is_clang) {
354 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 358 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
355 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 359 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
356 } 360 }
357 } 361 }
358 } 362 }
OLDNEW
« no previous file with comments | « webrtc/modules/remote_bitrate_estimator/BUILD.gn ('k') | webrtc/modules/utility/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698