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("//third_party/protobuf/proto_library.gni") | 10 import("//third_party/protobuf/proto_library.gni") |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 } | 157 } |
158 | 158 |
159 deps = [ | 159 deps = [ |
160 "../system_wrappers:system_wrappers_default", | 160 "../system_wrappers:system_wrappers_default", |
161 "../voice_engine", | 161 "../voice_engine", |
162 "//build/config/sanitizers:deps", | 162 "//build/config/sanitizers:deps", |
163 "//build/win:default_exe_manifest", | 163 "//build/win:default_exe_manifest", |
164 ] | 164 ] |
165 } | 165 } |
166 | 166 |
167 source_set("agc_test_utils") { | |
168 testonly = true | |
169 sources = [ | |
170 "agc/test_utils.cc", | |
171 "agc/test_utils.h", | |
172 ] | |
173 | |
174 configs += [ "..:common_config" ] | |
175 public_configs = [ "..:common_inherited_config" ] | |
176 } | |
177 | |
178 if (rtc_enable_protobuf) { | 167 if (rtc_enable_protobuf) { |
179 proto_library("graph_proto") { | 168 proto_library("graph_proto") { |
180 sources = [ | 169 sources = [ |
181 "event_log_visualizer/graph.proto", | 170 "event_log_visualizer/graph.proto", |
182 ] | 171 ] |
183 proto_out_dir = "webrtc/tools/event_log_visualizer" | 172 proto_out_dir = "webrtc/tools/event_log_visualizer" |
184 } | 173 } |
185 | 174 |
186 source_set("event_log_visualizer_utils") { | 175 source_set("event_log_visualizer_utils") { |
187 sources = [ | 176 sources = [ |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 | 226 |
238 defines = [ "ENABLE_RTC_EVENT_LOG" ] | 227 defines = [ "ENABLE_RTC_EVENT_LOG" ] |
239 deps = [ | 228 deps = [ |
240 ":event_log_visualizer_utils", | 229 ":event_log_visualizer_utils", |
241 "//build/config/sanitizers:deps", | 230 "//build/config/sanitizers:deps", |
242 "//third_party/gflags", | 231 "//third_party/gflags", |
243 ] | 232 ] |
244 } | 233 } |
245 } | 234 } |
246 | 235 |
247 executable("agc_harness") { | |
248 testonly = true | |
249 sources = [ | |
250 "agc/agc_harness.cc", | |
251 ] | |
252 | |
253 configs += [ "..:common_config" ] | |
254 public_configs = [ "..:common_inherited_config" ] | |
255 | |
256 if (is_clang) { | |
257 # Suppress warnings from the Chromium Clang plugin. | |
258 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | |
259 configs -= [ "//build/config/clang:find_bad_constructs" ] | |
260 } | |
261 | |
262 deps = [ | |
263 "../system_wrappers:system_wrappers_default", | |
264 "../test:channel_transport", | |
265 "../test:test_support", | |
266 "../voice_engine", | |
267 "//build/config/sanitizers:deps", | |
268 "//build/win:default_exe_manifest", | |
269 "//testing/gtest", | |
270 "//third_party/gflags", | |
271 ] | |
272 } | |
273 | |
274 executable("activity_metric") { | 236 executable("activity_metric") { |
275 testonly = true | 237 testonly = true |
276 sources = [ | 238 sources = [ |
277 "agc/activity_metric.cc", | 239 "agc/activity_metric.cc", |
278 ] | 240 ] |
279 | 241 |
280 configs += [ "..:common_config" ] | 242 configs += [ "..:common_config" ] |
281 public_configs = [ "..:common_inherited_config" ] | 243 public_configs = [ "..:common_inherited_config" ] |
282 | 244 |
283 if (is_clang) { | 245 if (is_clang) { |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 ] | 347 ] |
386 outputs = [ | 348 outputs = [ |
387 "$root_build_dir/{{source_file_part}}", | 349 "$root_build_dir/{{source_file_part}}", |
388 ] | 350 ] |
389 deps = [ | 351 deps = [ |
390 "..:rtc_event_log_proto", | 352 "..:rtc_event_log_proto", |
391 ] | 353 ] |
392 } | 354 } |
393 } | 355 } |
394 } | 356 } |
OLD | NEW |