Index: chrome/test/BUILD.gn |
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn |
index 78d723ebb85c9c784fbee191bcfa7c90ee677961..78009bae1ea91b6111352ea8d0a8b3545b1611d8 100644 |
--- a/chrome/test/BUILD.gn |
+++ b/chrome/test/BUILD.gn |
@@ -381,7 +381,6 @@ if (!is_android) { |
"//content/test:test_support", |
"//crypto:platform", |
"//crypto:test_support", |
- "//extensions/features", |
"//google_apis:test_support", |
"//net", |
"//net:net_resources", |
@@ -397,6 +396,9 @@ if (!is_android) { |
"//ui/resources:ui_test_pak", |
"//ui/web_dialogs:test_support", |
] |
+ if (enable_extensions) { |
+ deps += [ "//extensions/features" ] |
+ } |
} |
} |
@@ -570,7 +572,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 += [ |