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 += [ |