Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Side by Side Diff: chrome/test/media_router/BUILD.gn

Issue 1843063004: Add new Telemetry tests to get CPU and memory usage for idle and flinging two test scenarios. Mirro… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Jennifer's comments Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 gypi_values = exec_script("//build/gypi_to_gn.py",
brettw 2016/04/18 23:08:25 I think it's better to copy these file names than
Lei Lei 2016/04/19 21:56:02 Done.
6 media_router_integration_test_resources = [ 6 [ rebase_path("media_router_tests.gypi") ],
7 "resources/basic_test.html", 7 "scope",
8 "resources/close_route_with_error_on_send.json", 8 [ "media_router_tests.gypi" ])
9 "resources/common.js", 9
10 "resources/fail_create_route.json", 10 # GYP version: chrome/test/media_router/media_router_tests.gypi:
11 "resources/fail_reconnect_session.html", 11 # media_router_test_extension_files
12 "resources/fail_reconnect_session.json", 12 copy("test_extension_resource_files") {
13 "resources/no_provider.json", 13 sources = rebase_path(gypi_values.media_router_test_extension_resources,
14 "resources/route_creation_timed_out.json", 14 ".",
15 ] 15 "//chrome/test/media_router")
16 outputs = [
17 "$root_out_dir/media_router/test_extension/{{source_file_part}}",
18 ]
19 }
16 20
17 # GYP version: chrome/test/media_router/media_router_tests.gypi: 21 # GYP version: chrome/test/media_router/media_router_tests.gypi:
18 # media_router_integration_test_files 22 # media_router_integration_test_files
19 copy("browser_tests_resource_files") { 23 copy("browser_tests_resource_files") {
20 # This list corresponds to media_router_integration_test_resources in 24 sources = rebase_path(gypi_values.media_router_integration_test_resources,
21 # media_router_integration_test_files target in GYP. 25 ".",
22 sources = media_router_integration_test_resources 26 "//chrome/test/media_router")
23 outputs = [ 27 outputs = [
24 "$root_out_dir/media_router/browser_test_resources/{{source_file_part}}", 28 "$root_out_dir/media_router/browser_test_resources/{{source_file_part}}",
25 ] 29 ]
26 } 30 }
27 31
28 source_set("media_router_browsertests") { 32 source_set("media_router_browsertests") {
29 testonly = true 33 testonly = true
30 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 34 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
31 sources = [ 35 sources = [
32 "media_router_base_browsertest.cc", 36 "media_router_base_browsertest.cc",
33 "media_router_base_browsertest.h", 37 "media_router_base_browsertest.h",
34 "media_router_e2e_browsertest.cc", 38 "media_router_e2e_browsertest.cc",
35 "media_router_e2e_browsertest.h", 39 "media_router_e2e_browsertest.h",
36 "media_router_e2e_ui_browsertest.cc", 40 "media_router_e2e_ui_browsertest.cc",
37 "media_router_integration_browsertest.cc", 41 "media_router_integration_browsertest.cc",
38 "media_router_integration_browsertest.h", 42 "media_router_integration_browsertest.h",
39 "media_router_integration_ui_browsertest.cc", 43 "media_router_integration_ui_browsertest.cc",
40 "test_media_sinks_observer.cc", 44 "test_media_sinks_observer.cc",
41 "test_media_sinks_observer.h", 45 "test_media_sinks_observer.h",
42 ] 46 ]
43 deps = [ 47 deps = [
44 ":browser_tests_resource_files", 48 ":browser_tests_resource_files",
45 "//chrome/browser/media/router:test_support", 49 "//chrome/browser/media/router:test_support",
46 "//chrome/test:test_support", 50 "//chrome/test:test_support",
47 "//chrome/test:test_support_ui", 51 "//chrome/test:test_support_ui",
48 "//skia", 52 "//skia",
49 "//testing/gtest", 53 "//testing/gtest",
50 ] 54 ]
51 } 55 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698