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

Side by Side Diff: third_party/ffmpeg/ffmpeg.gyp

Issue 149165: Checking in Windows FFmpeg binaries for Chromium. (Closed)
Patch Set: Created 11 years, 5 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
« no previous file with comments | « third_party/ffmpeg/binaries/chromium/pthreadGC2.dll ('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) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 'includes': [ 6 'includes': [
7 '../../build/common.gypi', 7 '../../build/common.gypi',
8 ], 8 ],
9 'target_defaults': { 9 'target_defaults': {
10 'conditions': [ 10 'conditions': [
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 ], 163 ],
164 'message': 'Generating FFmpeg stubs for dynamic loading.', 164 'message': 'Generating FFmpeg stubs for dynamic loading.',
165 'process_outputs_as_sources': 1, 165 'process_outputs_as_sources': 1,
166 }, 166 },
167 ], 167 ],
168 } 168 }
169 ], 169 ],
170 ], 170 ],
171 }, 171 },
172 { 172 {
173 # We prefer the Chrome binaries over the Chromium ones, which will get
174 # overwritten due to the order that the binaries are copied.
awong 2009/07/03 01:52:05 So we decided not to use the branding varaible to
173 'target_name': 'ffmpeg_binaries', 175 'target_name': 'ffmpeg_binaries',
174 'type': 'none', 176 'type': 'none',
175 'msvs_guid': '4E4070E1-EFD9-4EF1-8634-3960956F6F10', 177 'msvs_guid': '4E4070E1-EFD9-4EF1-8634-3960956F6F10',
176 'conditions': [ 178 'conditions': [
177 ['OS=="win"', { 179 ['OS=="win"', {
178 'variables': { 180 'variables': {
179 'source_files': [ 181 'source_files': [
180 'binaries/avcodec-52.dll', 182 'binaries/chromium/avcodec-52.dll',
181 'binaries/avformat-52.dll', 183 'binaries/chromium/avformat-52.dll',
182 'binaries/avutil-50.dll', 184 'binaries/chromium/avutil-50.dll',
183 'binaries/pthreadGC2.dll', 185 'binaries/chromium/pthreadGC2.dll',
186 'binaries/chrome/avcodec-52.dll',
187 'binaries/chrome/avformat-52.dll',
188 'binaries/chrome/avutil-50.dll',
189 'binaries/chrome/pthreadGC2.dll',
184 ], 190 ],
185 'output_files': [ 191 'output_files': [
186 '<(PRODUCT_DIR)/avcodec-52.dll', 192 '<(PRODUCT_DIR)/avcodec-52.dll',
187 '<(PRODUCT_DIR)/avformat-52.dll', 193 '<(PRODUCT_DIR)/avformat-52.dll',
188 '<(PRODUCT_DIR)/avutil-50.dll', 194 '<(PRODUCT_DIR)/avutil-50.dll',
189 '<(PRODUCT_DIR)/pthreadGC2.dll', 195 '<(PRODUCT_DIR)/pthreadGC2.dll',
190 ], 196 ],
191 }, 197 },
192 'dependencies': ['../../build/win/system.gyp:cygwin'], 198 'dependencies': ['../../build/win/system.gyp:cygwin'],
193 }], ['OS=="linux"', { 199 }], ['OS=="linux"', {
194 'variables': { 200 'variables': {
195 'source_files': [ 201 'source_files': [
196 'binaries/libavcodec.so.52', 202 'binaries/chromium/libavcodec.so.52',
197 'binaries/libavformat.so.52', 203 'binaries/chromium/libavformat.so.52',
198 'binaries/libavutil.so.50', 204 'binaries/chromium/libavutil.so.50',
205 'binaries/chrome/libavcodec.so.52',
206 'binaries/chrome/libavformat.so.52',
207 'binaries/chrome/libavutil.so.50',
199 ], 208 ],
200 'output_files': [ 209 'output_files': [
201 '<(PRODUCT_DIR)/libavcodec.so.52', 210 '<(PRODUCT_DIR)/libavcodec.so.52',
202 '<(PRODUCT_DIR)/libavformat.so.52', 211 '<(PRODUCT_DIR)/libavformat.so.52',
203 '<(PRODUCT_DIR)/libavutil.so.50', 212 '<(PRODUCT_DIR)/libavutil.so.50',
204 ], 213 ],
205 }, 214 },
206 }], ['OS=="mac"', { 215 }], ['OS=="mac"', {
207 'variables': { 216 'variables': {
208 'source_files': [ 217 'source_files': [
209 'binaries/libavcodec.52.dylib', 218 'binaries/chromium/libavcodec.52.dylib',
210 'binaries/libavformat.52.dylib', 219 'binaries/chromium/libavformat.52.dylib',
211 'binaries/libavutil.50.dylib', 220 'binaries/chromium/libavutil.50.dylib',
221 'binaries/chrome/libavcodec.52.dylib',
222 'binaries/chrome/libavformat.52.dylib',
223 'binaries/chrome/libavutil.50.dylib',
212 ], 224 ],
213 'output_files': [ 225 'output_files': [
214 '<(PRODUCT_DIR)/libavcodec.52.dylib', 226 '<(PRODUCT_DIR)/libavcodec.52.dylib',
215 '<(PRODUCT_DIR)/libavformat.52.dylib', 227 '<(PRODUCT_DIR)/libavformat.52.dylib',
216 '<(PRODUCT_DIR)/libavutil.50.dylib', 228 '<(PRODUCT_DIR)/libavutil.50.dylib',
217 ], 229 ],
218 }, 230 },
219 }], 231 }],
220 ], 232 ],
221 'sources': [ 233 'sources': [
(...skipping 11 matching lines...) Expand all
233 './copy_binaries.sh', 245 './copy_binaries.sh',
234 '<@(source_files)', 246 '<@(source_files)',
235 '<(PRODUCT_DIR)/' 247 '<(PRODUCT_DIR)/'
236 ], 248 ],
237 'message': 'Copying FFmpeg binaries...', 249 'message': 'Copying FFmpeg binaries...',
238 }, 250 },
239 ], 251 ],
240 }, 252 },
241 ], 253 ],
242 } 254 }
OLDNEW
« no previous file with comments | « third_party/ffmpeg/binaries/chromium/pthreadGC2.dll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698