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

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

Issue 2974863003: Use relative paths in GN files. (Closed)
Patch Set: Created 3 years, 5 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/BUILD.gn ('k') | webrtc/modules/audio_conference_mixer/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 import("audio_coding.gni") 10 import("audio_coding.gni")
(...skipping 1246 matching lines...) Expand 10 before | Expand all | Expand 10 after
1257 } 1257 }
1258 } 1258 }
1259 1259
1260 rtc_source_set("audio_coding_modules_tests") { 1260 rtc_source_set("audio_coding_modules_tests") {
1261 testonly = true 1261 testonly = true
1262 1262
1263 # Skip restricting visibility on mobile platforms since the tests on those 1263 # Skip restricting visibility on mobile platforms since the tests on those
1264 # gets additional generated targets which would require many lines here to 1264 # gets additional generated targets which would require many lines here to
1265 # cover (which would be confusing to read and hard to maintain). 1265 # cover (which would be confusing to read and hard to maintain).
1266 if (!is_android && !is_ios) { 1266 if (!is_android && !is_ios) {
1267 visibility = [ "//webrtc/modules:modules_tests" ] 1267 visibility = [ "..:modules_tests" ]
1268 } 1268 }
1269 sources = [ 1269 sources = [
1270 "test/ACMTest.h", 1270 "test/ACMTest.h",
1271 "test/APITest.cc", 1271 "test/APITest.cc",
1272 "test/APITest.h", 1272 "test/APITest.h",
1273 "test/Channel.cc", 1273 "test/Channel.cc",
1274 "test/Channel.h", 1274 "test/Channel.h",
1275 "test/EncodeDecodeTest.cc", 1275 "test/EncodeDecodeTest.cc",
1276 "test/EncodeDecodeTest.h", 1276 "test/EncodeDecodeTest.h",
1277 "test/PCMFile.cc", 1277 "test/PCMFile.cc",
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
1324 } 1324 }
1325 } 1325 }
1326 1326
1327 rtc_source_set("audio_coding_perf_tests") { 1327 rtc_source_set("audio_coding_perf_tests") {
1328 testonly = true 1328 testonly = true
1329 1329
1330 # Skip restricting visibility on mobile platforms since the tests on those 1330 # Skip restricting visibility on mobile platforms since the tests on those
1331 # gets additional generated targets which would require many lines here to 1331 # gets additional generated targets which would require many lines here to
1332 # cover (which would be confusing to read and hard to maintain). 1332 # cover (which would be confusing to read and hard to maintain).
1333 if (!is_android && !is_ios) { 1333 if (!is_android && !is_ios) {
1334 visibility = [ "//webrtc:webrtc_perf_tests" ] 1334 visibility = [ "../..:webrtc_perf_tests" ]
1335 } 1335 }
1336 sources = [ 1336 sources = [
1337 "codecs/opus/opus_complexity_unittest.cc", 1337 "codecs/opus/opus_complexity_unittest.cc",
1338 "neteq/test/neteq_performance_unittest.cc", 1338 "neteq/test/neteq_performance_unittest.cc",
1339 ] 1339 ]
1340 deps = [ 1340 deps = [
1341 ":neteq_test_support", 1341 ":neteq_test_support",
1342 ":neteq_test_tools", 1342 ":neteq_test_tools",
1343 ":webrtc_opus", 1343 ":webrtc_opus",
1344 "../..:webrtc_common", 1344 "../..:webrtc_common",
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
1446 "../../system_wrappers", 1446 "../../system_wrappers",
1447 "../../system_wrappers:system_wrappers_default", 1447 "../../system_wrappers:system_wrappers_default",
1448 "../../test:test_support", 1448 "../../test:test_support",
1449 "../rtp_rtcp", 1449 "../rtp_rtcp",
1450 "//testing/gtest", 1450 "//testing/gtest",
1451 "//third_party/gflags:gflags", 1451 "//third_party/gflags:gflags",
1452 ] 1452 ]
1453 } # insert_packet_with_timing 1453 } # insert_packet_with_timing
1454 1454
1455 audio_decoder_unittests_resources = 1455 audio_decoder_unittests_resources =
1456 [ "//resources/audio_coding/testfile32kHz.pcm" ] 1456 [ "../../../resources/audio_coding/testfile32kHz.pcm" ]
1457 1457
1458 if (is_ios) { 1458 if (is_ios) {
1459 bundle_data("audio_decoder_unittests_bundle_data") { 1459 bundle_data("audio_decoder_unittests_bundle_data") {
1460 testonly = true 1460 testonly = true
1461 sources = audio_decoder_unittests_resources 1461 sources = audio_decoder_unittests_resources
1462 outputs = [ 1462 outputs = [
1463 "{{bundle_resources_dir}}/{{source_file_part}}", 1463 "{{bundle_resources_dir}}/{{source_file_part}}",
1464 ] 1464 ]
1465 } 1465 }
1466 } 1466 }
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
2054 } 2054 }
2055 } 2055 }
2056 2056
2057 rtc_source_set("audio_coding_unittests") { 2057 rtc_source_set("audio_coding_unittests") {
2058 testonly = true 2058 testonly = true
2059 2059
2060 # Skip restricting visibility on mobile platforms since the tests on those 2060 # Skip restricting visibility on mobile platforms since the tests on those
2061 # gets additional generated targets which would require many lines here to 2061 # gets additional generated targets which would require many lines here to
2062 # cover (which would be confusing to read and hard to maintain). 2062 # cover (which would be confusing to read and hard to maintain).
2063 if (!is_android && !is_ios) { 2063 if (!is_android && !is_ios) {
2064 visibility = [ "//webrtc/modules:modules_unittests" ] 2064 visibility = [ "..:modules_unittests" ]
2065 } 2065 }
2066 sources = [ 2066 sources = [
2067 "acm2/acm_receiver_unittest.cc", 2067 "acm2/acm_receiver_unittest.cc",
2068 "acm2/audio_coding_module_unittest.cc", 2068 "acm2/audio_coding_module_unittest.cc",
2069 "acm2/call_statistics_unittest.cc", 2069 "acm2/call_statistics_unittest.cc",
2070 "acm2/codec_manager_unittest.cc", 2070 "acm2/codec_manager_unittest.cc",
2071 "acm2/rent_a_codec_unittest.cc", 2071 "acm2/rent_a_codec_unittest.cc",
2072 "audio_network_adaptor/audio_network_adaptor_impl_unittest.cc", 2072 "audio_network_adaptor/audio_network_adaptor_impl_unittest.cc",
2073 "audio_network_adaptor/bitrate_controller_unittest.cc", 2073 "audio_network_adaptor/bitrate_controller_unittest.cc",
2074 "audio_network_adaptor/channel_controller_unittest.cc", 2074 "audio_network_adaptor/channel_controller_unittest.cc",
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
2240 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. 2240 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead.
2241 # TODO(ossu): Remove this. 2241 # TODO(ossu): Remove this.
2242 rtc_source_set("builtin_audio_encoder_factory") { 2242 rtc_source_set("builtin_audio_encoder_factory") {
2243 sources = [ 2243 sources = [
2244 "codecs/builtin_audio_encoder_factory.h", 2244 "codecs/builtin_audio_encoder_factory.h",
2245 ] 2245 ]
2246 deps = [ 2246 deps = [
2247 "../../api/audio_codecs:builtin_audio_encoder_factory", 2247 "../../api/audio_codecs:builtin_audio_encoder_factory",
2248 ] 2248 ]
2249 } 2249 }
OLDNEW
« no previous file with comments | « webrtc/modules/BUILD.gn ('k') | webrtc/modules/audio_conference_mixer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698