OLD | NEW |
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 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1142 'filters/ffmpeg_audio_decoder_unittest.cc', | 1142 'filters/ffmpeg_audio_decoder_unittest.cc', |
1143 'filters/ffmpeg_demuxer_unittest.cc', | 1143 'filters/ffmpeg_demuxer_unittest.cc', |
1144 'filters/ffmpeg_glue_unittest.cc', | 1144 'filters/ffmpeg_glue_unittest.cc', |
1145 'filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc', | 1145 'filters/ffmpeg_h264_to_annex_b_bitstream_converter_unittest.cc', |
1146 'filters/ffmpeg_video_decoder_unittest.cc', | 1146 'filters/ffmpeg_video_decoder_unittest.cc', |
1147 'filters/in_memory_url_protocol_unittest.cc', | 1147 'filters/in_memory_url_protocol_unittest.cc', |
1148 'filters/opus_audio_decoder_unittest.cc', | 1148 'filters/opus_audio_decoder_unittest.cc', |
1149 'filters/pipeline_integration_test.cc', | 1149 'filters/pipeline_integration_test.cc', |
1150 'filters/pipeline_integration_test_base.cc', | 1150 'filters/pipeline_integration_test_base.cc', |
1151 ], | 1151 ], |
1152 'conditions': [ | 1152 'dependencies': [ |
1153 ['gtest_target_type=="shared_library"', { | 1153 '../testing/android/native_test.gyp:native_test_native_code', |
1154 'dependencies': [ | 1154 'player_android', |
1155 '../testing/android/native_test.gyp:native_test_native_code', | |
1156 'player_android', | |
1157 ], | |
1158 }], | |
1159 ], | 1155 ], |
1160 }], | 1156 }], |
1161 ['OS=="linux"', { | 1157 ['OS=="linux"', { |
1162 'conditions': [ | 1158 'conditions': [ |
1163 ['use_cras==1', { | 1159 ['use_cras==1', { |
1164 'sources': [ | 1160 'sources': [ |
1165 'audio/cras/cras_input_unittest.cc', | 1161 'audio/cras/cras_input_unittest.cc', |
1166 'audio/cras/cras_unified_unittest.cc', | 1162 'audio/cras/cras_unified_unittest.cc', |
1167 ], | 1163 ], |
1168 'defines': [ | 1164 'defines': [ |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1245 'filters/pipeline_integration_perftest.cc', | 1241 'filters/pipeline_integration_perftest.cc', |
1246 'filters/pipeline_integration_test_base.cc', | 1242 'filters/pipeline_integration_test_base.cc', |
1247 ], | 1243 ], |
1248 'conditions': [ | 1244 'conditions': [ |
1249 ['arm_neon==1', { | 1245 ['arm_neon==1', { |
1250 'defines': [ | 1246 'defines': [ |
1251 'USE_NEON' | 1247 'USE_NEON' |
1252 ], | 1248 ], |
1253 }], | 1249 }], |
1254 ['OS=="android"', { | 1250 ['OS=="android"', { |
1255 'conditions': [ | 1251 'dependencies': [ |
1256 ['gtest_target_type=="shared_library"', { | 1252 '../testing/android/native_test.gyp:native_test_native_code', |
1257 'dependencies': [ | 1253 ], |
1258 '../testing/android/native_test.gyp:native_test_native_code', | |
1259 ], | |
1260 }], | |
1261 ], | |
1262 }], | 1254 }], |
1263 ['media_use_ffmpeg==1', { | 1255 ['media_use_ffmpeg==1', { |
1264 'dependencies': [ | 1256 'dependencies': [ |
1265 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | 1257 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
1266 ], | 1258 ], |
1267 }, { # media_use_ffmpeg==0 | 1259 }, { # media_use_ffmpeg==0 |
1268 'sources!': [ | 1260 'sources!': [ |
1269 'base/demuxer_perftest.cc', | 1261 'base/demuxer_perftest.cc', |
1270 'filters/pipeline_integration_perftest.cc', | 1262 'filters/pipeline_integration_perftest.cc', |
1271 'filters/pipeline_integration_test_base.cc', | 1263 'filters/pipeline_integration_test_base.cc', |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1510 }, | 1502 }, |
1511 ], # targets | 1503 ], # targets |
1512 }], | 1504 }], |
1513 ['use_x11==1', { | 1505 ['use_x11==1', { |
1514 'targets': [ | 1506 'targets': [ |
1515 { | 1507 { |
1516 'target_name': 'player_x11', | 1508 'target_name': 'player_x11', |
1517 'type': 'executable', | 1509 'type': 'executable', |
1518 'dependencies': [ | 1510 'dependencies': [ |
1519 'media', | 1511 'media', |
1520 » 'shared_memory_support', | 1512 'shared_memory_support', |
1521 '../base/base.gyp:base', | 1513 '../base/base.gyp:base', |
1522 '../ui/gl/gl.gyp:gl', | 1514 '../ui/gl/gl.gyp:gl', |
1523 '../ui/gfx/gfx.gyp:gfx', | 1515 '../ui/gfx/gfx.gyp:gfx', |
1524 '../ui/gfx/gfx.gyp:gfx_geometry', | 1516 '../ui/gfx/gfx.gyp:gfx_geometry', |
1525 '../build/linux/system.gyp:x11', | 1517 '../build/linux/system.gyp:x11', |
1526 '../build/linux/system.gyp:xext', | 1518 '../build/linux/system.gyp:xext', |
1527 '../build/linux/system.gyp:xrender', | 1519 '../build/linux/system.gyp:xrender', |
1528 ], | 1520 ], |
1529 'conditions': [ | 1521 'conditions': [ |
1530 # Linux/Solaris need libdl for dlopen() and friends. | 1522 # Linux/Solaris need libdl for dlopen() and friends. |
(...skipping 10 matching lines...) Expand all Loading... |
1541 'tools/player_x11/data_source_logger.h', | 1533 'tools/player_x11/data_source_logger.h', |
1542 'tools/player_x11/gl_video_renderer.cc', | 1534 'tools/player_x11/gl_video_renderer.cc', |
1543 'tools/player_x11/gl_video_renderer.h', | 1535 'tools/player_x11/gl_video_renderer.h', |
1544 'tools/player_x11/player_x11.cc', | 1536 'tools/player_x11/player_x11.cc', |
1545 'tools/player_x11/x11_video_renderer.cc', | 1537 'tools/player_x11/x11_video_renderer.cc', |
1546 'tools/player_x11/x11_video_renderer.h', | 1538 'tools/player_x11/x11_video_renderer.h', |
1547 ], | 1539 ], |
1548 }, | 1540 }, |
1549 ], | 1541 ], |
1550 }], | 1542 }], |
1551 # Special target to wrap a gtest_target_type==shared_library | 1543 ['OS=="android"', { |
1552 # media_unittests into an android apk for execution. | |
1553 ['OS=="android" and gtest_target_type=="shared_library"', { | |
1554 'targets': [ | 1544 'targets': [ |
1555 { | 1545 { |
1556 'target_name': 'media_unittests_apk', | 1546 'target_name': 'media_unittests_apk', |
1557 'type': 'none', | 1547 'type': 'none', |
1558 'dependencies': [ | 1548 'dependencies': [ |
1559 'media_java', | 1549 'media_java', |
1560 'media_unittests', | 1550 'media_unittests', |
1561 ], | 1551 ], |
1562 'variables': { | 1552 'variables': { |
1563 'test_suite_name': 'media_unittests', | 1553 'test_suite_name': 'media_unittests', |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1730 ], | 1720 ], |
1731 }], | 1721 }], |
1732 ], | 1722 ], |
1733 }], | 1723 }], |
1734 ], | 1724 ], |
1735 }, | 1725 }, |
1736 ], | 1726 ], |
1737 }], | 1727 }], |
1738 ], | 1728 ], |
1739 } | 1729 } |
OLD | NEW |