Index: chrome/test/BUILD.gn |
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn |
index 8ce7c9fa885b31233ca0b9df64c90ba7478367af..370add7085998c24f99e197620529d0245006448 100644 |
--- a/chrome/test/BUILD.gn |
+++ b/chrome/test/BUILD.gn |
@@ -153,7 +153,6 @@ source_set("test_support") { |
"//google_apis:test_support", |
"//ipc:test_support", |
"//media:test_support", |
- "//ppapi/shared_impl", |
"//sql:test_support", |
"//third_party/leveldatabase", |
"//ui/base", |
@@ -161,6 +160,9 @@ source_set("test_support") { |
"//ui/gl", |
] |
} |
+ if (enable_plugins) { |
+ public_deps += [ "//ppapi/shared_impl" ] |
+ } |
if (is_android) { |
public_deps -= [ "//ui/message_center:test_support" ] |