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

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: comments 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
« no previous file with comments | « 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..fcd0f7b4956ea17d639d3e43225fa51af2deb95f 100644
--- a/third_party/widevine/cdm/widevine_cdm.gyp
+++ b/third_party/widevine/cdm/widevine_cdm.gyp
@@ -11,6 +11,7 @@
'enable_widevine%': '<(enable_widevine)',
'widevine_cdm_version_h_file%': 'widevine_cdm_version.h',
'widevine_cdm_binary_files%': [],
+ 'widevine_cdm_manifest_file%': [],
'conditions': [
[ 'branding == "Chrome"', {
'conditions': [
@@ -34,6 +35,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 +46,9 @@
'win/<(target_arch)/widevinecdm.dll',
'win/<(target_arch)/widevinecdm.dll.lib',
],
+ 'widevine_cdm_manifest_file%': [
+ 'win/<(target_arch)/manifest.json',
+ ],
}],
],
}],
@@ -93,6 +100,7 @@
'<(DEPTH)/ppapi/ppapi.gyp:ppapi_cpp',
'<(DEPTH)/media/media_cdm_adapter.gyp:cdmadapter',
'widevine_cdm_version_h',
+ 'widevine_cdm_manifest',
'widevinecdm',
'widevinecdmadapter_resources',
],
@@ -158,6 +166,19 @@
}],
},
{
+ # GN version: //third_party/widevine/cdm:widevine_cdm_manifest
+ 'target_name': 'widevine_cdm_manifest',
+ 'type': 'none',
+ 'conditions': [
+ [ 'branding == "Chrome"', {
+ 'copies': [{
+ 'destination': '<(PRODUCT_DIR)/WidevineCdm',
+ 'files': [ '<(widevine_cdm_manifest_file)' ],
+ }],
+ }],
+ ],
+ },
+ {
# GN version: //third_party/widevine/cdm:widevinecdm
'target_name': 'widevinecdm',
'type': 'none',
« no previous file with comments | « third_party/widevine/cdm/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698