Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(416)

Unified Diff: third_party/widevine/cdm/widevine_cdm.gyp

Issue 2000513002: media: Bundle Widevine CDM on Win/Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more fixes Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« chrome/chrome_dll_bundle.gypi ('K') | « third_party/widevine/cdm/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/widevine/cdm/widevine_cdm.gyp
diff --git a/third_party/widevine/cdm/widevine_cdm.gyp b/third_party/widevine/cdm/widevine_cdm.gyp
index c576396d75cf564d779bf61c0afc7f1c782ee9cd..9dd175311508270ef170b5b8815d9d5f919a45f6 100644
--- a/third_party/widevine/cdm/widevine_cdm.gyp
+++ b/third_party/widevine/cdm/widevine_cdm.gyp
@@ -20,6 +20,7 @@
'widevine_cdm_binary_files%': [
'chromeos/<(target_arch)/libwidevinecdm.so',
],
+ 'widevine_cdm_manifest_file%': [],
}],
[ 'OS == "linux" and chromeos == 0', {
'widevine_cdm_version_h_file%':
@@ -27,6 +28,7 @@
'widevine_cdm_binary_files%': [
'linux/<(target_arch)/libwidevinecdm.so',
],
+ 'widevine_cdm_manifest_file%': [],
}],
[ 'OS == "mac"', {
'widevine_cdm_version_h_file%':
@@ -34,6 +36,9 @@
'widevine_cdm_binary_files%': [
'mac/<(target_arch)/libwidevinecdm.dylib',
],
+ 'widevine_cdm_manifest_file%': [
+ 'mac/<(target_arch)/manifest.json',
+ ],
}],
[ 'OS == "win"', {
'widevine_cdm_version_h_file%':
@@ -42,6 +47,9 @@
'win/<(target_arch)/widevinecdm.dll',
'win/<(target_arch)/widevinecdm.dll.lib',
],
+ 'widevine_cdm_manifest_file%': [
+ 'win/<(target_arch)/manifest.json',
+ ],
}],
],
}],
@@ -174,6 +182,10 @@
'destination': '<(PRODUCT_DIR)/<(widevine_cdm_path)',
'files': [ '<@(widevine_cdm_binary_files)' ],
}],
+ 'copies': [{
+ 'destination': '<(PRODUCT_DIR)/WidevineCdm',
+ 'files': [ '<(widevine_cdm_manifest_file)' ],
+ }],
}],
[ 'branding != "Chrome" and enable_widevine == 1', {
'product_dir': '<(PRODUCT_DIR)/<(widevine_cdm_path)',
« chrome/chrome_dll_bundle.gypi ('K') | « third_party/widevine/cdm/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698