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

Unified Diff: modules/video_coding/BUILD.gn

Issue 3005253002: Add full stack tests for MediaCodec. (Closed)
Patch Set: Rebase. Created 3 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « call/call_perf_tests.cc ('k') | test/call_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/video_coding/BUILD.gn
diff --git a/modules/video_coding/BUILD.gn b/modules/video_coding/BUILD.gn
index 2371d08224a8659a85419c34b7bd439b0bd4488f..fc3815e84a628c09a79a20216e923934813aa387 100644
--- a/modules/video_coding/BUILD.gn
+++ b/modules/video_coding/BUILD.gn
@@ -393,6 +393,23 @@ if (rtc_include_tests) {
]
}
+ if (is_android) {
+ rtc_source_set("codecs_test_android_test_initializer") {
+ testonly = true
+
+ sources = [
+ "codecs/test/android_test_initializer.cc",
+ "codecs/test/android_test_initializer.h",
+ ]
+
+ deps = [
+ "../../rtc_base:rtc_base_approved",
+ "../../sdk/android:libjingle_peerconnection_jni",
+ "//base",
+ ]
+ }
+ }
+
video_coding_modules_tests_resources = [
"../../resources/foreman_128x96.yuv",
"../../resources/foreman_160x120.yuv",
@@ -454,15 +471,9 @@ if (rtc_include_tests) {
data = video_coding_modules_tests_resources
if (is_android) {
- sources += [
- "codecs/test/android_test_initializer.cc",
- "codecs/test/android_test_initializer.h",
- "codecs/test/videoprocessor_integrationtest_mediacodec.cc",
- ]
-
deps += [
- "../../sdk/android:libjingle_peerconnection_jni",
- "//base",
+ ":codecs_test_android_test_initializer",
+ "../../sdk/android:video_jni",
]
}
@@ -470,8 +481,6 @@ if (rtc_include_tests) {
deps += [
":codec_test_objc",
":video_coding_modules_tests_resources_bundle_data",
- "../../media:rtc_media_base",
- "../../sdk:videotoolbox_objc",
]
}
« no previous file with comments | « call/call_perf_tests.cc ('k') | test/call_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698