Created
June 22, 2016 06:26
-
-
Save zhangyoufu/d3631c2b8bc2ec984175f55b42af17b6 to your computer and use it in GitHub Desktop.
enable Widevine CDM for Chromium (tested on 51.0.2704.103)
This file contains hidden or 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
| { | |
| 'GYP_DEFINES': 'ffmpeg_branding=Chrome proprietary_codecs=1 enable_widevine=1' | |
| } |
This file contains hidden or 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
| diff --git a/chrome/chrome_dll_bundle.gypi b/chrome/chrome_dll_bundle.gypi | |
| index b2e152d..e15177f 100644 | |
| --- a/chrome/chrome_dll_bundle.gypi | |
| +++ b/chrome/chrome_dll_bundle.gypi | |
| @@ -154,13 +154,8 @@ | |
| # This file is used by the component installer. | |
| # It is not a complete plugin on its own. | |
| 'destination': '<(PRODUCT_DIR)/$(CONTENTS_FOLDER_PATH)/Internet Plug-Ins/', | |
| - 'files': [], | |
| - 'conditions': [ | |
| - ['branding == "Chrome"', { | |
| - 'files': [ | |
| + 'files': [ | |
| '<(PRODUCT_DIR)/widevinecdmadapter.plugin', | |
| - ], | |
| - }], | |
| ], | |
| }, | |
| { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment