-
Notifications
You must be signed in to change notification settings - Fork 893
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VMP is enabled with official build and all below envs are set. SIGN_WIDEVINE_KEY: private key SIGN_WIDEVINE_CERT: widevine cert SIGN_WIDEVINE_PASSPHRASE: pass for key sig generator should be located in //third_party/widevine/scripts/signature_generator.py
- Loading branch information
Showing
5 changed files
with
91 additions
and
1 deletion.
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
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
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,8 @@ | ||
/* Copyright (c) 2019 The Brave Authors. All rights reserved. | ||
* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
* You can obtain one at http://mozilla.org/MPL/2.0/. */ | ||
|
||
#define GOOGLE_CHROME_BUILD | ||
#include "../../../../../chrome/common/media/cdm_host_file_path.cc" // NOLINT | ||
#undef GOOGLE_CHROME_BUILD |
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
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,22 @@ | ||
diff --git a/media/media_options.gni b/media/media_options.gni | ||
index fbd9f139ebad0c3b8bc7411baf5282df3050f7c0..7dab1cf2e476281571d420a2bc5d03d1c6f93b1d 100644 | ||
--- a/media/media_options.gni | ||
+++ b/media/media_options.gni | ||
@@ -9,6 +9,7 @@ import("//build/config/jumbo.gni") | ||
import("//media/gpu/args.gni") | ||
import("//testing/libfuzzer/fuzzer_test.gni") | ||
import("//third_party/libaom/options.gni") | ||
+if (brave_chromium_build) { import("//brave/build/config.gni") } | ||
|
||
# Do not expand this list without double-checking with OWNERS, this is a list of | ||
# all targets which roll up into the //media component. It controls visibility | ||
@@ -163,6 +164,9 @@ declare_args() { | ||
# Windows and Mac. | ||
enable_cdm_host_verification = | ||
enable_library_cdms && (is_mac || is_win) && is_chrome_branded | ||
+ if (brave_chromium_build) { | ||
+ enable_cdm_host_verification = brave_enable_cdm_host_verification && 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. |