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

Side by Side Diff: media/media.gyp

Issue 1978263002: Exclude unit tests depending on FFMPEG, when FFMPEG is not used. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | 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': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 # Override to dynamically link the cras (ChromeOS audio) library. 8 # Override to dynamically link the cras (ChromeOS audio) library.
9 'use_cras%': 0, 9 'use_cras%': 0,
10 # Option e.g. for Linux distributions to link pulseaudio directly 10 # Option e.g. for Linux distributions to link pulseaudio directly
(...skipping 1273 matching lines...) Expand 10 before | Expand all | Expand 10 after
1284 ], 1284 ],
1285 }], 1285 }],
1286 ['media_use_ffmpeg==1', { 1286 ['media_use_ffmpeg==1', {
1287 'dependencies': [ 1287 'dependencies': [
1288 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', 1288 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
1289 ], 1289 ],
1290 }, { # media_use_ffmpeg==0 1290 }, { # media_use_ffmpeg==0
1291 'sources!': [ 1291 'sources!': [
1292 'ffmpeg/ffmpeg_common_unittest.cc', 1292 'ffmpeg/ffmpeg_common_unittest.cc',
1293 'filters/audio_decoder_unittest.cc', 1293 'filters/audio_decoder_unittest.cc',
1294 'filters/audio_file_reader_unittest.cc',
1295 'filters/blocking_url_protocol_unittest.cc',
1294 'filters/ffmpeg_aac_bitstream_converter_unittest.cc', 1296 'filters/ffmpeg_aac_bitstream_converter_unittest.cc',
1295 'filters/ffmpeg_demuxer_unittest.cc', 1297 'filters/ffmpeg_demuxer_unittest.cc',
1296 'filters/ffmpeg_glue_unittest.cc', 1298 'filters/ffmpeg_glue_unittest.cc',
1297 'filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc', 1299 'filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc',
1300 'filters/in_memory_url_protocol_unittest.cc'
1298 ], 1301 ],
1299 }], 1302 }],
1300 # Even if FFmpeg is enabled on Android we don't want these. 1303 # Even if FFmpeg is enabled on Android we don't want these.
1301 # TODO(watk): Refactor tests that could be made to run on Android. See 1304 # TODO(watk): Refactor tests that could be made to run on Android. See
1302 # http://crbug.com/570762 1305 # http://crbug.com/570762
1303 ['media_use_ffmpeg==0 or OS=="android"', { 1306 ['media_use_ffmpeg==0 or OS=="android"', {
1304 'sources!': [ 1307 'sources!': [
1305 'base/audio_video_metadata_extractor_unittest.cc', 1308 'base/audio_video_metadata_extractor_unittest.cc',
1306 'base/media_file_checker_unittest.cc', 1309 'base/media_file_checker_unittest.cc',
1307 'filters/ffmpeg_video_decoder_unittest.cc', 1310 'filters/ffmpeg_video_decoder_unittest.cc',
(...skipping 976 matching lines...) Expand 10 before | Expand all | Expand 10 after
2284 'dependencies': [ 2287 'dependencies': [
2285 '../build/linux/system.gyp:libdrm', 2288 '../build/linux/system.gyp:libdrm',
2286 ] 2289 ]
2287 }], 2290 }],
2288 ], 2291 ],
2289 } 2292 }
2290 ] 2293 ]
2291 }], 2294 }],
2292 ], 2295 ],
2293 } 2296 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698