Index: chrome/test/BUILD.gn |
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn |
index d29ea9f237097ebe4842714e8c6206c2dd1552f2..71f5afe490ad6685454ff836fe0e0ab903399053 100644 |
--- a/chrome/test/BUILD.gn |
+++ b/chrome/test/BUILD.gn |
@@ -854,10 +854,9 @@ |
} |
if (enable_media_router) { |
sources += rebase_path( |
- chrome_tests_gypi_values.chrome_browser_tests_media_router_sources, |
- ".", |
- "//chrome") |
- deps += [ "//chrome/browser/media/router:test_support" ] |
+ chrome_tests_gypi_values.chrome_browser_tests_media_router_webui_sources, |
+ ".", |
+ "//chrome") |
} |
if (is_win) { |
deps += [ |
@@ -1284,6 +1283,7 @@ |
".", |
"//chrome") |
} |
+ |
if (is_ios || is_chromeos) { |
sources -= |
[ "../browser/metrics/signin_status_metrics_provider_unittest.cc" ] |
@@ -1489,17 +1489,13 @@ |
".", |
"//chrome") |
} |
- if (enable_media_router) { |
- sources += |
- rebase_path(unit_gypi_values.chrome_unit_tests_media_router_sources, |
- ".", |
- "//chrome") |
- deps += [ "//chrome/browser/media/router:test_support" ] |
- } |
if (enable_webrtc) { |
sources += rebase_path(unit_gypi_values.chrome_unit_tests_webrtc_sources, |
".", |
"//chrome") |
+ } |
+ if (enable_media_router) { |
+ deps += [ "//chrome/browser/media/router:unit_tests" ] |
} |
if (is_chromeos) { |
sources += |