Skip to content

Commit

Permalink
Re-implement work done originally done with:
Browse files Browse the repository at this point in the history
- #507
- #510

This code was backed out with #513 (so we can do 0.55.x and 0.56.x builds in the meantime).
  • Loading branch information
bsclifton committed Oct 6, 2018
1 parent 44cd37a commit d254257
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions patches/media-media_options.gni.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/media/media_options.gni b/media/media_options.gni
index d8e20f62c19d34d036760883a02d3350aa696f1b..b50672e5e84652d896561af669cc712458cd2912 100644
--- a/media/media_options.gni
+++ b/media/media_options.gni
@@ -146,7 +146,7 @@ declare_args() {
# Enables host verification for CDMs.
# Windows and Mac.
enable_cdm_host_verification =
- enable_library_cdms && (is_mac || is_win) && is_chrome_branded
+ enable_library_cdms && (is_mac || is_win) && is_official_build

# Enable Storage ID which is used by CDMs. This is only available with chrome
# branding, but may be overridden by other embedders.
13 changes: 13 additions & 0 deletions patches/third_party-widevine-cdm-widevine.gni.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/third_party/widevine/cdm/widevine.gni b/third_party/widevine/cdm/widevine.gni
index 82a93622585a424f56c3567050f9ba4822de6c1e..9c89d9a0c0a8b2df4e082cfd1ef9ace6ed8fc929 100644
--- a/third_party/widevine/cdm/widevine.gni
+++ b/third_party/widevine/cdm/widevine.gni
@@ -11,7 +11,7 @@ declare_args() {
}

enable_widevine_cdm_host_verification =
- (is_chrome_branded || enable_widevine) && enable_cdm_host_verification
+ enable_widevine && enable_cdm_host_verification

# Only bundle Widevine CDM in Google Chrome builds.
should_bundle_widevine_cdm = is_chrome_branded && enable_library_cdms

0 comments on commit d254257

Please sign in to comment.