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

Unified Diff: media/media_cdm.gypi

Issue 1043673002: Allow widevinecdmadapter to be built in Chromium (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes Created 5 years, 9 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
Index: media/media_cdm.gypi
diff --git a/media/media_cdm.gypi b/media/media_cdm.gypi
index 7d927324ac31de75805f8d3fc56c59e0947fa06c..41fc3d2cc55dd503ec6dfdd10e11776059163689 100644
--- a/media/media_cdm.gypi
+++ b/media/media_cdm.gypi
@@ -153,6 +153,32 @@
}],
],
},
+ {
+ # GN version: //media/cdm/ppapi:stubcdm (TODO!!!)
+ 'target_name': 'stubcdm',
+ 'type': 'none',
ddorwin 2015/04/03 19:53:02 This could become a static library, but the SO cre
jrummell 2015/04/03 23:26:22 Build the stub as widevinecdm now.
+ 'conditions': [
+ ['os_posix == 1 and OS != "mac"', {
+ 'type': 'loadable_module',
+ }],
+ ['OS == "mac" or OS == "win"', {
+ 'type': 'shared_library',
+ }],
+ ['OS == "mac"', {
+ 'xcode_settings': {
+ 'DYLIB_INSTALL_NAME_BASE': '@loader_path',
+ },
+ }]
+ ],
+ 'defines': ['CDM_IMPLEMENTATION'],
+ 'dependencies': [
+ '<(DEPTH)/base/base.gyp:base',
+ ],
+ 'sources': [
+ 'cdm/stub/stub_cdm.cc',
+ 'cdm/stub/stub_cdm.h',
+ ],
+ },
],
}],
],

Powered by Google App Engine
This is Rietveld 408576698