Index: chrome/common/BUILD.gn |
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn |
index c914632684b7e5792bd391e45cd459676b148247..3c67ac49020597c80458b5eb933294bd9dca2c58 100644 |
--- a/chrome/common/BUILD.gn |
+++ b/chrome/common/BUILD.gn |
@@ -92,7 +92,6 @@ static_library("common") { |
"//components/translate/content/common", |
"//extensions/common/api", |
"//ipc", |
- "//third_party/adobe/flash:flapper_version_h", |
"//third_party/re2", |
"//third_party/widevine/cdm:version_h", |
#'<(DEPTH)/extensions/extensions.gyp:extensions_common', TODO(GYP) |
@@ -210,7 +209,11 @@ static_library("common") { |
if (enable_remoting) { |
#deps += [ '../remoting/remoting.gyp:remoting_client_plugin' ] TODO(GYP) |
} |
- if (!enable_plugins) { |
+ if (enable_plugins) { |
+ deps += [ |
+ "//third_party/adobe/flash:flapper_version_h", |
+ ] |
+ } else { |
sources -= [ "pepper_permission_util.cc" ] |
} |
if (!enable_webrtc) { |