OLD | NEW |
---|---|
1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 { | 9 { |
10 'includes': [ | 10 'includes': [ |
11 '../../build/common.gypi', | 11 '../../build/common.gypi', |
12 ], | 12 ], |
13 'variables': { | 13 'variables': { |
14 # Set this to true to enable BWE test logging. | 14 # Set this to true to enable BWE test logging. |
15 'enable_bwe_test_logging%': 0, | 15 'enable_bwe_test_logging%': 0, |
kjellander_webrtc
2016/09/07 09:22:02
Please remove this.
I thought when doing that it
| |
16 }, | 16 }, |
17 'targets': [ | 17 'targets': [ |
18 { | 18 { |
19 'target_name': 'remote_bitrate_estimator', | 19 'target_name': 'remote_bitrate_estimator', |
20 'type': 'static_library', | 20 'type': 'static_library', |
21 'dependencies': [ | 21 'dependencies': [ |
22 '<(webrtc_root)/common.gyp:webrtc_common', | 22 '<(webrtc_root)/common.gyp:webrtc_common', |
23 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', | 23 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
24 ], | 24 ], |
25 'sources': [ | 25 'sources': [ |
(...skipping 14 matching lines...) Expand all Loading... | |
40 'remote_bitrate_estimator_single_stream.cc', | 40 'remote_bitrate_estimator_single_stream.cc', |
41 'remote_bitrate_estimator_single_stream.h', | 41 'remote_bitrate_estimator_single_stream.h', |
42 'remote_estimator_proxy.cc', | 42 'remote_estimator_proxy.cc', |
43 'remote_estimator_proxy.h', | 43 'remote_estimator_proxy.h', |
44 'send_time_history.cc', | 44 'send_time_history.cc', |
45 'transport_feedback_adapter.cc', | 45 'transport_feedback_adapter.cc', |
46 'transport_feedback_adapter.h', | 46 'transport_feedback_adapter.h', |
47 'test/bwe_test_logging.h', | 47 'test/bwe_test_logging.h', |
48 ], # source | 48 ], # source |
49 'conditions': [ | 49 'conditions': [ |
50 ['enable_bwe_test_logging==1', { | 50 ['include_tests==0', { |
51 'defines': [ 'BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1' ], | 51 'conditions': [ |
52 'sources': [ | 52 ['enable_bwe_test_logging==1', { |
53 'test/bwe_test_logging.cc' | 53 'defines': [ 'BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1' ], |
54 'sources': [ | |
55 'test/bwe_test_logging.cc' | |
56 ], | |
57 }, { | |
58 'defines': [ 'BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0' ], | |
59 }], | |
54 ], | 60 ], |
55 }, { | |
56 'defines': [ 'BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0' ], | |
57 }], | 61 }], |
58 ], | 62 ], |
59 }, | 63 }, |
60 ], # targets | 64 ], # targets |
61 'conditions': [ | 65 'conditions': [ |
62 ['include_tests==1', { | 66 ['include_tests==1', { |
63 'targets': [ | 67 'targets': [ |
64 { | 68 { |
65 'target_name': 'bwe_simulator', | 69 'target_name': 'bwe_simulator', |
66 'type': 'static_library', | 70 'type': 'static_library', |
67 'dependencies': [ | 71 'dependencies': [ |
68 '<(webrtc_root)/modules/modules.gyp:paced_sender', | 72 '<(webrtc_root)/modules/modules.gyp:paced_sender', |
69 '<(webrtc_root)/test/test.gyp:test_support', | 73 '<(webrtc_root)/test/test.gyp:test_support', |
70 '<(DEPTH)/testing/gtest.gyp:gtest', | 74 '<(DEPTH)/testing/gtest.gyp:gtest', |
71 '<(DEPTH)/testing/gmock.gyp:gmock', | 75 '<(DEPTH)/testing/gmock.gyp:gmock', |
72 ], | 76 ], |
73 'sources': [ | 77 'sources': [ |
78 'bwe_simulations.cc', | |
74 'test/bwe.cc', | 79 'test/bwe.cc', |
75 'test/bwe.h', | 80 'test/bwe.h', |
76 'test/bwe_test.cc', | 81 'test/bwe_test.cc', |
77 'test/bwe_test.h', | 82 'test/bwe_test.h', |
78 'test/bwe_test_baselinefile.cc', | 83 'test/bwe_test_baselinefile.cc', |
79 'test/bwe_test_baselinefile.h', | 84 'test/bwe_test_baselinefile.h', |
80 'test/bwe_test_fileutils.cc', | 85 'test/bwe_test_fileutils.cc', |
81 'test/bwe_test_fileutils.h', | 86 'test/bwe_test_fileutils.h', |
82 'test/bwe_test_framework.cc', | 87 'test/bwe_test_framework.cc', |
83 'test/bwe_test_framework.h', | 88 'test/bwe_test_framework.h', |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
163 ], | 168 ], |
164 }, | 169 }, |
165 'sources': [ | 170 'sources': [ |
166 'tools/bwe_rtp_play.cc', | 171 'tools/bwe_rtp_play.cc', |
167 ], # source | 172 ], # source |
168 }, | 173 }, |
169 ], | 174 ], |
170 }], # include_tests==1 | 175 }], # include_tests==1 |
171 ], | 176 ], |
172 } | 177 } |
OLD | NEW |