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

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

Issue 1978123002: Revert of media: Move widevine CDM targets to WidevineCdm folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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') | third_party/widevine/cdm/widevine_cdm_common.h » ('j') | 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 beb971ca0feffd3d3f7887009119c136eb4ea057..97a416518bfb4063443695365f665d6870fa5acd 100644
--- a/third_party/widevine/cdm/widevine_cdm.gyp
+++ b/third_party/widevine/cdm/widevine_cdm.gyp
@@ -10,7 +10,6 @@
},
'enable_widevine%': '<(enable_widevine)',
'widevine_cdm_version_h_file%': 'widevine_cdm_version.h',
- # TODO(xhwang): Also include manifest.json.
'widevine_cdm_binary_files%': [],
'conditions': [
[ 'branding == "Chrome"', {
@@ -87,7 +86,6 @@
{
# GN version: //third_party/widevine/cdm:widevinecdmadapter
'target_name': 'widevinecdmadapter',
- 'product_dir': '<(PRODUCT_DIR)/WidevineCdm',
'type': 'none',
'conditions': [
[ '(branding == "Chrome" or enable_widevine == 1) and enable_pepper_cdms == 1', {
@@ -106,19 +104,19 @@
'libraries': [
'-lrt',
# Copied/created by widevinecdm.
- '<(PRODUCT_DIR)/WidevineCdm/libwidevinecdm.so',
+ '<(PRODUCT_DIR)/libwidevinecdm.so',
],
}],
[ 'OS == "win"', {
'libraries': [
# Copied/created by widevinecdm.
- '<(PRODUCT_DIR)/WidevineCdm/widevinecdm.dll.lib',
+ '<(PRODUCT_DIR)/widevinecdm.dll.lib',
],
}],
[ 'OS == "mac"', {
'libraries': [
# Copied/created by widevinecdm.
- '<(PRODUCT_DIR)/WidevineCdm/libwidevinecdm.dylib',
+ '<(PRODUCT_DIR)/libwidevinecdm.dylib',
],
}],
],
@@ -148,16 +146,17 @@
}],
],
'copies': [{
- 'destination': '<(PRODUCT_DIR)/WidevineCdm',
+ # TODO(ddorwin): Do we need a sub-directory? We either need a
+ # sub-directory or to rename manifest.json before we can copy it.
+ 'destination': '<(PRODUCT_DIR)',
'files': [ '<@(widevine_cdm_binary_files)' ],
}],
}],
[ 'branding != "Chrome" and enable_widevine == 1', {
- 'product_dir': '<(PRODUCT_DIR)/WidevineCdm',
'conditions': [
['os_posix == 1 and OS != "mac"', {
'type': 'loadable_module',
- # This causes the binary to be put in <(PRODUCT_DIR)/WidevineCdm
+ # Note that this causes the binary to be put in PRODUCT_DIR
# instead of lib/. This matches what happens in the copy step
# above.
}],
« no previous file with comments | « third_party/widevine/cdm/BUILD.gn ('k') | third_party/widevine/cdm/widevine_cdm_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698