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 1068 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1079 'target_name': 'media_perftests', | 1079 'target_name': 'media_perftests', |
1080 'type': '<(gtest_target_type)', | 1080 'type': '<(gtest_target_type)', |
1081 'dependencies': [ | 1081 'dependencies': [ |
1082 'media', | 1082 'media', |
1083 'media_test_support', | 1083 'media_test_support', |
1084 'shared_memory_support', | 1084 'shared_memory_support', |
1085 '../base/base.gyp:test_support_base', | 1085 '../base/base.gyp:test_support_base', |
1086 '../testing/gmock.gyp:gmock', | 1086 '../testing/gmock.gyp:gmock', |
1087 '../testing/gtest.gyp:gtest', | 1087 '../testing/gtest.gyp:gtest', |
1088 '../testing/perf/perf_test.gyp:perf_test', | 1088 '../testing/perf/perf_test.gyp:perf_test', |
| 1089 '../ui/gfx/gfx.gyp:gfx', |
| 1090 '../ui/ui.gyp:ui', |
| 1091 '../ui/gl/gl.gyp:gl', |
1089 ], | 1092 ], |
1090 'sources': [ | 1093 'sources': [ |
1091 'base/audio_bus_perftest.cc', | 1094 'base/audio_bus_perftest.cc', |
1092 'base/audio_converter_perftest.cc', | 1095 'base/audio_converter_perftest.cc', |
1093 'base/demuxer_perftest.cc', | 1096 'base/demuxer_perftest.cc', |
1094 'base/run_all_unittests.cc', | 1097 'base/run_all_unittests.cc', |
1095 'base/sinc_resampler_perftest.cc', | 1098 'base/sinc_resampler_perftest.cc', |
1096 'base/test_data_util.cc', | 1099 'base/test_data_util.cc', |
1097 'base/vector_math_perftest.cc', | 1100 'base/vector_math_perftest.cc', |
1098 'filters/pipeline_integration_perftest.cc', | 1101 'filters/pipeline_integration_perftest.cc', |
1099 'filters/pipeline_integration_test_base.cc', | 1102 'filters/pipeline_integration_test_base.cc', |
1100 ], | 1103 ], |
| 1104 'conditions': [ |
| 1105 ['arm_neon==1', { |
| 1106 'defines': [ |
| 1107 'USE_NEON' |
| 1108 ], |
| 1109 }], |
| 1110 ['OS=="android"', { |
| 1111 'conditions': [ |
| 1112 ['gtest_target_type=="shared_library"', { |
| 1113 'dependencies': [ |
| 1114 '../testing/android/native_test.gyp:native_test_native_code', |
| 1115 ], |
| 1116 }], |
| 1117 ], |
| 1118 }], |
| 1119 ['media_use_ffmpeg==1', { |
| 1120 'dependencies': [ |
| 1121 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
| 1122 ], |
| 1123 }, { # media_use_ffmpeg==0 |
| 1124 'sources!': [ |
| 1125 'base/demuxer_perftest.cc', |
| 1126 'filters/pipeline_integration_perftest.cc', |
| 1127 'filters/pipeline_integration_test_base.cc', |
| 1128 ], |
| 1129 }], |
| 1130 ], |
1101 }, | 1131 }, |
1102 { | 1132 { |
1103 'target_name': 'media_test_support', | 1133 'target_name': 'media_test_support', |
1104 'type': 'static_library', | 1134 'type': 'static_library', |
1105 'dependencies': [ | 1135 'dependencies': [ |
1106 'media', | 1136 'media', |
1107 'shared_memory_support', | 1137 'shared_memory_support', |
1108 '../base/base.gyp:base', | 1138 '../base/base.gyp:base', |
1109 '../skia/skia.gyp:skia', | 1139 '../skia/skia.gyp:skia', |
1110 '../testing/gmock.gyp:gmock', | 1140 '../testing/gmock.gyp:gmock', |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1378 'dependencies': [ | 1408 'dependencies': [ |
1379 'media_java', | 1409 'media_java', |
1380 'media_unittests', | 1410 'media_unittests', |
1381 ], | 1411 ], |
1382 'variables': { | 1412 'variables': { |
1383 'test_suite_name': 'media_unittests', | 1413 'test_suite_name': 'media_unittests', |
1384 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)media_uni
ttests<(SHARED_LIB_SUFFIX)', | 1414 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)media_uni
ttests<(SHARED_LIB_SUFFIX)', |
1385 }, | 1415 }, |
1386 'includes': ['../build/apk_test.gypi'], | 1416 'includes': ['../build/apk_test.gypi'], |
1387 }, | 1417 }, |
| 1418 { |
| 1419 'target_name': 'media_perftests_apk', |
| 1420 'type': 'none', |
| 1421 'dependencies': [ |
| 1422 'media_java', |
| 1423 'media_perftests', |
| 1424 ], |
| 1425 'variables': { |
| 1426 'test_suite_name': 'media_perftests', |
| 1427 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)media_per
ftests<(SHARED_LIB_SUFFIX)', |
| 1428 }, |
| 1429 'includes': ['../build/apk_test.gypi'], |
| 1430 }, |
1388 ], | 1431 ], |
1389 }], | 1432 }], |
1390 ['OS=="android"', { | 1433 ['OS=="android"', { |
1391 'targets': [ | 1434 'targets': [ |
1392 { | 1435 { |
1393 'target_name': 'media_android_jni_headers', | 1436 'target_name': 'media_android_jni_headers', |
1394 'type': 'none', | 1437 'type': 'none', |
1395 'sources': [ | 1438 'sources': [ |
1396 'base/android/java/src/org/chromium/media/AudioManagerAndroid.java', | 1439 'base/android/java/src/org/chromium/media/AudioManagerAndroid.java', |
1397 'base/android/java/src/org/chromium/media/MediaCodecBridge.java', | 1440 'base/android/java/src/org/chromium/media/MediaCodecBridge.java', |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1549 ], | 1592 ], |
1550 }], | 1593 }], |
1551 ], | 1594 ], |
1552 }], | 1595 }], |
1553 ], | 1596 ], |
1554 }, | 1597 }, |
1555 ], | 1598 ], |
1556 }], | 1599 }], |
1557 ], | 1600 ], |
1558 } | 1601 } |
OLD | NEW |