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

Unified Diff: chrome/browser/media/router/BUILD.gn

Issue 2904443004: Allow generation of a chromium outdirs when enable_extensions=false (Closed)
Patch Set: Fix error from "gn gen out --check" Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/media/router/BUILD.gn
diff --git a/chrome/browser/media/router/BUILD.gn b/chrome/browser/media/router/BUILD.gn
index 14b5095fc38cd2f75afe25553d57e1e35f34f4a1..389fa63780645b7bc73f9c291ea6b28ea4dac78e 100644
--- a/chrome/browser/media/router/BUILD.gn
+++ b/chrome/browser/media/router/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
#
+import("//extensions/features/features.gni")
import("//testing/test.gni")
static_library("router") {
@@ -106,8 +107,10 @@ static_library("test_support") {
deps += [
"//chrome/common/media_router/mojo:media_router",
"//chrome/common/media_router/mojo:media_router_test_interfaces",
- "//extensions/common",
]
+ if (enable_extensions) {
+ deps += [ "//extensions/common" ]
michaelpg 2017/05/23 16:54:40 media-router sources unconditionally include files
hugoh_UTC2 2017/05/24 13:58:06 When !is_android, static_library("test_support") s
+ }
sources += [
"discovery/mdns/mock_dns_sd_registry.cc",
"discovery/mdns/mock_dns_sd_registry.h",

Powered by Google App Engine
This is Rietveld 408576698