OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 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 import("//testing/test.gni") | 9 import("//testing/test.gni") |
10 import("../build/webrtc.gni") | 10 import("../build/webrtc.gni") |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 ] | 166 ] |
167 | 167 |
168 configs += [ "..:common_config" ] | 168 configs += [ "..:common_config" ] |
169 public_configs = [ "..:common_inherited_config" ] | 169 public_configs = [ "..:common_inherited_config" ] |
170 } | 170 } |
171 | 171 |
172 # Exclude tools depending on gflags since that's not available in Chromium. | 172 # Exclude tools depending on gflags since that's not available in Chromium. |
173 if (rtc_include_tests) { | 173 if (rtc_include_tests) { |
174 if (rtc_enable_protobuf) { | 174 if (rtc_enable_protobuf) { |
175 executable("event_log_visualizer") { | 175 executable("event_log_visualizer") { |
| 176 testonly = true |
176 sources = [ | 177 sources = [ |
177 "event_log_visualizer/analyzer.cc", | 178 "event_log_visualizer/analyzer.cc", |
178 "event_log_visualizer/analyzer.h", | 179 "event_log_visualizer/analyzer.h", |
179 "event_log_visualizer/generate_timeseries.cc", | 180 "event_log_visualizer/generate_timeseries.cc", |
180 "event_log_visualizer/plot_base.h", | 181 "event_log_visualizer/plot_base.h", |
181 "event_log_visualizer/plot_python.cc", | 182 "event_log_visualizer/plot_python.cc", |
182 "event_log_visualizer/plot_python.h", | 183 "event_log_visualizer/plot_python.h", |
183 ] | 184 ] |
184 | 185 |
185 configs += [ "..:common_config" ] | 186 configs += [ "..:common_config" ] |
186 public_configs = [ "..:common_inherited_config" ] | 187 public_configs = [ "..:common_inherited_config" ] |
187 | 188 |
188 if (is_clang && !is_nacl) { | 189 if (is_clang && !is_nacl) { |
189 # Suppress warnings from the Chromium Clang plugin. | 190 # Suppress warnings from the Chromium Clang plugin. |
190 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 191 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
191 configs -= [ "//build/config/clang:find_bad_constructs" ] | 192 configs -= [ "//build/config/clang:find_bad_constructs" ] |
192 } | 193 } |
193 | 194 |
194 defines = [ "ENABLE_RTC_EVENT_LOG" ] | 195 defines = [ "ENABLE_RTC_EVENT_LOG" ] |
195 deps = [ | 196 deps = [ |
196 "../:rtc_event_log_parser", | 197 "../:rtc_event_log_parser", |
| 198 "../modules/congestion_controller:congestion_controller", |
197 "../modules/rtp_rtcp:rtp_rtcp", | 199 "../modules/rtp_rtcp:rtp_rtcp", |
198 "../system_wrappers:system_wrappers_default", | 200 "../system_wrappers:system_wrappers_default", |
| 201 "../test:field_trial", |
199 "//third_party/gflags", | 202 "//third_party/gflags", |
200 ] | 203 ] |
201 } | 204 } |
202 } | 205 } |
203 | 206 |
204 executable("agc_harness") { | 207 executable("agc_harness") { |
205 testonly = true | 208 testonly = true |
206 sources = [ | 209 sources = [ |
207 "agc/agc_harness.cc", | 210 "agc/agc_harness.cc", |
208 ] | 211 ] |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 ] | 323 ] |
321 outputs = [ | 324 outputs = [ |
322 "$root_build_dir/{{source_file_part}}", | 325 "$root_build_dir/{{source_file_part}}", |
323 ] | 326 ] |
324 deps = [ | 327 deps = [ |
325 "..:rtc_event_log_proto", | 328 "..:rtc_event_log_proto", |
326 ] | 329 ] |
327 } | 330 } |
328 } | 331 } |
329 } | 332 } |
OLD | NEW |