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

Side by Side Diff: third_party/widevine/cdm/widevine_cdm.gyp

Issue 14743002: Do not use bundles for the CDM on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Do not bundle adapter yet Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/landmines.py ('k') | webkit/media/webkit_media.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'widevine_cdm_version_h_file%': 'widevine_cdm_version.h', 7 'widevine_cdm_version_h_file%': 'widevine_cdm_version.h',
8 'widevine_cdm_binary_files%': [], 8 'widevine_cdm_binary_files%': [],
9 'conditions': [ 9 'conditions': [
10 [ 'branding == "Chrome"', { 10 [ 'branding == "Chrome"', {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 'libraries': [ 68 'libraries': [
69 # Copied by widevine_cdm_binaries. 69 # Copied by widevine_cdm_binaries.
70 '<(PRODUCT_DIR)/libwidevinecdm.so', 70 '<(PRODUCT_DIR)/libwidevinecdm.so',
71 ], 71 ],
72 }], 72 }],
73 [ 'OS == "win" and 0', { 73 [ 'OS == "win" and 0', {
74 'type': 'shared_library', 74 'type': 'shared_library',
75 }], 75 }],
76 [ 'OS == "mac" and 0', { 76 [ 'OS == "mac" and 0', {
77 'type': 'loadable_module', 77 'type': 'loadable_module',
78 'mac_bundle': 1,
79 'product_extension': 'plugin', 78 'product_extension': 'plugin',
80 'libraries': [ 79 'libraries': [
81 # Copied by widevine_cdm_binaries. 80 # Copied by widevine_cdm_binaries.
82 '<(PRODUCT_DIR)/libwidevinecdm.dylib', 81 '<(PRODUCT_DIR)/libwidevinecdm.dylib',
83 ], 82 ],
84 'xcode_settings': { 83 'xcode_settings': {
85 'OTHER_LDFLAGS': [ 84 'OTHER_LDFLAGS': [
86 # Not to strip important symbols by -Wl,-dead_strip. 85 # Not to strip important symbols by -Wl,-dead_strip.
87 '-Wl,-exported_symbol,_PPP_GetInterface', 86 '-Wl,-exported_symbol,_PPP_GetInterface',
88 '-Wl,-exported_symbol,_PPP_InitializeModule', 87 '-Wl,-exported_symbol,_PPP_InitializeModule',
89 '-Wl,-exported_symbol,_PPP_ShutdownModule' 88 '-Wl,-exported_symbol,_PPP_ShutdownModule'
90 ]}, 89 ],
91 'copies': [ 90 'DYLIB_INSTALL_NAME_BASE': '@loader_path',
92 { 91 },
93 'destination':
94 '<(PRODUCT_DIR)/widevinecdmadapter.plugin/Contents/MacOS/' ,
95 'files': [
96 '<(PRODUCT_DIR)/libwidevinecdm.dylib',
97 ]
98 }
99 ]
100 }], 92 }],
101 ], 93 ],
102 }], 94 }],
103 ], 95 ],
104 }, 96 },
105 { 97 {
106 'target_name': 'widevine_cdm_version_h', 98 'target_name': 'widevine_cdm_version_h',
107 'type': 'none', 99 'type': 'none',
108 'copies': [{ 100 'copies': [{
109 'destination': '<(SHARED_INTERMEDIATE_DIR)', 101 'destination': '<(SHARED_INTERMEDIATE_DIR)',
110 'files': [ '<(widevine_cdm_version_h_file)' ], 102 'files': [ '<(widevine_cdm_version_h_file)' ],
111 }], 103 }],
112 }, 104 },
113 { 105 {
114 'target_name': 'widevine_cdm_binaries', 106 'target_name': 'widevine_cdm_binaries',
115 'type': 'none', 107 'type': 'none',
116 'copies': [{ 108 'copies': [{
117 # TODO(ddorwin): Do we need a sub-directory? We either need a 109 # TODO(ddorwin): Do we need a sub-directory? We either need a
118 # sub-directory or to rename manifest.json before we can copy it. 110 # sub-directory or to rename manifest.json before we can copy it.
119 'destination': '<(PRODUCT_DIR)', 111 'destination': '<(PRODUCT_DIR)',
120 'files': [ '<@(widevine_cdm_binary_files)' ], 112 'files': [ '<@(widevine_cdm_binary_files)' ],
121 }], 113 }],
122 }, 114 },
123 ], 115 ],
124 } 116 }
OLDNEW
« no previous file with comments | « build/landmines.py ('k') | webkit/media/webkit_media.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698