Skip to content

Instantly share code, notes, and snippets.

@zhangyoufu
Created June 22, 2016 06:26
Show Gist options
  • Select an option

  • Save zhangyoufu/d3631c2b8bc2ec984175f55b42af17b6 to your computer and use it in GitHub Desktop.

Select an option

Save zhangyoufu/d3631c2b8bc2ec984175f55b42af17b6 to your computer and use it in GitHub Desktop.
enable Widevine CDM for Chromium (tested on 51.0.2704.103)
{
'GYP_DEFINES': 'ffmpeg_branding=Chrome proprietary_codecs=1 enable_widevine=1'
}
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