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

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

Issue 11227048: Fix linking issue with CDM plugin wrapper and pre-built CDM. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed whitespace. Created 8 years, 2 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 | « no previous file | 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 8394954d66624eb3c9d9ba313e33f2ebf5dc630b..57f309f6b6a0232b6596be76dfbaa6b082a60569 100644
--- a/third_party/widevine/cdm/widevine_cdm.gyp
+++ b/third_party/widevine/cdm/widevine_cdm.gyp
@@ -14,7 +14,6 @@
'symbols/chromeos/<(target_arch)/widevine_cdm_version.h',
'widevine_cdm_binary_files%': [
'binaries/chromeos/<(target_arch)/libwidevinecdm.so',
- 'binaries/chromeos/<(target_arch)/manifest.json',
],
}],
[ 'OS == "linux" and chromeos == 0', {
@@ -22,7 +21,6 @@
'symbols/linux/<(target_arch)/widevine_cdm_version.h',
'widevine_cdm_binary_files%': [
'binaries/linux/<(target_arch)/libwidevinecdm.so',
- 'binaries/linux/<(target_arch)/manifest.json',
],
}],
[ 'OS == "mac"', {
@@ -30,7 +28,6 @@
'symbols/mac/<(target_arch)/widevine_cdm_version.h',
'widevine_cdm_binary_files%': [
'binaries/mac/<(target_arch)/libwidevinecdm.dylib',
- 'binaries/mac/<(target_arch)/manifest.json',
],
}],
[ 'OS == "win"', {
@@ -38,7 +35,6 @@
'symbols/win/<(target_arch)/widevine_cdm_version.h',
'widevine_cdm_binary_files%': [
'binaries/win/<(target_arch)/widevinecdm.dll',
- 'binaries/win/<(target_arch)/manifest.json',
],
}],
],
@@ -67,11 +63,14 @@
[ 'os_posix == 1 and OS != "mac"', {
'cflags': ['-fvisibility=hidden'],
'type': 'loadable_module',
- # -gstabs, used in the official builds, causes an ICE. Simply
- # remove it.
- 'cflags!': ['-gstabs'],
# Allow the plugin wrapper to find the CDM in the same directory.
- 'ldflags': ['-Wl,-rpath=\$$ORIGIN']
+ 'ldflags': ['-Wl,-rpath=\$$ORIGIN'],
+ }],
+ [ 'chromeos == 1 and target_arch == "arm"', {
+ 'libraries': [
+ # Copied by widevine_cdm_binaries.
+ '<(PRODUCT_DIR)/libwidevinecdm.so',
+ ],
}],
[ 'OS == "win" and 0', {
'type': 'shared_library',
@@ -104,7 +103,8 @@
'target_name': 'widevine_cdm_binaries',
'type': 'none',
'copies': [{
- # TODO(ddorwin): Do we need a sub-directory?
+ # 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)' ],
}],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698