GN: Declare resources for targets.

Declare resources for GN targets so that they can be isolated

NOTRY=True
BUG=chromium:497757

Review-Url: https://codereview.webrtc.org/2340753002
Cr-Commit-Position: refs/heads/master@{#14210}
This commit is contained in:
ehmaldonado
2016-09-14 05:10:01 -07:00
committed by Commit bot
parent 52a5703721
commit 3a7f35b1c4
7 changed files with 161 additions and 175 deletions

View File

@ -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) {