Index: chrome/browser/ui/BUILD.gn |
diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn |
index 3a16f2711eb072ecee871a97cf75c0e2a8942f13..ea7487c9efae580d653a7a9c37b53a2b90be33e5 100644 |
--- a/chrome/browser/ui/BUILD.gn |
+++ b/chrome/browser/ui/BUILD.gn |
@@ -427,7 +427,8 @@ |
sources += rebase_path(gypi_values.chrome_browser_ui_media_router_sources, |
".", |
"//chrome") |
- deps += [ "//chrome/browser/media/router" ] |
+ deps += [ "//chrome/browser/media/router:router_core" ] |
+ defines += [ "ENABLE_MEDIA_ROUTER=1" ] |
} |
if (enable_webrtc) { |
sources += rebase_path(gypi_values.chrome_browser_ui_webrtc_sources, |