Index: chrome/test/BUILD.gn |
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn |
index ef179040f9a12c5aff7fcfa914e3a575464c13e0..f7145ad29c295beb3f992f6ddc063723d172ff98 100644 |
--- a/chrome/test/BUILD.gn |
+++ b/chrome/test/BUILD.gn |
@@ -109,7 +109,6 @@ source_set("test_support") { |
if (!is_ios) { |
deps += [ |
- "//chrome/common/extensions/api", |
"//chrome/plugin", |
"//chrome/renderer", |
"//chrome/utility", |
@@ -122,7 +121,6 @@ source_set("test_support") { |
"//components/captive_portal:test_support", |
"//components/infobars/core", |
"//components/sessions:test_support", |
- "//extensions:test_support", |
"//google_apis:test_support", |
"//ipc:test_support", |
"//media:test_support", |
@@ -135,6 +133,13 @@ source_set("test_support") { |
] |
} |
+ if (enable_extensions) { |
+ deps += [ |
+ "//chrome/common/extensions/api", |
+ "//extensions:test_support", |
+ ] |
+ } |
+ |
if (is_linux) { |
deps += [ "//crypto:platform" ] |
} |