Index: chrome/common/BUILD.gn |
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn |
index 8bb987531c822bf7d8269bbd71cdedc9d6ee3e71..ab78daae2b7ef156a3b387ea209294e3d5010f7f 100644 |
--- a/chrome/common/BUILD.gn |
+++ b/chrome/common/BUILD.gn |
@@ -207,10 +207,14 @@ static_library("common") { |
sources += [ |
"pepper_flash.cc", |
"pepper_flash.h", |
+ ] |
+ deps += [ "//third_party/adobe/flash:flapper_version_h" ] |
+ } |
+ if (enable_plugins && enable_extensions) { |
+ sources += [ |
"pepper_permission_util.cc", |
"pepper_permission_util.h", |
] |
- deps += [ "//third_party/adobe/flash:flapper_version_h" ] |
} |
if (!enable_webrtc) { |
sources -= [ "media/webrtc_logging_messages.h" ] |