| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # Browser test resource files. | 5 # Browser test resource files. |
| 6 media_router_integration_test_resources = [ | 6 media_router_integration_test_resources = [ |
| 7 "resources/basic_test.html", | 7 "resources/basic_test.html", |
| 8 "resources/close_route_with_error_on_send.json", | 8 "resources/close_route_with_error_on_send.json", |
| 9 "resources/common.js", | 9 "resources/common.js", |
| 10 "resources/fail_create_route.json", | 10 "resources/fail_create_route.json", |
| 11 "resources/fail_reconnect_session.html", | 11 "resources/fail_reconnect_session.html", |
| 12 "resources/fail_reconnect_session.json", | 12 "resources/fail_reconnect_session.json", |
| 13 "resources/no_provider.json", | 13 "resources/no_provider.json", |
| 14 "resources/route_creation_timed_out.json", | 14 "resources/route_creation_timed_out.json", |
| 15 ] | 15 ] |
| 16 | 16 |
| 17 media_router_test_extension_resources = [ |
| 18 "telemetry/extension/manifest.json", |
| 19 "telemetry/extension/script.js", |
| 20 ] |
| 21 |
| 22 # GYP version: chrome/test/media_router/media_router_tests.gypi: |
| 23 # media_router_test_extension_files |
| 24 copy("test_extension_resource_files") { |
| 25 sources = media_router_test_extension_resources |
| 26 outputs = [ |
| 27 "$root_out_dir/media_router/test_extension/{{source_file_part}}", |
| 28 ] |
| 29 } |
| 30 |
| 17 # GYP version: chrome/test/media_router/media_router_tests.gypi: | 31 # GYP version: chrome/test/media_router/media_router_tests.gypi: |
| 18 # media_router_integration_test_files | 32 # media_router_integration_test_files |
| 19 copy("browser_tests_resource_files") { | 33 copy("browser_tests_resource_files") { |
| 20 # This list corresponds to media_router_integration_test_resources in | |
| 21 # media_router_integration_test_files target in GYP. | |
| 22 sources = media_router_integration_test_resources | 34 sources = media_router_integration_test_resources |
| 23 outputs = [ | 35 outputs = [ |
| 24 "$root_out_dir/media_router/browser_test_resources/{{source_file_part}}", | 36 "$root_out_dir/media_router/browser_test_resources/{{source_file_part}}", |
| 25 ] | 37 ] |
| 26 } | 38 } |
| 27 | 39 |
| 28 source_set("media_router_browsertests") { | 40 source_set("media_router_browsertests") { |
| 29 testonly = true | 41 testonly = true |
| 30 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 42 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| 31 sources = [ | 43 sources = [ |
| (...skipping 10 matching lines...) Expand all Loading... |
| 42 ] | 54 ] |
| 43 deps = [ | 55 deps = [ |
| 44 ":browser_tests_resource_files", | 56 ":browser_tests_resource_files", |
| 45 "//chrome/browser/media/router:test_support", | 57 "//chrome/browser/media/router:test_support", |
| 46 "//chrome/test:test_support", | 58 "//chrome/test:test_support", |
| 47 "//chrome/test:test_support_ui", | 59 "//chrome/test:test_support_ui", |
| 48 "//skia", | 60 "//skia", |
| 49 "//testing/gtest", | 61 "//testing/gtest", |
| 50 ] | 62 ] |
| 51 } | 63 } |
| OLD | NEW |