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

Side by Side Diff: media/media.gyp

Issue 62863002: Set media_perftests up for android and to be built by the perfbots. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Various changes to make android work properly with the perftests Created 7 years, 1 month 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 | « build/all_android.gyp ('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 1068 matching lines...) Expand 10 before | Expand all | Expand 10 after
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',
1089 ], 1091 ],
1090 'sources': [ 1092 'sources': [
1091 'base/audio_bus_perftest.cc', 1093 'base/audio_bus_perftest.cc',
1092 'base/audio_converter_perftest.cc', 1094 'base/audio_converter_perftest.cc',
1093 'base/demuxer_perftest.cc', 1095 'base/demuxer_perftest.cc',
1094 'base/run_all_unittests.cc', 1096 'base/run_all_unittests.cc',
1095 'base/sinc_resampler_perftest.cc', 1097 'base/sinc_resampler_perftest.cc',
1096 'base/test_data_util.cc', 1098 'base/test_data_util.cc',
1097 'base/vector_math_perftest.cc', 1099 'base/vector_math_perftest.cc',
1098 'filters/pipeline_integration_perftest.cc', 1100 'filters/pipeline_integration_perftest.cc',
1099 'filters/pipeline_integration_test_base.cc', 1101 'filters/pipeline_integration_test_base.cc',
1100 ], 1102 ],
1103 'conditions': [
1104 ['arm_neon==1', {
1105 'defines': [
1106 'USE_NEON'
1107 ],
1108 }],
1109 ['OS=="android"', {
1110 'conditions': [
1111 ['gtest_target_type=="shared_library"', {
1112 'dependencies': [
1113 '../testing/android/native_test.gyp:native_test_native_code',
1114 ],
1115 }],
1116 ],
1117 }],
1118 ['media_use_ffmpeg==1', {
1119 'dependencies': [
1120 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg',
1121 ],
1122 }, { # media_use_ffmpeg==0
1123 'sources!': [
1124 'base/demuxer_perftest.cc',
1125 'filters/pipeline_integration_perftest.cc',
1126 'filters/pipeline_integration_test_base.cc',
1127 ],
1128 }],
1129 ],
1101 }, 1130 },
1102 { 1131 {
1103 'target_name': 'media_test_support', 1132 'target_name': 'media_test_support',
1104 'type': 'static_library', 1133 'type': 'static_library',
1105 'dependencies': [ 1134 'dependencies': [
1106 'media', 1135 'media',
1107 'shared_memory_support', 1136 'shared_memory_support',
1108 '../base/base.gyp:base', 1137 '../base/base.gyp:base',
1109 '../skia/skia.gyp:skia', 1138 '../skia/skia.gyp:skia',
1110 '../testing/gmock.gyp:gmock', 1139 '../testing/gmock.gyp:gmock',
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
1378 'dependencies': [ 1407 'dependencies': [
1379 'media_java', 1408 'media_java',
1380 'media_unittests', 1409 'media_unittests',
1381 ], 1410 ],
1382 'variables': { 1411 'variables': {
1383 'test_suite_name': 'media_unittests', 1412 'test_suite_name': 'media_unittests',
1384 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)media_uni ttests<(SHARED_LIB_SUFFIX)', 1413 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)media_uni ttests<(SHARED_LIB_SUFFIX)',
1385 }, 1414 },
1386 'includes': ['../build/apk_test.gypi'], 1415 'includes': ['../build/apk_test.gypi'],
1387 }, 1416 },
1417 {
1418 'target_name': 'media_perftests_apk',
1419 'type': 'none',
1420 'dependencies': [
1421 'media_java',
1422 'media_perftests',
1423 ],
1424 'variables': {
1425 'test_suite_name': 'media_perftests',
1426 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)media_per ftests<(SHARED_LIB_SUFFIX)',
cjhopman 2013/11/14 21:17:22 input_shlib_path isn't actually needed (AFAICT).
1427 },
1428 'includes': ['../build/apk_test.gypi'],
1429 },
1388 ], 1430 ],
1389 }], 1431 }],
1390 ['OS=="android"', { 1432 ['OS=="android"', {
1391 'targets': [ 1433 'targets': [
1392 { 1434 {
1393 'target_name': 'media_android_jni_headers', 1435 'target_name': 'media_android_jni_headers',
1394 'type': 'none', 1436 'type': 'none',
1395 'sources': [ 1437 'sources': [
1396 'base/android/java/src/org/chromium/media/AudioManagerAndroid.java', 1438 'base/android/java/src/org/chromium/media/AudioManagerAndroid.java',
1397 'base/android/java/src/org/chromium/media/MediaCodecBridge.java', 1439 'base/android/java/src/org/chromium/media/MediaCodecBridge.java',
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
1549 ], 1591 ],
1550 }], 1592 }],
1551 ], 1593 ],
1552 }], 1594 }],
1553 ], 1595 ],
1554 }, 1596 },
1555 ], 1597 ],
1556 }], 1598 }],
1557 ], 1599 ],
1558 } 1600 }
OLDNEW
« no previous file with comments | « build/all_android.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698