Move iOS bundle data for tests inside rtc_include_test (take 2).

In https://webrtc-review.googlesource.com/c/src/+/202037, there was an
unused variable issue, after testing locally with
rtc_include_tests=false, this CL should fix it.

TBR=landrey@webrtc.org

Bug: None
Change-Id: I9bbc5a124a752ce4b520af29ec5bd0f52b6e3d56
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/202038
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33011}
This commit is contained in:
Mirko Bonadei 2021-01-16 13:51:25 +01:00 committed by Commit Bot
parent 2397b6e75d
commit be93b788c6

View File

@ -21,7 +21,7 @@ rtc_library("column_printer") {
]
}
if (is_ios || rtc_include_tests) {
if (rtc_include_tests) {
scenario_resources = [
"../../resources/difficult_photo_1850_1110.yuv",
"../../resources/photo_1850_1110.yuv",
@ -29,9 +29,7 @@ if (is_ios || rtc_include_tests) {
"../../resources/web_screenshot_1850_1110.yuv",
]
scenario_unittest_resources = [ "../../resources/foreman_cif.yuv" ]
}
if (rtc_include_tests) {
if (is_ios) {
bundle_data("scenario_resources_bundle_data") {
testonly = true