Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(638)

Unified Diff: chrome/common/BUILD.gn

Issue 2655653004: Fixes gn-check errors with enable_plugins=false. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/common/chrome_content_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/BUILD.gn
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn
index b49e24c84988adc71a8e448baaae5cb49d764b43..acc2361cbaae3ebca7ec52bee2e4efda0ac842d7 100644
--- a/chrome/common/BUILD.gn
+++ b/chrome/common/BUILD.gn
@@ -150,8 +150,6 @@ static_library("common") {
"url_constants.h",
"web_application_info.cc",
"web_application_info.h",
- "widevine_cdm_constants.cc",
- "widevine_cdm_constants.h",
]
defines = []
@@ -479,6 +477,12 @@ static_library("common") {
"pepper_permission_util.h",
]
}
+ if (enable_pepper_cdms) {
+ sources += [
+ "widevine_cdm_constants.cc",
+ "widevine_cdm_constants.h",
+ ]
+ }
if (!enable_webrtc) {
sources -= [ "media/webrtc_logging_messages.h" ]
}
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/common/chrome_content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698