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

Side by Side Diff: webkit/media/webkit_media.gypi

Issue 10899021: Add CDM video decoder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed. 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/media/crypto/ppapi/ffmpeg_cdm_video_decoder.cc ('k') | no next file » | 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': {
7 'conditions': [
8 ['OS == "android" or OS == "ios"', {
9 # Android and iOS don't use ffmpeg.
10 'use_ffmpeg%': 0,
11 }, { # 'OS != "android" and OS != "ios"'
12 'use_ffmpeg%': 1,
13 }],
14 ],
15 },
6 'targets': [ 16 'targets': [
7 { 17 {
8 'target_name': 'webkit_media', 18 'target_name': 'webkit_media',
9 'type': 'static_library', 19 'type': 'static_library',
10 'variables': { 'enable_wexit_time_destructors': 1, }, 20 'variables': { 'enable_wexit_time_destructors': 1, },
11 'include_dirs': [ 21 'include_dirs': [
12 '<(SHARED_INTERMEDIATE_DIR)', # Needed by key_systems.cc. 22 '<(SHARED_INTERMEDIATE_DIR)', # Needed by key_systems.cc.
13 ], 23 ],
14 'dependencies': [ 24 'dependencies': [
15 '<(DEPTH)/base/base.gyp:base', 25 '<(DEPTH)/base/base.gyp:base',
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 }, { # OS != "android"' 105 }, { # OS != "android"'
96 'sources/': [ 106 'sources/': [
97 ['exclude', '^android/'], 107 ['exclude', '^android/'],
98 ], 108 ],
99 }], 109 }],
100 ], 110 ],
101 }, 111 },
102 { 112 {
103 'target_name': 'clearkeycdm', 113 'target_name': 'clearkeycdm',
104 'type': 'shared_library', 114 'type': 'shared_library',
115 'conditions': [
116 ['use_ffmpeg == 1' , {
117 'defines': ['CLEAR_KEY_CDM_USE_FFMPEG_DECODER'],
118 'dependencies': [
119 '<(DEPTH)/third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
120 ],
121 'sources': [
122 'crypto/ppapi/ffmpeg_cdm_video_decoder.cc',
123 'crypto/ppapi/ffmpeg_cdm_video_decoder.h',
124 ],
125 }],
126 ],
105 'defines': ['CDM_IMPLEMENTATION'], 127 'defines': ['CDM_IMPLEMENTATION'],
106 'dependencies': [ 128 'dependencies': [
107 '<(DEPTH)/base/base.gyp:base', 129 '<(DEPTH)/base/base.gyp:base',
108 '<(DEPTH)/media/media.gyp:media' 130 '<(DEPTH)/media/media.gyp:media',
109 ], 131 ],
110 'sources': [ 132 'sources': [
111 'crypto/ppapi/clear_key_cdm.cc', 133 'crypto/ppapi/clear_key_cdm.cc',
112 'crypto/ppapi/clear_key_cdm.h', 134 'crypto/ppapi/clear_key_cdm.h',
113 ], 135 ],
114 }, 136 },
115 { 137 {
116 'target_name': 'clearkeycdmplugin', 138 'target_name': 'clearkeycdmplugin',
117 'type': 'none', 139 'type': 'none',
118 'dependencies': [ 140 'dependencies': [
(...skipping 27 matching lines...) Expand all
146 # Not to strip important symbols by -Wl,-dead_strip. 168 # Not to strip important symbols by -Wl,-dead_strip.
147 '-Wl,-exported_symbol,_PPP_GetInterface', 169 '-Wl,-exported_symbol,_PPP_GetInterface',
148 '-Wl,-exported_symbol,_PPP_InitializeModule', 170 '-Wl,-exported_symbol,_PPP_InitializeModule',
149 '-Wl,-exported_symbol,_PPP_ShutdownModule' 171 '-Wl,-exported_symbol,_PPP_ShutdownModule'
150 ]}, 172 ]},
151 }], 173 }],
152 ], 174 ],
153 } 175 }
154 ], 176 ],
155 } 177 }
OLDNEW
« no previous file with comments | « webkit/media/crypto/ppapi/ffmpeg_cdm_video_decoder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698