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

Unified Diff: chrome/test/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/test/BUILD.gn
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
index 87478f0da4278dff0b1201ad43b30bc8076d0bc9..8b292f6427ff0891207f5cc8c759ab12d7a9b1b0 100644
--- a/chrome/test/BUILD.gn
+++ b/chrome/test/BUILD.gn
@@ -376,7 +376,6 @@ if (!is_android) {
"//content/test:test_support",
"//crypto:platform",
"//crypto:test_support",
- "//extensions/features",
"//google_apis:test_support",
"//net",
"//net:net_resources",
@@ -392,6 +391,9 @@ if (!is_android) {
"//ui/resources:ui_test_pak",
"//ui/web_dialogs:test_support",
]
+ if (enable_extensions) {
+ deps += [ "//extensions/features" ]
+ }
}
}
@@ -567,7 +569,9 @@ if (!is_android) {
# TODO(rockot) bug 505926: The chrome_extensions_interactive_uitests target
# should be deleted and this line removed. See the
# chrome_extensions_interactive_uitests target for more.
- deps += [ "//extensions:chrome_extensions_interactive_uitests" ]
+ if (enable_extensions) {
+ deps += [ "//extensions:chrome_extensions_interactive_uitests" ]
+ }
# Runtime dependencies
data_deps += [

Powered by Google App Engine
This is Rietveld 408576698