niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 1 | # Copyright (c) 2011 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 | { |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 10 | 'targets': [ |
| 11 | { |
| 12 | 'target_name': 'G711', |
| 13 | 'type': '<(library)', |
| 14 | 'include_dirs': [ |
kjellander@webrtc.org | cc2ecb3 | 2011-11-17 13:48:36 +0000 | [diff] [blame] | 15 | 'include', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 16 | ], |
| 17 | 'direct_dependent_settings': { |
| 18 | 'include_dirs': [ |
kjellander@webrtc.org | cc2ecb3 | 2011-11-17 13:48:36 +0000 | [diff] [blame] | 19 | 'include', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 20 | ], |
| 21 | }, |
| 22 | 'sources': [ |
kjellander@webrtc.org | cc2ecb3 | 2011-11-17 13:48:36 +0000 | [diff] [blame] | 23 | 'include/g711_interface.h', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 24 | 'g711_interface.c', |
| 25 | 'g711.c', |
| 26 | 'g711.h', |
| 27 | ], |
| 28 | }, |
xians@google.com | e1cfd5f | 2011-08-05 16:14:02 +0000 | [diff] [blame] | 29 | ], # targets |
kjellander@webrtc.org | cc2ecb3 | 2011-11-17 13:48:36 +0000 | [diff] [blame] | 30 | 'conditions': [ |
mflodman@webrtc.org | 6af9594 | 2012-05-24 13:23:35 +0000 | [diff] [blame^] | 31 | ['include_tests==1', { |
xians@google.com | e1cfd5f | 2011-08-05 16:14:02 +0000 | [diff] [blame] | 32 | 'targets': [ |
| 33 | { |
kjellander@webrtc.org | cc2ecb3 | 2011-11-17 13:48:36 +0000 | [diff] [blame] | 34 | 'target_name': 'g711_unittests', |
| 35 | 'type': 'executable', |
| 36 | 'dependencies': [ |
| 37 | 'G711', |
| 38 | '<(webrtc_root)/../test/test.gyp:test_support_main', |
kjellander@webrtc.org | 274c2ef | 2011-11-21 09:36:28 +0000 | [diff] [blame] | 39 | '<(webrtc_root)/../testing/gtest.gyp:gtest', |
kjellander@webrtc.org | cc2ecb3 | 2011-11-17 13:48:36 +0000 | [diff] [blame] | 40 | ], |
| 41 | 'sources': [ |
| 42 | 'g711_unittest.cc', |
| 43 | ], |
| 44 | }, |
| 45 | { |
xians@google.com | e1cfd5f | 2011-08-05 16:14:02 +0000 | [diff] [blame] | 46 | 'target_name': 'g711_test', |
| 47 | 'type': 'executable', |
| 48 | 'dependencies': [ |
| 49 | 'G711', |
| 50 | ], |
| 51 | 'sources': [ |
kjellander@webrtc.org | 7f3c724 | 2012-01-12 10:23:41 +0000 | [diff] [blame] | 52 | 'test/testG711.cc', |
xians@google.com | e1cfd5f | 2011-08-05 16:14:02 +0000 | [diff] [blame] | 53 | ], |
xians@google.com | e1cfd5f | 2011-08-05 16:14:02 +0000 | [diff] [blame] | 54 | }, |
| 55 | ], # targets |
mflodman@webrtc.org | 6af9594 | 2012-05-24 13:23:35 +0000 | [diff] [blame^] | 56 | }], # include_tests |
xians@google.com | e1cfd5f | 2011-08-05 16:14:02 +0000 | [diff] [blame] | 57 | ], # conditions |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 58 | } |
| 59 | |
| 60 | # Local Variables: |
| 61 | # tab-width:2 |
| 62 | # indent-tabs-mode:nil |
| 63 | # End: |
| 64 | # vim: set expandtab tabstop=2 shiftwidth=2: |