Fix unscoped variable in test/scenario/BUILD.gn.

GN complains when this BUILD.gn file is pulled in and both is_ios and
rtc_include_tests are false.

Bug: None
Change-Id: Ic637063a9dd25feb53595eeedfa4f22061ba34f2
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/126231
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27025}
This commit is contained in:
Mirko Bonadei 2019-03-07 17:42:19 +01:00 committed by Commit Bot
parent 74350dbc93
commit 7e70291bb7

View File

@ -21,13 +21,15 @@ rtc_source_set("column_printer") {
]
}
scenario_resources = [
"../../resources/difficult_photo_1850_1110.yuv",
"../../resources/photo_1850_1110.yuv",
"../../resources/presentation_1850_1110.yuv",
"../../resources/web_screenshot_1850_1110.yuv",
]
scenario_unittest_resources = [ "../../resources/foreman_cif.yuv" ]
if (is_ios || rtc_include_tests) {
scenario_resources = [
"../../resources/difficult_photo_1850_1110.yuv",
"../../resources/photo_1850_1110.yuv",
"../../resources/presentation_1850_1110.yuv",
"../../resources/web_screenshot_1850_1110.yuv",
]
scenario_unittest_resources = [ "../../resources/foreman_cif.yuv" ]
}
if (is_ios) {
bundle_data("scenario_resources_bundle_data") {