OLD | NEW |
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 1367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1378 ":neteq_unittest_tools", | 1378 ":neteq_unittest_tools", |
1379 "../..:webrtc_common", | 1379 "../..:webrtc_common", |
1380 "../../base:rtc_base_approved", | 1380 "../../base:rtc_base_approved", |
1381 "../../system_wrappers:system_wrappers_default", | 1381 "../../system_wrappers:system_wrappers_default", |
1382 "../../test:test_support", | 1382 "../../test:test_support", |
1383 "//third_party/gflags", | 1383 "//third_party/gflags", |
1384 ] | 1384 ] |
1385 } | 1385 } |
1386 } | 1386 } |
1387 | 1387 |
| 1388 audio_codec_speed_tests_resources = [ |
| 1389 "//resources/audio_coding/music_stereo_48kHz.pcm", |
| 1390 "//resources/audio_coding/speech_mono_16kHz.pcm", |
| 1391 "//resources/audio_coding/speech_mono_32_48kHz.pcm", |
| 1392 ] |
| 1393 |
| 1394 if (is_ios) { |
| 1395 bundle_data("audio_codec_speed_tests_data") { |
| 1396 testonly = true |
| 1397 sources = audio_codec_speed_tests_resources |
| 1398 outputs = [ |
| 1399 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 1400 ] |
| 1401 } |
| 1402 } |
| 1403 |
1388 rtc_test("audio_codec_speed_tests") { | 1404 rtc_test("audio_codec_speed_tests") { |
1389 testonly = true | 1405 testonly = true |
1390 defines = [] | 1406 defines = [] |
1391 deps = [] | 1407 deps = [] |
1392 sources = [ | 1408 sources = [ |
1393 "codecs/isac/fix/test/isac_speed_test.cc", | 1409 "codecs/isac/fix/test/isac_speed_test.cc", |
1394 "codecs/opus/opus_speed_test.cc", | 1410 "codecs/opus/opus_speed_test.cc", |
1395 "codecs/tools/audio_codec_speed_test.cc", | 1411 "codecs/tools/audio_codec_speed_test.cc", |
1396 "codecs/tools/audio_codec_speed_test.h", | 1412 "codecs/tools/audio_codec_speed_test.h", |
1397 ] | 1413 ] |
1398 | 1414 |
1399 if (!build_with_chromium && is_clang) { | 1415 if (!build_with_chromium && is_clang) { |
1400 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1416 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
1401 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1417 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1402 } | 1418 } |
1403 | 1419 |
| 1420 data = audio_codec_speed_tests_resources |
| 1421 |
1404 if (is_android) { | 1422 if (is_android) { |
1405 deps += [ "//testing/android/native_test:native_test_native_code" ] | 1423 deps += [ "//testing/android/native_test:native_test_native_code" ] |
1406 shard_timeout = 900 | 1424 shard_timeout = 900 |
1407 } | 1425 } |
1408 | 1426 |
| 1427 if (is_ios) { |
| 1428 deps += [ ":audio_codec_speed_tests_data" ] |
| 1429 } |
| 1430 |
1409 deps += [ | 1431 deps += [ |
1410 ":isac_fix", | 1432 ":isac_fix", |
1411 ":webrtc_opus", | 1433 ":webrtc_opus", |
1412 "../..:webrtc_common", | 1434 "../..:webrtc_common", |
1413 "../../base:rtc_base_approved", | 1435 "../../base:rtc_base_approved", |
1414 "../../system_wrappers:system_wrappers_default", | 1436 "../../system_wrappers:system_wrappers_default", |
1415 "../../test:test_main", | 1437 "../../test:test_main", |
1416 "../audio_processing", | 1438 "../audio_processing", |
1417 "//testing/gtest", | 1439 "//testing/gtest", |
1418 ] | 1440 ] |
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2106 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. | 2128 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. |
2107 # TODO(kwiberg): Remove this. | 2129 # TODO(kwiberg): Remove this. |
2108 rtc_source_set("builtin_audio_decoder_factory") { | 2130 rtc_source_set("builtin_audio_decoder_factory") { |
2109 sources = [ | 2131 sources = [ |
2110 "codecs/builtin_audio_decoder_factory.h", | 2132 "codecs/builtin_audio_decoder_factory.h", |
2111 ] | 2133 ] |
2112 deps = [ | 2134 deps = [ |
2113 "../../api/audio_codecs:builtin_audio_decoder_factory", | 2135 "../../api/audio_codecs:builtin_audio_decoder_factory", |
2114 ] | 2136 ] |
2115 } | 2137 } |
OLD | NEW |