blob: 86a92c595d355e24789bbdbada7ba139dd56fb6a [file] [log] [blame]
kjellander@webrtc.orga33f05e2015-01-29 14:29:45 +00001# Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
2#
3# Use of this source code is governed by a BSD-style license
4# that can be found in the LICENSE file in the root of the source
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
9{
10 'includes': [
11 '../../build/common.gypi',
12 'codecs/isac/isac_test.gypi',
13 'codecs/isac/isacfix_test.gypi',
14 ],
15 'targets': [
16 {
17 'target_name': 'audio_codec_speed_tests',
18 'type': '<(gtest_target_type)',
19 'dependencies': [
20 'audio_processing',
21 'iSACFix',
22 'webrtc_opus',
23 '<(DEPTH)/testing/gtest.gyp:gtest',
24 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
25 '<(webrtc_root)/test/test.gyp:test_support_main',
26 ],
27 'sources': [
28 'codecs/isac/fix/test/isac_speed_test.cc',
29 'codecs/opus/opus_speed_test.cc',
30 'codecs/tools/audio_codec_speed_test.h',
31 'codecs/tools/audio_codec_speed_test.cc',
32 ],
33 'conditions': [
34 ['OS=="android"', {
35 'dependencies': [
36 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
37 ],
38 }],
39 ],
40 },
41 ],
42 'conditions': [
43 ['OS=="android"', {
44 'targets': [
45 {
46 'target_name': 'audio_codec_speed_tests_apk_target',
47 'type': 'none',
48 'dependencies': [
49 '<(apk_tests_path):audio_codec_speed_tests_apk',
50 ],
51 },
52 ],
53 }],
54 ['test_isolation_mode != "noop"', {
55 'targets': [
56 {
57 'target_name': 'audio_codec_speed_tests_run',
58 'type': 'none',
59 'dependencies': [
60 'audio_codec_speed_tests',
61 ],
62 'includes': [
63 '../../build/isolate.gypi',
64 ],
65 'sources': [
66 'audio_codec_speed_tests.isolate',
67 ],
68 },
69 ],
70 }],
71 ],
72}