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

Unified Diff: webrtc/modules/audio_coding/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/BUILD.gn ('k') | webrtc/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_coding/BUILD.gn
diff --git a/webrtc/modules/audio_coding/BUILD.gn b/webrtc/modules/audio_coding/BUILD.gn
index ffaacd90412bff28db215f3e38ffbf60fb04eac1..1cc5fd1041a151ed870559a5cb271f016443e502 100644
--- a/webrtc/modules/audio_coding/BUILD.gn
+++ b/webrtc/modules/audio_coding/BUILD.gn
@@ -915,10 +915,8 @@ if (rtc_include_tests) {
]
} # insert_packet_with_timing
- if (is_android || is_ios) {
- audio_decoder_unittests_resources =
- [ "//resources/audio_coding/testfile32kHz.pcm" ]
- }
+ audio_decoder_unittests_resources =
+ [ "//resources/audio_coding/testfile32kHz.pcm" ]
if (is_ios) {
bundle_data("audio_decoder_unittests_bundle_data") {
@@ -957,9 +955,10 @@ if (rtc_include_tests) {
"//testing/gtest",
]
+ data = audio_decoder_unittests_resources
+
if (is_android) {
deps += [ "//testing/android/native_test:native_test_native_code" ]
- data = audio_decoder_unittests_resources
shard_timeout = 900
}
if (is_ios) {
« no previous file with comments | « webrtc/modules/BUILD.gn ('k') | webrtc/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698