diff --git a/test/scenario/BUILD.gn b/test/scenario/BUILD.gn index a6e3ed9dd2..b17f722bcb 100644 --- a/test/scenario/BUILD.gn +++ b/test/scenario/BUILD.gn @@ -31,19 +31,20 @@ if (is_ios || rtc_include_tests) { 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 (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") { testonly = true sources = [