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

Side by Side 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, 8 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
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 'conditions': [ 7 'conditions': [
8 ['OS == "android"', { 8 ['OS == "android"', {
9 # Android doesn't use ffmpeg. 9 # Android doesn't use ffmpeg.
10 'use_ffmpeg%': 0, 10 'use_ffmpeg%': 0,
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 # Because clearkeycdm has type 'loadable_module' (see comments), 146 # Because clearkeycdm has type 'loadable_module' (see comments),
147 # we must explicitly specify this dependency. 147 # we must explicitly specify this dependency.
148 'libraries': [ 148 'libraries': [
149 '-lrt', 149 '-lrt',
150 # Built by clearkeycdm. 150 # Built by clearkeycdm.
151 '<(PRODUCT_DIR)/libclearkeycdm.so', 151 '<(PRODUCT_DIR)/libclearkeycdm.so',
152 ], 152 ],
153 }], 153 }],
154 ], 154 ],
155 }, 155 },
156 {
157 # GN version: //media/cdm/ppapi:stubcdm (TODO!!!)
158 'target_name': 'stubcdm',
159 '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.
160 'conditions': [
161 ['os_posix == 1 and OS != "mac"', {
162 'type': 'loadable_module',
163 }],
164 ['OS == "mac" or OS == "win"', {
165 'type': 'shared_library',
166 }],
167 ['OS == "mac"', {
168 'xcode_settings': {
169 'DYLIB_INSTALL_NAME_BASE': '@loader_path',
170 },
171 }]
172 ],
173 'defines': ['CDM_IMPLEMENTATION'],
174 'dependencies': [
175 '<(DEPTH)/base/base.gyp:base',
176 ],
177 'sources': [
178 'cdm/stub/stub_cdm.cc',
179 'cdm/stub/stub_cdm.h',
180 ],
181 },
156 ], 182 ],
157 }], 183 }],
158 ], 184 ],
159 } 185 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698