Move iOS bundle data for tests inside rtc_include_test.
This should fix issues like [1] which surfaced after landing [2] which is not the direct cause though. [1] - https://ci.chromium.org/ui/p/chromium/builders/webrtc.fyi/WebRTC%20Chromium%20FYI%20ios-device/8133/overview [2] - https://webrtc-review.googlesource.com/c/src/+/200981 TBR=landrey@webrtc.org Bug: None Change-Id: Id222bf0df109711a4aaba708786b8f623e50b9f6 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/202037 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33008}
This commit is contained in:
parent
d705bbed2c
commit
8ed61858c3
@ -31,19 +31,20 @@ if (is_ios || rtc_include_tests) {
|
|||||||
scenario_unittest_resources = [ "../../resources/foreman_cif.yuv" ]
|
scenario_unittest_resources = [ "../../resources/foreman_cif.yuv" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_ios) {
|
|
||||||
bundle_data("scenario_resources_bundle_data") {
|
|
||||||
testonly = true
|
|
||||||
sources = scenario_resources
|
|
||||||
outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
|
|
||||||
}
|
|
||||||
bundle_data("scenario_unittest_resources_bundle_data") {
|
|
||||||
testonly = true
|
|
||||||
sources = scenario_unittest_resources
|
|
||||||
outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (rtc_include_tests) {
|
if (rtc_include_tests) {
|
||||||
|
if (is_ios) {
|
||||||
|
bundle_data("scenario_resources_bundle_data") {
|
||||||
|
testonly = true
|
||||||
|
sources = scenario_resources
|
||||||
|
outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
|
||||||
|
}
|
||||||
|
bundle_data("scenario_unittest_resources_bundle_data") {
|
||||||
|
testonly = true
|
||||||
|
sources = scenario_unittest_resources
|
||||||
|
outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
rtc_library("scenario") {
|
rtc_library("scenario") {
|
||||||
testonly = true
|
testonly = true
|
||||||
sources = [
|
sources = [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user