Index: chrome/common/BUILD.gn |
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn |
index 4378b37ac538f257c0ed564562f1ebdb88cf6ea5..b3726f95f87fce379bd43a08a16ccf9dfa1b0dca 100644 |
--- a/chrome/common/BUILD.gn |
+++ b/chrome/common/BUILD.gn |
@@ -110,6 +110,9 @@ |
"//extensions/strings", |
"//media/cast:net", |
] |
+ if (enable_media_router) { |
+ defines += [ "ENABLE_MEDIA_ROUTER=1" ] |
+ } |
if (is_chromeos) { |
sources += |
rebase_path(gypi_values.chrome_common_extensions_chromeos_sources, |
@@ -239,6 +242,9 @@ |
sources += rebase_path(gypi_values.chrome_common_full_safe_browsing_sources, |
".", |
"//chrome") |
+ } |
+ if (enable_media_router) { |
+ defines += [ "ENABLE_MEDIA_ROUTER=1" ] |
} |
} |