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

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

Issue 11260007: Add FFmpeg audio decoder for the clear key CDM. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased on 11242005 and 11189082 Created 8 years, 1 month 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
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 'conditions': [ 7 'conditions': [
8 ['OS == "android" or OS == "ios"', { 8 ['OS == "android" or OS == "ios"', {
9 # Android and iOS don't use ffmpeg. 9 # Android and iOS don't use ffmpeg.
10 'use_ffmpeg%': 0, 10 'use_ffmpeg%': 0,
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 { 112 {
113 'target_name': 'clearkeycdm', 113 'target_name': 'clearkeycdm',
114 'type': 'shared_library', 114 'type': 'shared_library',
115 'conditions': [ 115 'conditions': [
116 ['use_ffmpeg == 1' , { 116 ['use_ffmpeg == 1' , {
117 'defines': ['CLEAR_KEY_CDM_USE_FFMPEG_DECODER'], 117 'defines': ['CLEAR_KEY_CDM_USE_FFMPEG_DECODER'],
118 'dependencies': [ 118 'dependencies': [
119 '<(DEPTH)/third_party/ffmpeg/ffmpeg.gyp:ffmpeg', 119 '<(DEPTH)/third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
120 ], 120 ],
121 'sources': [ 121 'sources': [
122 'crypto/ppapi/ffmpeg_cdm_audio_decoder.cc',
123 'crypto/ppapi/ffmpeg_cdm_audio_decoder.h',
122 'crypto/ppapi/ffmpeg_cdm_video_decoder.cc', 124 'crypto/ppapi/ffmpeg_cdm_video_decoder.cc',
123 'crypto/ppapi/ffmpeg_cdm_video_decoder.h', 125 'crypto/ppapi/ffmpeg_cdm_video_decoder.h',
124 ], 126 ],
125 }], 127 }],
126 ], 128 ],
127 'defines': ['CDM_IMPLEMENTATION'], 129 'defines': ['CDM_IMPLEMENTATION'],
128 'dependencies': [ 130 'dependencies': [
129 '<(DEPTH)/base/base.gyp:base', 131 '<(DEPTH)/base/base.gyp:base',
130 '<(DEPTH)/media/media.gyp:media', 132 '<(DEPTH)/media/media.gyp:media',
131 ], 133 ],
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 # Not to strip important symbols by -Wl,-dead_strip. 170 # Not to strip important symbols by -Wl,-dead_strip.
169 '-Wl,-exported_symbol,_PPP_GetInterface', 171 '-Wl,-exported_symbol,_PPP_GetInterface',
170 '-Wl,-exported_symbol,_PPP_InitializeModule', 172 '-Wl,-exported_symbol,_PPP_InitializeModule',
171 '-Wl,-exported_symbol,_PPP_ShutdownModule' 173 '-Wl,-exported_symbol,_PPP_ShutdownModule'
172 ]}, 174 ]},
173 }], 175 }],
174 ], 176 ],
175 } 177 }
176 ], 178 ],
177 } 179 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698