phoglund@webrtc.org | e6f235c | 2012-06-04 11:04:05 +0000 | [diff] [blame] | 1 | # Copyright (c) 2012 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 | 'targets': [ |
| 11 | { |
| 12 | 'target_name': 'bitrate_controller', |
wjia@webrtc.org | a3c82bf | 2013-01-18 23:42:21 +0000 | [diff] [blame] | 13 | 'type': 'static_library', |
phoglund@webrtc.org | e6f235c | 2012-06-04 11:04:05 +0000 | [diff] [blame] | 14 | 'dependencies': [ |
| 15 | '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers', |
| 16 | ], |
| 17 | 'include_dirs': [ |
| 18 | '../interface', |
| 19 | ], |
| 20 | 'direct_dependent_settings': { |
| 21 | 'include_dirs': [ |
| 22 | '../interface', |
| 23 | '<(webrtc_root)/modules/rtp_rtcp/interface', |
| 24 | ], |
| 25 | }, |
| 26 | 'sources': [ |
| 27 | 'bitrate_controller_impl.cc', |
| 28 | 'bitrate_controller_impl.h', |
| 29 | 'include/bitrate_controller.h', |
| 30 | 'send_side_bandwidth_estimation.cc', |
| 31 | 'send_side_bandwidth_estimation.h', |
| 32 | ], |
| 33 | }, |
| 34 | ], # targets |
| 35 | |
| 36 | 'conditions': [ |
| 37 | ['include_tests==1', { |
| 38 | 'targets' : [ |
| 39 | { |
| 40 | 'target_name': 'bitrate_controller_unittests', |
| 41 | 'type': 'executable', |
| 42 | 'dependencies': [ |
| 43 | 'bitrate_controller', |
andrew@webrtc.org | 81cf5e4 | 2012-06-27 01:41:54 +0000 | [diff] [blame] | 44 | '<(webrtc_root)/test/test.gyp:test_support_main', |
| 45 | '<(DEPTH)/testing/gtest.gyp:gtest', |
phoglund@webrtc.org | e6f235c | 2012-06-04 11:04:05 +0000 | [diff] [blame] | 46 | ], |
| 47 | 'sources': [ |
| 48 | 'bitrate_controller_unittest.cc', |
| 49 | ], |
| 50 | }, |
| 51 | ], # targets |
| 52 | }], # include_tests |
| 53 | ], # conditions |
| 54 | |
| 55 | } |
| 56 | |
| 57 | # Local Variables: |
| 58 | # tab-width:2 |
| 59 | # indent-tabs-mode:nil |
| 60 | # End: |
| 61 | # vim: set expandtab tabstop=2 shiftwidth=2 |