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

Unified Diff: media/media.gyp

Issue 1989893004: media: Use platform specific folders for CDMs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix create_installer_archive.py 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
Index: media/media.gyp
diff --git a/media/media.gyp b/media/media.gyp
index 573e4bd62b2d40ddc2b4d1aa5397198a75866d5f..fb5291e2b8be9b04c8562e384df312abc3470289 100644
--- a/media/media.gyp
+++ b/media/media.gyp
@@ -1106,11 +1106,24 @@
], # target_conditions
},
{
+ # GN version: //media:cdm_paths
+ 'target_name': 'cdm_paths',
+ 'type': 'static_library',
+ 'sources': [
+ 'cdm/cdm_paths.cc',
+ 'cdm/cdm_paths.h',
+ ],
+ 'dependencies': [
+ '../base/base.gyp:base',
+ ]
+ },
+ {
# GN version: //media:media_unittests
'target_name': 'media_unittests',
'type': '<(gtest_target_type)',
'dependencies': [
'audio_test_config',
+ 'cdm_paths',
'media',
'media_features',
'media_test_support',
@@ -1327,6 +1340,13 @@
'sources': [
'cdm/cdm_adapter_unittest.cc',
],
+ 'conditions': [
+ ['OS == "mac"', {
+ 'xcode_settings': {
+ 'LD_RUNPATH_SEARCH_PATHS' : [ '@executable_path/<(clearkey_cdm_path)' ],
+ },
+ }]
+ ],
}],
['target_arch != "arm" and chromeos == 1 and use_x11 == 1', {
'sources': [
« media/cdm_paths.gypi ('K') | « media/cdm_paths.gypi ('k') | media/media_cdm.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698