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("//third_party/protobuf/proto_library.gni") | 9 import("//third_party/protobuf/proto_library.gni") |
10 import("../webrtc.gni") | 10 import("../webrtc.gni") |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 } | 296 } |
297 } | 297 } |
298 | 298 |
299 rtc_test("tools_unittests") { | 299 rtc_test("tools_unittests") { |
300 testonly = true | 300 testonly = true |
301 | 301 |
302 sources = [ | 302 sources = [ |
303 "frame_analyzer/reference_less_video_analysis_unittest.cc", | 303 "frame_analyzer/reference_less_video_analysis_unittest.cc", |
304 "frame_analyzer/video_quality_analysis_unittest.cc", | 304 "frame_analyzer/video_quality_analysis_unittest.cc", |
305 "frame_editing/frame_editing_unittest.cc", | 305 "frame_editing/frame_editing_unittest.cc", |
| 306 "sanitizers_unittest.cc", |
306 "simple_command_line_parser_unittest.cc", | 307 "simple_command_line_parser_unittest.cc", |
307 ] | 308 ] |
308 | 309 |
309 # TODO(jschuh): Bug 1348: fix this warning. | 310 # TODO(jschuh): Bug 1348: fix this warning. |
310 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 311 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
311 | 312 |
312 if (!build_with_chromium && is_clang) { | 313 if (!build_with_chromium && is_clang) { |
313 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 314 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
314 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 315 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
315 } | 316 } |
316 | 317 |
317 deps = [ | 318 deps = [ |
318 ":command_line_parser", | 319 ":command_line_parser", |
319 ":frame_editing_lib", | 320 ":frame_editing_lib", |
320 ":reference_less_video_analysis_lib", | 321 ":reference_less_video_analysis_lib", |
321 ":video_quality_analysis", | 322 ":video_quality_analysis", |
| 323 "../rtc_base", |
322 "../test:test_main", | 324 "../test:test_main", |
323 "//testing/gtest", | 325 "//testing/gtest", |
324 ] | 326 ] |
325 | 327 |
326 if (rtc_enable_protobuf) { | 328 if (rtc_enable_protobuf) { |
327 deps += [ "network_tester:network_tester_unittests" ] | 329 deps += [ "network_tester:network_tester_unittests" ] |
328 } | 330 } |
329 | 331 |
330 data = tools_unittests_resources | 332 data = tools_unittests_resources |
331 if (is_android) { | 333 if (is_android) { |
(...skipping 15 matching lines...) Expand all Loading... |
347 ] | 349 ] |
348 outputs = [ | 350 outputs = [ |
349 "$root_build_dir/{{source_file_part}}", | 351 "$root_build_dir/{{source_file_part}}", |
350 ] | 352 ] |
351 deps = [ | 353 deps = [ |
352 "../logging:rtc_event_log_proto", | 354 "../logging:rtc_event_log_proto", |
353 ] | 355 ] |
354 } | 356 } |
355 } | 357 } |
356 } | 358 } |
OLD | NEW |