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_proto', |
andrew@webrtc.org | cb18121 | 2011-10-26 00:27:17 +0000 | [diff] [blame] | 13 | 'type': 'static_library', |
| 14 | 'sources': [ 'test/unittest.proto', ], |
ajm@google.com | f8dc8dc | 2011-07-29 17:29:08 +0000 | [diff] [blame] | 15 | 'variables': { |
andrew@webrtc.org | cb18121 | 2011-10-26 00:27:17 +0000 | [diff] [blame] | 16 | 'proto_in_dir': 'test', |
| 17 | # Workaround to protect against gyp's pathname relativization when this |
| 18 | # file is included by modules.gyp. |
| 19 | 'proto_out_protected': 'webrtc/audio_processing', |
| 20 | 'proto_out_dir': '<(proto_out_protected)', |
ajm@google.com | f8dc8dc | 2011-07-29 17:29:08 +0000 | [diff] [blame] | 21 | }, |
andrew@webrtc.org | 89088b9 | 2011-11-03 20:43:45 +0000 | [diff] [blame] | 22 | 'includes': [ '../../build/protoc.gypi', ], |
ajm@google.com | f8dc8dc | 2011-07-29 17:29:08 +0000 | [diff] [blame] | 23 | }, |
andrew@webrtc.org | 7bf2646 | 2011-12-03 00:03:31 +0000 | [diff] [blame] | 24 | ], |
| 25 | 'conditions': [ |
| 26 | ['enable_protobuf==1', { |
| 27 | 'targets': [ |
| 28 | { |
| 29 | 'target_name': 'audioproc', |
| 30 | 'type': 'executable', |
| 31 | 'dependencies': [ |
| 32 | 'audio_processing', |
andrew@webrtc.org | ae7017d | 2011-12-03 01:43:29 +0000 | [diff] [blame] | 33 | 'audioproc_debug_proto', |
andrew@webrtc.org | b43502e | 2012-11-26 23:57:38 +0000 | [diff] [blame] | 34 | '<(DEPTH)/testing/gtest.gyp:gtest', |
kma@webrtc.org | 0e73950 | 2012-12-07 15:26:28 +0000 | [diff] [blame] | 35 | '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers', |
| 36 | '<(webrtc_root)/test/test.gyp:test_support', |
andrew@webrtc.org | 7bf2646 | 2011-12-03 00:03:31 +0000 | [diff] [blame] | 37 | ], |
| 38 | 'sources': [ 'test/process_test.cc', ], |
| 39 | }, |
| 40 | { |
| 41 | 'target_name': 'unpack_aecdump', |
| 42 | 'type': 'executable', |
| 43 | 'dependencies': [ |
| 44 | 'audioproc_debug_proto', |
| 45 | '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers', |
andrew@webrtc.org | 81cf5e4 | 2012-06-27 01:41:54 +0000 | [diff] [blame] | 46 | '<(DEPTH)/third_party/google-gflags/google-gflags.gyp:google-gflags', |
andrew@webrtc.org | 7bf2646 | 2011-12-03 00:03:31 +0000 | [diff] [blame] | 47 | ], |
| 48 | 'sources': [ 'test/unpack.cc', ], |
| 49 | }, |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 50 | ], |
andrew@webrtc.org | 7bf2646 | 2011-12-03 00:03:31 +0000 | [diff] [blame] | 51 | }], |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 52 | ], |
| 53 | } |