Index: chrome/common/BUILD.gn |
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn |
index d0cbe2a42674f71583631986b7fd5e0fb4930897..7114a0f1bc62d692480a9e8993e7cafd91215bf3 100644 |
--- a/chrome/common/BUILD.gn |
+++ b/chrome/common/BUILD.gn |
@@ -95,7 +95,6 @@ static_library("common") { |
"//gpu/command_buffer/service", |
"//gpu/config", |
"//net", |
- "//ppapi/shared_impl", |
"//skia", |
"//third_party/icu", |
"//third_party/zlib:zip", |
@@ -108,6 +107,10 @@ static_library("common") { |
"//url", |
] |
+ if (enable_plugins) { |
+ public_deps += [ "//ppapi/shared_impl" ] |
+ } |
+ |
if (is_ios) { |
sources += [ |
# Use this Mac file that was filtered out. |