Index: chrome/common/BUILD.gn |
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn |
index 8dba65344f388bfe7a5df6db2b93dfbc0914aac1..1903837dc8838cbf29cd57a9663394dc6992f5f8 100644 |
--- a/chrome/common/BUILD.gn |
+++ b/chrome/common/BUILD.gn |
@@ -93,6 +93,7 @@ |
"//extensions/common", |
"//extensions/common/api", |
"//ipc", |
+ "//third_party/adobe/flash:flapper_version_h", |
"//third_party/re2", |
"//third_party/widevine/cdm:version_h", |
] |
@@ -209,11 +210,7 @@ |
if (enable_remoting) { |
#deps += [ '../remoting/remoting.gyp:remoting_client_plugin' ] TODO(GYP) |
} |
- if (enable_plugins) { |
- deps += [ |
- "//third_party/adobe/flash:flapper_version_h", |
- ] |
- } else { |
+ if (!enable_plugins) { |
sources -= [ "pepper_permission_util.cc" ] |
} |
if (!enable_webrtc) { |