summaryrefslogtreecommitdiffstats
path: root/chrome/common/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/BUILD.gn')
-rw-r--r--chrome/common/BUILD.gn7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn
index d489c05..b99d3b0 100644
--- a/chrome/common/BUILD.gn
+++ b/chrome/common/BUILD.gn
@@ -94,7 +94,6 @@ static_library("common") {
"//extensions/common",
"//extensions/common/api",
"//ipc",
- "//third_party/adobe/flash:flapper_version_h",
"//third_party/re2",
"//third_party/widevine/cdm:version_h",
]
@@ -211,7 +210,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) {