Index: chrome/browser/extensions/BUILD.gn |
diff --git a/chrome/browser/extensions/BUILD.gn b/chrome/browser/extensions/BUILD.gn |
index 8a541b1c412400a12120d9fd910c56fb0f9e7332..ab3ce940cbff06cef3983f49e7df1db44443bf4b 100644 |
--- a/chrome/browser/extensions/BUILD.gn |
+++ b/chrome/browser/extensions/BUILD.gn |
@@ -202,4 +202,7 @@ |
if (!use_ozone) { |
sources -= [ "global_shortcut_listener_ozone.cc" ] |
} |
+ if (enable_media_router) { |
+ defines += [ "ENABLE_MEDIA_ROUTER=1" ] |
+ } |
} |