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

Unified Diff: webrtc/test/BUILD.gn

Issue 2340753002: GN: Declare resources for targets. (Closed)
Patch Set: Created 4 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 | « webrtc/modules/audio_coding/BUILD.gn ('k') | webrtc/tools/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/BUILD.gn
diff --git a/webrtc/test/BUILD.gn b/webrtc/test/BUILD.gn
index 13b98402a7c2279c35d141d2a9ac9d6e81c48e5b..7f3c741aa8b28f545c10d0ef218324de6657aa9b 100644
--- a/webrtc/test/BUILD.gn
+++ b/webrtc/test/BUILD.gn
@@ -192,17 +192,15 @@ rtc_source_set("test_support_main_threaded_mac") {
]
}
-if (is_android || is_ios) {
- test_support_unittests_resources = [
- "//resources/foreman_cif_short.yuv",
- "//resources/video_coding/frame-ethernet-ii.pcap",
- "//resources/video_coding/frame-loopback.pcap",
- "//resources/video_coding/pltype103.rtp",
- "//resources/video_coding/pltype103_header_only.rtp",
- "//resources/video_coding/ssrcs-2.pcap",
- "//resources/video_coding/ssrcs-3.pcap",
- ]
-}
+test_support_unittests_resources = [
+ "//resources/foreman_cif_short.yuv",
+ "//resources/video_coding/frame-ethernet-ii.pcap",
+ "//resources/video_coding/frame-loopback.pcap",
+ "//resources/video_coding/pltype103.rtp",
+ "//resources/video_coding/pltype103_header_only.rtp",
+ "//resources/video_coding/ssrcs-2.pcap",
+ "//resources/video_coding/ssrcs-3.pcap",
+]
if (is_ios) {
bundle_data("test_support_unittests_bundle_data") {
@@ -244,9 +242,9 @@ rtc_test("test_support_unittests") {
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
}
+ data = test_support_unittests_resources
if (is_android) {
deps += [ "//testing/android/native_test:native_test_support" ]
- data = test_support_unittests_resources
shard_timeout = 900
}
« no previous file with comments | « webrtc/modules/audio_coding/BUILD.gn ('k') | webrtc/tools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698