-
Notifications
You must be signed in to change notification settings - Fork 868
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable Widevine Host Verification for our build
Will help enable brave/brave-browser#944
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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..0d920ed8e57e1b4bbd928a937cec88b40b1fb18e 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) | ||
|
||
# Enable Storage ID which is used by CDMs. This is only available with chrome | ||
# branding, but may be overridden by other embedders. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |