| Index: chrome/test/media_router/BUILD.gn
|
| diff --git a/chrome/test/media_router/BUILD.gn b/chrome/test/media_router/BUILD.gn
|
| index f1678e4278d1e65a2b1d3f02e4e6d7304f896a9f..5a636eebf108c7ace38f312b2f2f4f50e2831ccd 100644
|
| --- a/chrome/test/media_router/BUILD.gn
|
| +++ b/chrome/test/media_router/BUILD.gn
|
| @@ -2,24 +2,28 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -# Browser test resource files.
|
| -media_router_integration_test_resources = [
|
| - "resources/basic_test.html",
|
| - "resources/close_route_with_error_on_send.json",
|
| - "resources/common.js",
|
| - "resources/fail_create_route.json",
|
| - "resources/fail_reconnect_session.html",
|
| - "resources/fail_reconnect_session.json",
|
| - "resources/no_provider.json",
|
| - "resources/route_creation_timed_out.json",
|
| -]
|
| +gypi_values = exec_script("//build/gypi_to_gn.py",
|
| + [ rebase_path("media_router_tests.gypi") ],
|
| + "scope",
|
| + [ "media_router_tests.gypi" ])
|
| +
|
| +# GYP version: chrome/test/media_router/media_router_tests.gypi:
|
| +# media_router_test_extension_files
|
| +copy("test_extension_resource_files") {
|
| + sources = rebase_path(gypi_values.media_router_test_extension_resources,
|
| + ".",
|
| + "//chrome/test/media_router")
|
| + outputs = [
|
| + "$root_out_dir/media_router/test_extension/{{source_file_part}}",
|
| + ]
|
| +}
|
|
|
| # GYP version: chrome/test/media_router/media_router_tests.gypi:
|
| # media_router_integration_test_files
|
| copy("browser_tests_resource_files") {
|
| - # This list corresponds to media_router_integration_test_resources in
|
| - # media_router_integration_test_files target in GYP.
|
| - sources = media_router_integration_test_resources
|
| + sources = rebase_path(gypi_values.media_router_integration_test_resources,
|
| + ".",
|
| + "//chrome/test/media_router")
|
| outputs = [
|
| "$root_out_dir/media_router/browser_test_resources/{{source_file_part}}",
|
| ]
|
|
|