Bug 1952339 - Vendor libwebrtc from 0f2354087d
Upstream commit: https://webrtc.googlesource.com/src/+/0f2354087d04a77bfe165eca64278b5fddb7d7ff Add a BUILD.gn file for resources. All build target resources will be moved there in a second step. Change-Id: Iadbb582e133feb375399c839870c7b298f3934c6 Bug: None Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/377282 Commit-Queue: Jeremy Leconte <jleconte@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/main@{#43913} Differential Revision: https://phabricator.services.mozilla.com/D243914
This commit is contained in:
47
third_party/libwebrtc/BUILD.gn
vendored
47
third_party/libwebrtc/BUILD.gn
vendored
@@ -768,20 +768,6 @@ if (rtc_include_tests && !build_with_chromium) {
|
||||
}
|
||||
|
||||
# TODO(pbos): Rename test suite, this is no longer "just" for video targets.
|
||||
video_engine_tests_resources = [
|
||||
"resources/ConferenceMotion_1280_720_50.yuv",
|
||||
"resources/foreman_cif_short.yuv",
|
||||
"resources/voice_engine/audio_long16.pcm",
|
||||
]
|
||||
|
||||
if (is_ios) {
|
||||
bundle_data("video_engine_tests_bundle_data") {
|
||||
testonly = true
|
||||
sources = video_engine_tests_resources
|
||||
outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
|
||||
}
|
||||
}
|
||||
|
||||
rtc_test("video_engine_tests") {
|
||||
testonly = true
|
||||
deps = [
|
||||
@@ -797,36 +783,16 @@ if (rtc_include_tests && !build_with_chromium) {
|
||||
"video:video_tests",
|
||||
"video/adaptation:video_adaptation_tests",
|
||||
]
|
||||
data = video_engine_tests_resources
|
||||
|
||||
data_deps = [ "resources:video_engine_tests_data" ]
|
||||
|
||||
if (is_android) {
|
||||
use_default_launcher = false
|
||||
deps += [ "//build/android/gtest_apk:native_test_instrumentation_test_runner_java" ]
|
||||
shard_timeout = 900
|
||||
}
|
||||
if (is_ios) {
|
||||
deps += [ ":video_engine_tests_bundle_data" ]
|
||||
}
|
||||
}
|
||||
|
||||
webrtc_perf_tests_resources = [
|
||||
"resources/ConferenceMotion_1280_720_50.yuv",
|
||||
"resources/audio_coding/speech_mono_16kHz.pcm",
|
||||
"resources/audio_coding/speech_mono_32_48kHz.pcm",
|
||||
"resources/audio_coding/testfile32kHz.pcm",
|
||||
"resources/difficult_photo_1850_1110.yuv",
|
||||
"resources/foreman_cif.yuv",
|
||||
"resources/paris_qcif.yuv",
|
||||
"resources/photo_1850_1110.yuv",
|
||||
"resources/presentation_1850_1110.yuv",
|
||||
"resources/voice_engine/audio_long16.pcm",
|
||||
"resources/web_screenshot_1850_1110.yuv",
|
||||
]
|
||||
|
||||
if (is_ios) {
|
||||
bundle_data("webrtc_perf_tests_bundle_data") {
|
||||
testonly = true
|
||||
sources = webrtc_perf_tests_resources
|
||||
outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
|
||||
deps += [ "resources:video_engine_tests_bundle_data" ]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -842,14 +808,15 @@ if (rtc_include_tests && !build_with_chromium) {
|
||||
"video:video_pc_full_stack_tests",
|
||||
]
|
||||
|
||||
data = webrtc_perf_tests_resources
|
||||
data_deps = [ "resources:webrtc_perf_tests_data" ]
|
||||
|
||||
if (is_android) {
|
||||
use_default_launcher = false
|
||||
deps += [ "//build/android/gtest_apk:native_test_instrumentation_test_runner_java" ]
|
||||
shard_timeout = 4500
|
||||
}
|
||||
if (is_ios) {
|
||||
deps += [ ":webrtc_perf_tests_bundle_data" ]
|
||||
deps += [ "resources:webrtc_perf_tests_bundle_data" ]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# ./mach python dom/media/webrtc/third_party_build/vendor-libwebrtc.py --from-local /home/mfroman/mozilla/elm/.moz-fast-forward/moz-libwebrtc --commit mozpatches libwebrtc
|
||||
libwebrtc updated from /home/mfroman/mozilla/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-03-07T21:03:28.445337+00:00.
|
||||
libwebrtc updated from /home/mfroman/mozilla/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-03-07T21:04:17.590794+00:00.
|
||||
# base of lastest vendoring
|
||||
b9f8636c5a
|
||||
0f2354087d
|
||||
|
||||
135
third_party/libwebrtc/modules/BUILD.gn
vendored
135
third_party/libwebrtc/modules/BUILD.gn
vendored
@@ -43,21 +43,6 @@ rtc_source_set("module_fec_api") {
|
||||
}
|
||||
|
||||
if (rtc_include_tests && !build_with_chromium) {
|
||||
modules_tests_resources = [
|
||||
"../resources/audio_coding/testfile16kHz.pcm",
|
||||
"../resources/audio_coding/testfile32kHz.pcm",
|
||||
"../resources/audio_coding/teststereo32kHz.pcm",
|
||||
"../resources/foreman_cif.yuv",
|
||||
]
|
||||
|
||||
if (is_ios) {
|
||||
bundle_data("modules_tests_bundle_data") {
|
||||
testonly = true
|
||||
sources = modules_tests_resources
|
||||
outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
|
||||
}
|
||||
}
|
||||
|
||||
rtc_test("modules_tests") {
|
||||
testonly = true
|
||||
|
||||
@@ -74,7 +59,7 @@ if (rtc_include_tests && !build_with_chromium) {
|
||||
deps += [ "desktop_capture:desktop_capture_modules_tests" ]
|
||||
}
|
||||
|
||||
data = modules_tests_resources
|
||||
data_deps = [ "../resources:modules_tests_data" ]
|
||||
|
||||
if (is_android) {
|
||||
use_default_launcher = false
|
||||
@@ -88,121 +73,9 @@ if (rtc_include_tests && !build_with_chromium) {
|
||||
}
|
||||
|
||||
if (is_ios) {
|
||||
deps += [ ":modules_tests_bundle_data" ]
|
||||
deps += [ "../resources:modules_tests_bundle_data" ]
|
||||
}
|
||||
}
|
||||
|
||||
modules_unittests_resources = [
|
||||
"../resources/audio_coding/neteq_opus.rtp",
|
||||
"../resources/audio_coding/neteq_opus_dtx.rtp",
|
||||
"../resources/audio_coding/neteq_universal_new.rtp",
|
||||
"../resources/audio_coding/speech_4_channels_48k_one_second.wav",
|
||||
"../resources/audio_coding/speech_mono_16kHz.pcm",
|
||||
"../resources/audio_coding/speech_mono_32_48kHz.pcm",
|
||||
"../resources/audio_coding/testfile16kHz.pcm",
|
||||
"../resources/audio_coding/testfile32kHz.pcm",
|
||||
"../resources/audio_coding/testfile_fake_stereo_32kHz.pcm",
|
||||
"../resources/audio_coding/teststereo32kHz.pcm",
|
||||
"../resources/audio_device/audio_short16.pcm",
|
||||
"../resources/audio_device/audio_short44.pcm",
|
||||
"../resources/audio_device/audio_short48.pcm",
|
||||
"../resources/audio_processing/agc/agc_audio.pcm",
|
||||
"../resources/audio_processing/agc/agc_no_circular_buffer.dat",
|
||||
"../resources/audio_processing/agc/agc_pitch_gain.dat",
|
||||
"../resources/audio_processing/agc/agc_pitch_lag.dat",
|
||||
"../resources/audio_processing/agc/agc_spectral_peak.dat",
|
||||
"../resources/audio_processing/agc/agc_vad.dat",
|
||||
"../resources/audio_processing/agc/agc_voicing_prob.dat",
|
||||
"../resources/audio_processing/agc/agc_with_circular_buffer.dat",
|
||||
"../resources/audio_processing/output_data_fixed.pb",
|
||||
"../resources/audio_processing/output_data_float.pb",
|
||||
"../resources/audio_processing/output_data_float_avx2.pb",
|
||||
"../resources/audio_processing/output_data_mac.pb",
|
||||
"../resources/audio_processing/transient/ajm-macbook-1-spke16m.pcm",
|
||||
"../resources/audio_processing/transient/audio16kHz.pcm",
|
||||
"../resources/audio_processing/transient/audio32kHz.pcm",
|
||||
"../resources/audio_processing/transient/audio48kHz.pcm",
|
||||
"../resources/audio_processing/transient/audio8kHz.pcm",
|
||||
"../resources/audio_processing/transient/detect16kHz.dat",
|
||||
"../resources/audio_processing/transient/detect32kHz.dat",
|
||||
"../resources/audio_processing/transient/detect48kHz.dat",
|
||||
"../resources/audio_processing/transient/detect8kHz.dat",
|
||||
"../resources/audio_processing/transient/double-utils.dat",
|
||||
"../resources/audio_processing/transient/float-utils.dat",
|
||||
"../resources/audio_processing/transient/suppressed16kHz.pcm",
|
||||
"../resources/audio_processing/transient/suppressed32kHz.pcm",
|
||||
"../resources/audio_processing/transient/suppressed8kHz.pcm",
|
||||
"../resources/audio_processing/transient/wpd0.dat",
|
||||
"../resources/audio_processing/transient/wpd1.dat",
|
||||
"../resources/audio_processing/transient/wpd2.dat",
|
||||
"../resources/audio_processing/transient/wpd3.dat",
|
||||
"../resources/audio_processing/transient/wpd4.dat",
|
||||
"../resources/audio_processing/transient/wpd5.dat",
|
||||
"../resources/audio_processing/transient/wpd6.dat",
|
||||
"../resources/audio_processing/transient/wpd7.dat",
|
||||
"../resources/far16_stereo.pcm",
|
||||
"../resources/far176_stereo.pcm",
|
||||
"../resources/far192_stereo.pcm",
|
||||
"../resources/far22_stereo.pcm",
|
||||
"../resources/far32_stereo.pcm",
|
||||
"../resources/far44_stereo.pcm",
|
||||
"../resources/far48_stereo.pcm",
|
||||
"../resources/far88_stereo.pcm",
|
||||
"../resources/far8_stereo.pcm",
|
||||
"../resources/far96_stereo.pcm",
|
||||
"../resources/foreman_cif.yuv",
|
||||
"../resources/foreman_cif_short.yuv",
|
||||
"../resources/near16_stereo.pcm",
|
||||
"../resources/near176_stereo.pcm",
|
||||
"../resources/near192_stereo.pcm",
|
||||
"../resources/near22_stereo.pcm",
|
||||
"../resources/near32_stereo.pcm",
|
||||
"../resources/near44_stereo.pcm",
|
||||
"../resources/near48_mono.pcm",
|
||||
"../resources/near48_stereo.pcm",
|
||||
"../resources/near88_stereo.pcm",
|
||||
"../resources/near8_stereo.pcm",
|
||||
"../resources/near96_stereo.pcm",
|
||||
"../resources/ref03.aecdump",
|
||||
"../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke1_0_AST.bin",
|
||||
"../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke1_0_TOF.bin",
|
||||
"../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke1_1_AST.bin",
|
||||
"../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke1_1_TOF.bin",
|
||||
"../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke2_0_AST.bin",
|
||||
"../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke2_0_TOF.bin",
|
||||
"../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke2_1_AST.bin",
|
||||
"../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke2_1_TOF.bin",
|
||||
"../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingDelay1_0_AST.bin",
|
||||
"../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingDelay1_0_TOF.bin",
|
||||
"../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingLoss1_0_AST.bin",
|
||||
"../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingLoss1_0_TOF.bin",
|
||||
"../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Multi1_1_AST.bin",
|
||||
"../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Multi1_1_TOF.bin",
|
||||
"../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_0_AST.bin",
|
||||
"../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_0_TOF.bin",
|
||||
"../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_1_AST.bin",
|
||||
"../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_1_TOF.bin",
|
||||
"../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyDelay_0_AST.bin",
|
||||
"../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyDelay_0_TOF.bin",
|
||||
"../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyLoss_0_AST.bin",
|
||||
"../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyLoss_0_TOF.bin",
|
||||
"../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_UnlimitedSpeed_0_AST.bin",
|
||||
"../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_UnlimitedSpeed_0_TOF.bin",
|
||||
"../resources/short_mixed_mono_48.dat",
|
||||
"../resources/short_mixed_mono_48.pcm",
|
||||
"../resources/short_mixed_mono_48_arm.dat",
|
||||
"../resources/short_mixed_stereo_48.dat",
|
||||
"../resources/short_mixed_stereo_48.pcm",
|
||||
"../resources/voice_engine/audio_tiny48.wav",
|
||||
]
|
||||
if (is_ios) {
|
||||
bundle_data("modules_unittests_bundle_data") {
|
||||
testonly = true
|
||||
sources = modules_unittests_resources
|
||||
outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
|
||||
}
|
||||
}
|
||||
|
||||
rtc_test("modules_unittests") {
|
||||
testonly = true
|
||||
defines = []
|
||||
@@ -232,7 +105,7 @@ if (rtc_include_tests && !build_with_chromium) {
|
||||
deps += [ "desktop_capture:desktop_capture_unittests" ]
|
||||
}
|
||||
|
||||
data = modules_unittests_resources
|
||||
data_deps = [ "../resources:modules_unittests_data" ]
|
||||
|
||||
if (is_android) {
|
||||
use_default_launcher = false
|
||||
@@ -241,7 +114,7 @@ if (rtc_include_tests && !build_with_chromium) {
|
||||
}
|
||||
if (is_ios) {
|
||||
info_plist = "../test/ios/Info.plist"
|
||||
deps += [ ":modules_unittests_bundle_data" ]
|
||||
deps += [ "../resources:modules_unittests_bundle_data" ]
|
||||
configs += [ "..:common_objc" ]
|
||||
ldflags = [ "-ObjC" ]
|
||||
}
|
||||
|
||||
@@ -118,7 +118,7 @@ index 12d5e3d4fc..6c011fd453 100644
|
||||
# TODO(https://bugs.webrtc.org/14437): Remove this section if general
|
||||
# Chromium fix resolves the problem.
|
||||
diff --git a/BUILD.gn b/BUILD.gn
|
||||
index 57254354ab..802e2bee95 100644
|
||||
index 0d4c96d9b5..07b6fa1b46 100644
|
||||
--- a/BUILD.gn
|
||||
+++ b/BUILD.gn
|
||||
@@ -33,7 +33,7 @@ if (is_android) {
|
||||
|
||||
@@ -20,7 +20,7 @@ Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/58f47eacaf10d12e2
|
||||
11 files changed, 27 insertions(+), 27 deletions(-)
|
||||
|
||||
diff --git a/BUILD.gn b/BUILD.gn
|
||||
index 802e2bee95..caedfbf5fc 100644
|
||||
index 07b6fa1b46..13ed3c8ce9 100644
|
||||
--- a/BUILD.gn
|
||||
+++ b/BUILD.gn
|
||||
@@ -439,12 +439,12 @@ config("common_config") {
|
||||
|
||||
@@ -18,7 +18,7 @@ Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/0300b32b7de70fb89
|
||||
5 files changed, 10 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/BUILD.gn b/BUILD.gn
|
||||
index caedfbf5fc..d7a284c179 100644
|
||||
index 13ed3c8ce9..42bf3cdded 100644
|
||||
--- a/BUILD.gn
|
||||
+++ b/BUILD.gn
|
||||
@@ -222,6 +222,9 @@ config("common_inherited_config") {
|
||||
|
||||
@@ -11,7 +11,7 @@ Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/b0658888969395dca
|
||||
2 files changed, 10 insertions(+)
|
||||
|
||||
diff --git a/BUILD.gn b/BUILD.gn
|
||||
index d7a284c179..56192ac75e 100644
|
||||
index 42bf3cdded..543696267e 100644
|
||||
--- a/BUILD.gn
|
||||
+++ b/BUILD.gn
|
||||
@@ -631,6 +631,10 @@ if (!build_with_chromium) {
|
||||
|
||||
@@ -11,7 +11,7 @@ Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/2185cab977988fd4a
|
||||
3 files changed, 16 insertions(+)
|
||||
|
||||
diff --git a/BUILD.gn b/BUILD.gn
|
||||
index 56192ac75e..c8ed835ebc 100644
|
||||
index 543696267e..0800e47f0e 100644
|
||||
--- a/BUILD.gn
|
||||
+++ b/BUILD.gn
|
||||
@@ -608,6 +608,7 @@ if (!build_with_chromium) {
|
||||
|
||||
@@ -10,7 +10,7 @@ Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/b050c455caa1d24a0
|
||||
2 files changed, 7 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/BUILD.gn b/BUILD.gn
|
||||
index c8ed835ebc..ab24dbac21 100644
|
||||
index 0800e47f0e..75e46f9310 100644
|
||||
--- a/BUILD.gn
|
||||
+++ b/BUILD.gn
|
||||
@@ -278,6 +278,7 @@ config("rtc_prod_config") {
|
||||
|
||||
@@ -79,7 +79,7 @@ index c810498584..6cec17ccb0 100644
|
||||
# The python interpreter to use by default. On Windows, this will look
|
||||
# for vpython3.exe and vpython3.bat.
|
||||
diff --git a/BUILD.gn b/BUILD.gn
|
||||
index ab24dbac21..24fc2b19ca 100644
|
||||
index 75e46f9310..b162b61b77 100644
|
||||
--- a/BUILD.gn
|
||||
+++ b/BUILD.gn
|
||||
@@ -21,15 +21,15 @@
|
||||
@@ -111,7 +111,7 @@ index ab24dbac21..24fc2b19ca 100644
|
||||
defines = []
|
||||
|
||||
deps = [
|
||||
@@ -875,7 +875,7 @@ rtc_static_library("dcsctp") {
|
||||
@@ -842,7 +842,7 @@ rtc_static_library("dcsctp") {
|
||||
visibility = [ "//:default" ]
|
||||
sources = []
|
||||
complete_static_lib = true
|
||||
|
||||
@@ -9,7 +9,7 @@ Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/90a33b06e51017d25
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/BUILD.gn b/BUILD.gn
|
||||
index 24fc2b19ca..a1e396990f 100644
|
||||
index b162b61b77..cb91c54edc 100644
|
||||
--- a/BUILD.gn
|
||||
+++ b/BUILD.gn
|
||||
@@ -563,6 +563,7 @@ if (!build_with_chromium) {
|
||||
@@ -20,7 +20,7 @@ index 24fc2b19ca..a1e396990f 100644
|
||||
"logging:rtc_event_log_api",
|
||||
"media",
|
||||
"modules",
|
||||
@@ -872,7 +873,7 @@ if (rtc_include_tests && !build_with_chromium) {
|
||||
@@ -839,7 +840,7 @@ if (rtc_include_tests && !build_with_chromium) {
|
||||
# Build target for standalone dcsctp
|
||||
rtc_static_library("dcsctp") {
|
||||
# Only the root target should depend on this.
|
||||
|
||||
@@ -16,7 +16,7 @@ Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/4527c41ef71d7683c
|
||||
4 files changed, 44 insertions(+), 32 deletions(-)
|
||||
|
||||
diff --git a/BUILD.gn b/BUILD.gn
|
||||
index a1e396990f..9c2510ffcf 100644
|
||||
index cb91c54edc..b33b252f06 100644
|
||||
--- a/BUILD.gn
|
||||
+++ b/BUILD.gn
|
||||
@@ -520,6 +520,9 @@ if (!rtc_build_ssl) {
|
||||
|
||||
@@ -10,7 +10,7 @@ Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/27c29807e6f46562d
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/BUILD.gn b/BUILD.gn
|
||||
index 9c2510ffcf..0176ccdbb0 100644
|
||||
index b33b252f06..ba8ce4d2f3 100644
|
||||
--- a/BUILD.gn
|
||||
+++ b/BUILD.gn
|
||||
@@ -614,6 +614,7 @@ if (!build_with_chromium) {
|
||||
|
||||
@@ -8,7 +8,7 @@ Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/0155a8718d5d7f23b
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/BUILD.gn b/BUILD.gn
|
||||
index 0176ccdbb0..ed76de8766 100644
|
||||
index ba8ce4d2f3..723fb7330c 100644
|
||||
--- a/BUILD.gn
|
||||
+++ b/BUILD.gn
|
||||
@@ -598,7 +598,7 @@ if (!build_with_chromium) {
|
||||
|
||||
180
third_party/libwebrtc/resources/BUILD.gn
vendored
Normal file
180
third_party/libwebrtc/resources/BUILD.gn
vendored
Normal file
@@ -0,0 +1,180 @@
|
||||
# Copyright (c) 2025 The WebRTC project authors. All Rights Reserved.
|
||||
#
|
||||
# Use of this source code is governed by a BSD-style license
|
||||
# that can be found in the LICENSE file in the root of the source
|
||||
# tree. An additional intellectual property rights grant can be found
|
||||
# in the file PATENTS. All contributing project authors may
|
||||
# be found in the AUTHORS file in the root of the source tree.
|
||||
|
||||
import("../webrtc.gni")
|
||||
|
||||
modules_tests_resources = [
|
||||
"audio_coding/testfile16kHz.pcm",
|
||||
"audio_coding/testfile32kHz.pcm",
|
||||
"audio_coding/teststereo32kHz.pcm",
|
||||
"foreman_cif.yuv",
|
||||
]
|
||||
group("modules_tests_data") {
|
||||
data = modules_tests_resources
|
||||
}
|
||||
if (is_ios) {
|
||||
bundle_data("modules_tests_bundle_data") {
|
||||
testonly = true
|
||||
sources = modules_tests_resources
|
||||
outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
|
||||
}
|
||||
}
|
||||
|
||||
modules_unittests_resources = [
|
||||
"audio_coding/neteq_opus.rtp",
|
||||
"audio_coding/neteq_opus_dtx.rtp",
|
||||
"audio_coding/neteq_universal_new.rtp",
|
||||
"audio_coding/speech_4_channels_48k_one_second.wav",
|
||||
"audio_coding/speech_mono_16kHz.pcm",
|
||||
"audio_coding/speech_mono_32_48kHz.pcm",
|
||||
"audio_coding/testfile16kHz.pcm",
|
||||
"audio_coding/testfile32kHz.pcm",
|
||||
"audio_coding/testfile_fake_stereo_32kHz.pcm",
|
||||
"audio_coding/teststereo32kHz.pcm",
|
||||
"audio_device/audio_short16.pcm",
|
||||
"audio_device/audio_short44.pcm",
|
||||
"audio_device/audio_short48.pcm",
|
||||
"audio_processing/agc/agc_audio.pcm",
|
||||
"audio_processing/agc/agc_no_circular_buffer.dat",
|
||||
"audio_processing/agc/agc_pitch_gain.dat",
|
||||
"audio_processing/agc/agc_pitch_lag.dat",
|
||||
"audio_processing/agc/agc_spectral_peak.dat",
|
||||
"audio_processing/agc/agc_vad.dat",
|
||||
"audio_processing/agc/agc_voicing_prob.dat",
|
||||
"audio_processing/agc/agc_with_circular_buffer.dat",
|
||||
"audio_processing/output_data_fixed.pb",
|
||||
"audio_processing/output_data_float.pb",
|
||||
"audio_processing/output_data_float_avx2.pb",
|
||||
"audio_processing/output_data_mac.pb",
|
||||
"audio_processing/transient/ajm-macbook-1-spke16m.pcm",
|
||||
"audio_processing/transient/audio16kHz.pcm",
|
||||
"audio_processing/transient/audio32kHz.pcm",
|
||||
"audio_processing/transient/audio48kHz.pcm",
|
||||
"audio_processing/transient/audio8kHz.pcm",
|
||||
"audio_processing/transient/detect16kHz.dat",
|
||||
"audio_processing/transient/detect32kHz.dat",
|
||||
"audio_processing/transient/detect48kHz.dat",
|
||||
"audio_processing/transient/detect8kHz.dat",
|
||||
"audio_processing/transient/double-utils.dat",
|
||||
"audio_processing/transient/float-utils.dat",
|
||||
"audio_processing/transient/suppressed16kHz.pcm",
|
||||
"audio_processing/transient/suppressed32kHz.pcm",
|
||||
"audio_processing/transient/suppressed8kHz.pcm",
|
||||
"audio_processing/transient/wpd0.dat",
|
||||
"audio_processing/transient/wpd1.dat",
|
||||
"audio_processing/transient/wpd2.dat",
|
||||
"audio_processing/transient/wpd3.dat",
|
||||
"audio_processing/transient/wpd4.dat",
|
||||
"audio_processing/transient/wpd5.dat",
|
||||
"audio_processing/transient/wpd6.dat",
|
||||
"audio_processing/transient/wpd7.dat",
|
||||
"far16_stereo.pcm",
|
||||
"far176_stereo.pcm",
|
||||
"far192_stereo.pcm",
|
||||
"far22_stereo.pcm",
|
||||
"far32_stereo.pcm",
|
||||
"far44_stereo.pcm",
|
||||
"far48_stereo.pcm",
|
||||
"far88_stereo.pcm",
|
||||
"far8_stereo.pcm",
|
||||
"far96_stereo.pcm",
|
||||
"foreman_cif.yuv",
|
||||
"foreman_cif_short.yuv",
|
||||
"near16_stereo.pcm",
|
||||
"near176_stereo.pcm",
|
||||
"near192_stereo.pcm",
|
||||
"near22_stereo.pcm",
|
||||
"near32_stereo.pcm",
|
||||
"near44_stereo.pcm",
|
||||
"near48_mono.pcm",
|
||||
"near48_stereo.pcm",
|
||||
"near88_stereo.pcm",
|
||||
"near8_stereo.pcm",
|
||||
"near96_stereo.pcm",
|
||||
"ref03.aecdump",
|
||||
"remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke1_0_AST.bin",
|
||||
"remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke1_0_TOF.bin",
|
||||
"remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke1_1_AST.bin",
|
||||
"remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke1_1_TOF.bin",
|
||||
"remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke2_0_AST.bin",
|
||||
"remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke2_0_TOF.bin",
|
||||
"remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke2_1_AST.bin",
|
||||
"remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke2_1_TOF.bin",
|
||||
"remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingDelay1_0_AST.bin",
|
||||
"remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingDelay1_0_TOF.bin",
|
||||
"remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingLoss1_0_AST.bin",
|
||||
"remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingLoss1_0_TOF.bin",
|
||||
"remote_bitrate_estimator/VideoSendersTest_BweTest_Multi1_1_AST.bin",
|
||||
"remote_bitrate_estimator/VideoSendersTest_BweTest_Multi1_1_TOF.bin",
|
||||
"remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_0_AST.bin",
|
||||
"remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_0_TOF.bin",
|
||||
"remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_1_AST.bin",
|
||||
"remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_1_TOF.bin",
|
||||
"remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyDelay_0_AST.bin",
|
||||
"remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyDelay_0_TOF.bin",
|
||||
"remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyLoss_0_AST.bin",
|
||||
"remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyLoss_0_TOF.bin",
|
||||
"remote_bitrate_estimator/VideoSendersTest_BweTest_UnlimitedSpeed_0_AST.bin",
|
||||
"remote_bitrate_estimator/VideoSendersTest_BweTest_UnlimitedSpeed_0_TOF.bin",
|
||||
"short_mixed_mono_48.dat",
|
||||
"short_mixed_mono_48.pcm",
|
||||
"short_mixed_mono_48_arm.dat",
|
||||
"short_mixed_stereo_48.dat",
|
||||
"short_mixed_stereo_48.pcm",
|
||||
"voice_engine/audio_tiny48.wav",
|
||||
]
|
||||
group("modules_unittests_data") {
|
||||
data = modules_unittests_resources
|
||||
}
|
||||
if (is_ios) {
|
||||
bundle_data("modules_unittests_bundle_data") {
|
||||
testonly = true
|
||||
sources = modules_unittests_resources
|
||||
outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
|
||||
}
|
||||
}
|
||||
|
||||
webrtc_perf_tests_resources = [
|
||||
"ConferenceMotion_1280_720_50.yuv",
|
||||
"audio_coding/speech_mono_16kHz.pcm",
|
||||
"audio_coding/speech_mono_32_48kHz.pcm",
|
||||
"audio_coding/testfile32kHz.pcm",
|
||||
"difficult_photo_1850_1110.yuv",
|
||||
"foreman_cif.yuv",
|
||||
"paris_qcif.yuv",
|
||||
"photo_1850_1110.yuv",
|
||||
"presentation_1850_1110.yuv",
|
||||
"voice_engine/audio_long16.pcm",
|
||||
"web_screenshot_1850_1110.yuv",
|
||||
]
|
||||
group("webrtc_perf_tests_data") {
|
||||
data = webrtc_perf_tests_resources
|
||||
}
|
||||
if (is_ios) {
|
||||
bundle_data("webrtc_perf_tests_bundle_data") {
|
||||
testonly = true
|
||||
sources = webrtc_perf_tests_resources
|
||||
outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
|
||||
}
|
||||
}
|
||||
|
||||
video_engine_tests_resources = [
|
||||
"ConferenceMotion_1280_720_50.yuv",
|
||||
"foreman_cif_short.yuv",
|
||||
"voice_engine/audio_long16.pcm",
|
||||
]
|
||||
group("video_engine_tests_data") {
|
||||
data = video_engine_tests_resources
|
||||
}
|
||||
if (is_ios) {
|
||||
bundle_data("video_engine_tests_bundle_data") {
|
||||
testonly = true
|
||||
sources = video_engine_tests_resources
|
||||
outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user