Index: chrome/common/BUILD.gn |
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn |
index bc8919653997bb889e57043eb0a195bacff08d8b..4075c430acf9c990151d44af4ee5d4babf2146b3 100644 |
--- a/chrome/common/BUILD.gn |
+++ b/chrome/common/BUILD.gn |
@@ -86,7 +86,6 @@ static_library("common") { |
"//gpu/command_buffer/service", |
"//gpu/config", |
"//net", |
- "//ppapi/shared_impl", |
"//skia", |
"//third_party/icu", |
"//third_party/zlib:zip", |
@@ -99,6 +98,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. |