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

Unified Diff: build/config/BUILD.gn

Issue 772043004: Replace WIDEVINE_CDM_AVAILABLE with a gyp define 'enable_widevine_cdm'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix #endif Created 6 years 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 | « build/common.gypi ('k') | build/config/features.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/BUILD.gn
diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn
index f32797ccbdb171609eee79fa13af7c77980a9fc1..74785a95bf464b6991f094d60177ab5e4466e08e 100644
--- a/build/config/BUILD.gn
+++ b/build/config/BUILD.gn
@@ -44,6 +44,12 @@ config("feature_flags") {
if (enable_notifications) {
defines += [ "ENABLE_NOTIFICATIONS" ]
}
+ if (enable_widevine_cdm) {
+ defines += [ "ENABLE_WIDEVINE_CDM=1" ]
+ }
+ if (widevine_cdm_is_component) {
+ defines += [ "WIDEVINE_CDM_IS_COMPONENT=1" ]
+ }
if (enable_pepper_cdms) {
# TODO(brettw) should probably be "=1"
defines += [ "ENABLE_PEPPER_CDMS" ]
« no previous file with comments | « build/common.gypi ('k') | build/config/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698