Add isolate files for Android tests
BUG=chromium:583318
TESTED=Passing runs with:
GYP_DEFINES='test_isolation_mode=prepare OS=android' webrtc/build/gyp_webrtc
ninja -C out/Release
NOTRY=True
NOPRESUBMIT=True
Review URL: https://codereview.webrtc.org/1882963003
Cr-Original-Commit-Position: refs/heads/master@{#12397}
Cr-Mirrored-From: https://chromium.googlesource.com/external/webrtc
Cr-Mirrored-Commit: e532aec25220f94830c538acfeccc2203b6db4f5
diff --git a/webrtc_tests.gypi b/webrtc_tests.gypi
index 7840e80..229f7b6 100644
--- a/webrtc_tests.gypi
+++ b/webrtc_tests.gypi
@@ -343,6 +343,66 @@
],
},
],
+ 'conditions': [
+ ['test_isolation_mode != "noop"',
+ {
+ 'targets': [
+ {
+ 'target_name': 'rtc_unittests_apk_run',
+ 'type': 'none',
+ 'dependencies': [
+ '<(apk_tests_path):rtc_unittests_apk',
+ ],
+ 'includes': [
+ 'build/isolate.gypi',
+ ],
+ 'sources': [
+ 'rtc_unittests_apk.isolate',
+ ],
+ },
+ {
+ 'target_name': 'video_engine_tests_apk_run',
+ 'type': 'none',
+ 'dependencies': [
+ '<(apk_tests_path):video_engine_tests_apk',
+ ],
+ 'includes': [
+ 'build/isolate.gypi',
+ ],
+ 'sources': [
+ 'video_engine_tests_apk.isolate',
+ ],
+ },
+ {
+ 'target_name': 'webrtc_perf_tests_apk_run',
+ 'type': 'none',
+ 'dependencies': [
+ '<(apk_tests_path):webrtc_perf_tests_apk',
+ ],
+ 'includes': [
+ 'build/isolate.gypi',
+ ],
+ 'sources': [
+ 'webrtc_perf_tests_apk.isolate',
+ ],
+ },
+ {
+ 'target_name': 'webrtc_nonparallel_tests_apk_run',
+ 'type': 'none',
+ 'dependencies': [
+ '<(apk_tests_path):webrtc_nonparallel_tests_apk',
+ ],
+ 'includes': [
+ 'build/isolate.gypi',
+ ],
+ 'sources': [
+ 'webrtc_nonparallel_tests_apk.isolate',
+ ],
+ },
+ ],
+ },
+ ],
+ ],
}],
['test_isolation_mode != "noop"', {
'targets': [