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

Side by Side Diff: media/media.gyp

Issue 541553003: Make ffmpeg specific unit_tests depend on media_use_ffmpeg (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased patch to latest master Created 6 years, 3 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 | « media/BUILD.gn ('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': { 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 1219 matching lines...) Expand 10 before | Expand all | Expand 10 after
1230 'USE_NEON' 1230 'USE_NEON'
1231 ], 1231 ],
1232 }], 1232 }],
1233 ['media_use_ffmpeg==1', { 1233 ['media_use_ffmpeg==1', {
1234 'dependencies': [ 1234 'dependencies': [
1235 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', 1235 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
1236 ], 1236 ],
1237 }, { # media_use_ffmpeg== 0 1237 }, { # media_use_ffmpeg== 0
1238 'sources!': [ 1238 'sources!': [
1239 'base/audio_video_metadata_extractor_unittest.cc', 1239 'base/audio_video_metadata_extractor_unittest.cc',
1240 'base/container_names_unittest.cc',
1240 'base/media_file_checker_unittest.cc', 1241 'base/media_file_checker_unittest.cc',
1242 'ffmpeg/ffmpeg_common_unittest.cc',
1243 'filters/audio_decoder_unittest.cc',
1244 'filters/audio_file_reader_unittest.cc',
1245 'filters/blocking_url_protocol_unittest.cc',
1246 'filters/ffmpeg_demuxer_unittest.cc',
1247 'filters/ffmpeg_glue_unittest.cc',
1248 'filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc',
1249 'filters/ffmpeg_video_decoder_unittest.cc',
1250 'filters/in_memory_url_protocol_unittest.cc',
1251 'filters/pipeline_integration_test.cc',
1252 'filters/pipeline_integration_test_base.cc',
1241 ], 1253 ],
1242 }], 1254 }],
1243 ['use_alsa==1', { 1255 ['use_alsa==1', {
1244 'defines': [ 1256 'defines': [
1245 'USE_ALSA', 1257 'USE_ALSA',
1246 ], 1258 ],
1247 }], 1259 }],
1248 ['use_pulseaudio==1', { 1260 ['use_pulseaudio==1', {
1249 'defines': [ 1261 'defines': [
1250 'USE_PULSEAUDIO', 1262 'USE_PULSEAUDIO',
1251 ], 1263 ],
1252 }], 1264 }],
1253 ['os_posix==1 and OS!="mac"', { 1265 ['os_posix==1 and OS!="mac"', {
1254 'conditions': [ 1266 'conditions': [
1255 ['use_allocator!="none"', { 1267 ['use_allocator!="none"', {
1256 'dependencies': [ 1268 'dependencies': [
1257 '../base/allocator/allocator.gyp:allocator', 1269 '../base/allocator/allocator.gyp:allocator',
1258 ], 1270 ],
1259 }], 1271 }],
1260 ], 1272 ],
1261 }], 1273 }],
1262 ['OS=="android"', { 1274 ['OS=="android"', {
1263 'sources!': [ 1275 'sources!': [
1264 'audio/audio_input_volume_unittest.cc', 1276 'audio/audio_input_volume_unittest.cc',
1265 'base/container_names_unittest.cc',
1266 'ffmpeg/ffmpeg_common_unittest.cc',
1267 'filters/audio_decoder_unittest.cc',
1268 'filters/audio_file_reader_unittest.cc',
1269 'filters/blocking_url_protocol_unittest.cc',
1270 'filters/ffmpeg_demuxer_unittest.cc',
1271 'filters/ffmpeg_glue_unittest.cc',
1272 'filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc',
1273 'filters/ffmpeg_video_decoder_unittest.cc',
1274 'filters/in_memory_url_protocol_unittest.cc',
1275 'filters/pipeline_integration_test.cc',
1276 'filters/pipeline_integration_test_base.cc',
1277 ], 1277 ],
1278 'dependencies': [ 1278 'dependencies': [
1279 '../testing/android/native_test.gyp:native_test_native_code', 1279 '../testing/android/native_test.gyp:native_test_native_code',
1280 'player_android', 1280 'player_android',
1281 ], 1281 ],
1282 }], 1282 }],
1283 ['OS=="linux"', { 1283 ['OS=="linux"', {
1284 'conditions': [ 1284 'conditions': [
1285 ['use_cras==1', { 1285 ['use_cras==1', {
1286 'sources': [ 1286 'sources': [
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
1803 ], 1803 ],
1804 }], 1804 }],
1805 ], 1805 ],
1806 }], 1806 }],
1807 ], 1807 ],
1808 }, 1808 },
1809 ], 1809 ],
1810 }], 1810 }],
1811 ], 1811 ],
1812 } 1812 }
OLDNEW
« no previous file with comments | « media/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698