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

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

Issue 1950003002: gn BUILD fixes for disabling enable_extensions and use_ash feature flags. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebasing on latest master Created 4 years, 6 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
« no previous file with comments | « chrome/browser/devtools/BUILD.gn ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/router/BUILD.gn
diff --git a/chrome/browser/media/router/BUILD.gn b/chrome/browser/media/router/BUILD.gn
index 8e14962577f5426491f211829e3e81540866154d..3c42873c1070fa54206515da8909d8ca62f41a3d 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("//build/config/features.gni")
import("//mojo/public/tools/bindings/mojom.gni")
import("//testing/test.gni")
@@ -26,9 +27,11 @@ static_library("router") {
if (!is_android) {
deps += [
":mojo_bindings",
- "//extensions/browser",
"//mojo/public/cpp/bindings",
]
+ if (enable_extensions) {
+ deps += [ "//extensions/browser" ]
+ }
sources += rebase_path(gypi_values.media_router_non_android_sources,
".",
"//chrome/browser/media/router")
@@ -52,10 +55,10 @@ source_set("test_support") {
".",
"//chrome/browser/media/router")
if (!is_android) {
- deps += [
- ":mojo_bindings",
- "//extensions/common",
- ]
+ deps += [ ":mojo_bindings" ]
+ if (enable_extensions) {
+ deps += [ "//extensions/common" ]
+ }
sources +=
rebase_path(gypi_values.media_router_non_android_test_support_sources,
".",
« no previous file with comments | « chrome/browser/devtools/BUILD.gn ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698