bjornv@webrtc.org | 7056908 | 2012-04-12 12:13:50 +0000 | [diff] [blame] | 1 | # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 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 | { |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 10 | 'targets': [ |
| 11 | { |
andrew@webrtc.org | f5fb095 | 2011-09-13 01:04:59 +0000 | [diff] [blame] | 12 | 'target_name': 'audioproc_unittest', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 13 | 'type': 'executable', |
ajm@google.com | 59e4140 | 2011-07-28 17:34:04 +0000 | [diff] [blame] | 14 | 'conditions': [ |
| 15 | ['prefer_fixed_point==1', { |
andrew@webrtc.org | 293d22b | 2012-01-30 22:04:26 +0000 | [diff] [blame] | 16 | 'defines': [ 'WEBRTC_AUDIOPROC_FIXED_PROFILE' ], |
ajm@google.com | 59e4140 | 2011-07-28 17:34:04 +0000 | [diff] [blame] | 17 | }, { |
andrew@webrtc.org | 293d22b | 2012-01-30 22:04:26 +0000 | [diff] [blame] | 18 | 'defines': [ 'WEBRTC_AUDIOPROC_FLOAT_PROFILE' ], |
ajm@google.com | 59e4140 | 2011-07-28 17:34:04 +0000 | [diff] [blame] | 19 | }], |
andrew@webrtc.org | 7bf2646 | 2011-12-03 00:03:31 +0000 | [diff] [blame] | 20 | ['enable_protobuf==1', { |
| 21 | 'defines': [ 'WEBRTC_AUDIOPROC_DEBUG_DUMP' ], |
| 22 | }], |
ajm@google.com | 59e4140 | 2011-07-28 17:34:04 +0000 | [diff] [blame] | 23 | ], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 24 | 'dependencies': [ |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 25 | 'audio_processing', |
andrew@webrtc.org | cb18121 | 2011-10-26 00:27:17 +0000 | [diff] [blame] | 26 | 'audioproc_unittest_proto', |
kjellander@webrtc.org | 0403ef4 | 2011-11-17 08:35:47 +0000 | [diff] [blame] | 27 | '<(webrtc_root)/common_audio/common_audio.gyp:signal_processing', |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 28 | '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers', |
andrew@webrtc.org | 81cf5e4 | 2012-06-27 01:41:54 +0000 | [diff] [blame] | 29 | '<(webrtc_root)/test/test.gyp:test_support', |
| 30 | '<(DEPTH)/testing/gtest.gyp:gtest', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 31 | ], |
bjornv@webrtc.org | 7056908 | 2012-04-12 12:13:50 +0000 | [diff] [blame] | 32 | 'sources': [ |
bjornv@webrtc.org | 180f83f | 2012-04-18 07:01:10 +0000 | [diff] [blame] | 33 | 'aec/system_delay_unittest.cc', |
bjornv@webrtc.org | 7056908 | 2012-04-12 12:13:50 +0000 | [diff] [blame] | 34 | 'test/unit_test.cc', |
bjornv@webrtc.org | 4ade550 | 2012-04-18 09:42:16 +0000 | [diff] [blame] | 35 | 'utility/delay_estimator_unittest.cc', |
bjornv@webrtc.org | 7056908 | 2012-04-12 12:13:50 +0000 | [diff] [blame] | 36 | ], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 37 | }, |
| 38 | { |
andrew@webrtc.org | f5fb095 | 2011-09-13 01:04:59 +0000 | [diff] [blame] | 39 | 'target_name': 'audioproc_unittest_proto', |
andrew@webrtc.org | cb18121 | 2011-10-26 00:27:17 +0000 | [diff] [blame] | 40 | 'type': 'static_library', |
| 41 | 'sources': [ 'test/unittest.proto', ], |
ajm@google.com | f8dc8dc | 2011-07-29 17:29:08 +0000 | [diff] [blame] | 42 | 'variables': { |
andrew@webrtc.org | cb18121 | 2011-10-26 00:27:17 +0000 | [diff] [blame] | 43 | 'proto_in_dir': 'test', |
| 44 | # Workaround to protect against gyp's pathname relativization when this |
| 45 | # file is included by modules.gyp. |
| 46 | 'proto_out_protected': 'webrtc/audio_processing', |
| 47 | 'proto_out_dir': '<(proto_out_protected)', |
ajm@google.com | f8dc8dc | 2011-07-29 17:29:08 +0000 | [diff] [blame] | 48 | }, |
andrew@webrtc.org | 89088b9 | 2011-11-03 20:43:45 +0000 | [diff] [blame] | 49 | 'includes': [ '../../build/protoc.gypi', ], |
ajm@google.com | f8dc8dc | 2011-07-29 17:29:08 +0000 | [diff] [blame] | 50 | }, |
andrew@webrtc.org | 7bf2646 | 2011-12-03 00:03:31 +0000 | [diff] [blame] | 51 | ], |
| 52 | 'conditions': [ |
| 53 | ['enable_protobuf==1', { |
| 54 | 'targets': [ |
| 55 | { |
| 56 | 'target_name': 'audioproc', |
| 57 | 'type': 'executable', |
| 58 | 'dependencies': [ |
| 59 | 'audio_processing', |
andrew@webrtc.org | ae7017d | 2011-12-03 01:43:29 +0000 | [diff] [blame] | 60 | 'audioproc_debug_proto', |
andrew@webrtc.org | 81cf5e4 | 2012-06-27 01:41:54 +0000 | [diff] [blame] | 61 | '<(DEPTH)/testing/gtest.gyp:gtest', |
kma@webrtc.org | 4cd8f1f | 2012-11-26 22:02:47 +0000 | [diff] [blame^] | 62 | '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers', |
| 63 | '<(webrtc_root)/test/test.gyp:test_support', |
andrew@webrtc.org | 7bf2646 | 2011-12-03 00:03:31 +0000 | [diff] [blame] | 64 | ], |
| 65 | 'sources': [ 'test/process_test.cc', ], |
| 66 | }, |
| 67 | { |
| 68 | 'target_name': 'unpack_aecdump', |
| 69 | 'type': 'executable', |
| 70 | 'dependencies': [ |
| 71 | 'audioproc_debug_proto', |
| 72 | '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers', |
andrew@webrtc.org | 81cf5e4 | 2012-06-27 01:41:54 +0000 | [diff] [blame] | 73 | '<(DEPTH)/third_party/google-gflags/google-gflags.gyp:google-gflags', |
andrew@webrtc.org | 7bf2646 | 2011-12-03 00:03:31 +0000 | [diff] [blame] | 74 | ], |
| 75 | 'sources': [ 'test/unpack.cc', ], |
| 76 | }, |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 77 | ], |
andrew@webrtc.org | 7bf2646 | 2011-12-03 00:03:31 +0000 | [diff] [blame] | 78 | }], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 79 | ], |
| 80 | } |