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/no_sinks.json", | 14 "resources/no_sinks.json", |
15 "resources/no_supported_sinks.json", | 15 "resources/no_supported_sinks.json", |
16 "resources/route_creation_timed_out.json", | 16 "resources/route_creation_timed_out.json", |
17 ] | 17 ] |
18 | 18 |
19 media_router_test_extension_resources = [ | 19 media_router_test_extension_resources = [ |
20 "telemetry/extension/manifest.json", | 20 "telemetry/extension/manifest.json", |
21 "telemetry/extension/script.js", | 21 "telemetry/extension/script.js", |
22 ] | 22 ] |
23 | 23 |
24 # GYP version: chrome/test/media_router/media_router_tests.gypi: | |
25 # media_router_test_extension_files | |
26 copy("test_extension_resource_files") { | 24 copy("test_extension_resource_files") { |
27 sources = media_router_test_extension_resources | 25 sources = media_router_test_extension_resources |
28 outputs = [ | 26 outputs = [ |
29 "$root_out_dir/media_router/test_extension/{{source_file_part}}", | 27 "$root_out_dir/media_router/test_extension/{{source_file_part}}", |
30 ] | 28 ] |
31 } | 29 } |
32 | 30 |
33 # GYP version: chrome/test/media_router/media_router_tests.gypi: | |
34 # media_router_integration_test_files | |
35 copy("browser_tests_resource_files") { | 31 copy("browser_tests_resource_files") { |
36 sources = media_router_integration_test_resources | 32 sources = media_router_integration_test_resources |
37 outputs = [ | 33 outputs = [ |
38 "$root_out_dir/media_router/browser_test_resources/{{source_file_part}}", | 34 "$root_out_dir/media_router/browser_test_resources/{{source_file_part}}", |
39 ] | 35 ] |
40 } | 36 } |
41 | 37 |
42 source_set("media_router_browsertests") { | 38 source_set("media_router_browsertests") { |
43 testonly = true | 39 testonly = true |
44 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 40 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
(...skipping 11 matching lines...) Expand all Loading... |
56 ] | 52 ] |
57 deps = [ | 53 deps = [ |
58 ":browser_tests_resource_files", | 54 ":browser_tests_resource_files", |
59 "//chrome/browser/media/router:test_support", | 55 "//chrome/browser/media/router:test_support", |
60 "//chrome/test:test_support", | 56 "//chrome/test:test_support", |
61 "//chrome/test:test_support_ui", | 57 "//chrome/test:test_support_ui", |
62 "//skia", | 58 "//skia", |
63 "//testing/gtest", | 59 "//testing/gtest", |
64 ] | 60 ] |
65 } | 61 } |
OLD | NEW |