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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
315 "../system_wrappers:system_wrappers_default", | 315 "../system_wrappers:system_wrappers_default", |
316 "../test:channel_transport", | 316 "../test:channel_transport", |
317 "../voice_engine", | 317 "../voice_engine", |
318 "//build/config/sanitizers:deps", | 318 "//build/config/sanitizers:deps", |
319 "//build/win:default_exe_manifest", | 319 "//build/win:default_exe_manifest", |
320 "//testing/gtest", | 320 "//testing/gtest", |
321 "//third_party/gflags", | 321 "//third_party/gflags", |
322 ] | 322 ] |
323 } | 323 } |
324 | 324 |
325 if (is_android || is_ios) { | |
326 tools_unittests_resources = [ "//resources/foreman_cif_short.yuv" ] | |
kjellander_webrtc
2016/08/30 11:11:08
This was a mistake. I must have pasted the wrong l
| |
327 } | |
328 | |
329 if (is_ios) { | |
330 bundle_data("tools_unittests_bundle_data") { | |
331 testonly = true | |
332 sources = tools_unittests_resources | |
333 outputs = [ | |
334 "{{bundle_resources_dir}}/{{source_file_part}}", | |
335 ] | |
336 } | |
337 } | |
338 | |
325 test("tools_unittests") { | 339 test("tools_unittests") { |
326 testonly = true | 340 testonly = true |
327 | 341 |
328 sources = [ | 342 sources = [ |
329 "frame_analyzer/video_quality_analysis_unittest.cc", | 343 "frame_analyzer/video_quality_analysis_unittest.cc", |
330 "frame_editing/frame_editing_unittest.cc", | 344 "frame_editing/frame_editing_unittest.cc", |
331 "simple_command_line_parser_unittest.cc", | 345 "simple_command_line_parser_unittest.cc", |
332 ] | 346 ] |
333 | 347 |
334 configs += [ "..:common_config" ] | 348 configs += [ "..:common_config" ] |
(...skipping 11 matching lines...) Expand all Loading... | |
346 deps = [ | 360 deps = [ |
347 ":command_line_parser", | 361 ":command_line_parser", |
348 ":frame_editing_lib", | 362 ":frame_editing_lib", |
349 ":video_quality_analysis", | 363 ":video_quality_analysis", |
350 "../test:test_support_main", | 364 "../test:test_support_main", |
351 "//testing/gtest", | 365 "//testing/gtest", |
352 ] | 366 ] |
353 | 367 |
354 if (is_android) { | 368 if (is_android) { |
355 deps += [ "//testing/android/native_test:native_test_support" ] | 369 deps += [ "//testing/android/native_test:native_test_support" ] |
370 data = tools_unittests_resources | |
356 shard_timeout = 900 | 371 shard_timeout = 900 |
357 } | 372 } |
358 if (is_android || is_ios) { | 373 if (is_ios) { |
359 data = [ | 374 deps += [ ":tools_unittests_bundle_data" ] |
360 "//resources/foreman_cif.yuv", | |
361 ] | |
362 } | 375 } |
363 } | 376 } |
364 | 377 |
365 if (rtc_enable_protobuf) { | 378 if (rtc_enable_protobuf) { |
366 copy("rtp_analyzer") { | 379 copy("rtp_analyzer") { |
367 sources = [ | 380 sources = [ |
368 "py_event_log_analyzer/misc.py", | 381 "py_event_log_analyzer/misc.py", |
369 "py_event_log_analyzer/pb_parse.py", | 382 "py_event_log_analyzer/pb_parse.py", |
370 "py_event_log_analyzer/rtp_analyzer.py", | 383 "py_event_log_analyzer/rtp_analyzer.py", |
371 "py_event_log_analyzer/rtp_analyzer.sh", | 384 "py_event_log_analyzer/rtp_analyzer.sh", |
372 ] | 385 ] |
373 outputs = [ | 386 outputs = [ |
374 "$root_build_dir/{{source_file_part}}", | 387 "$root_build_dir/{{source_file_part}}", |
375 ] | 388 ] |
376 deps = [ | 389 deps = [ |
377 "..:rtc_event_log_proto", | 390 "..:rtc_event_log_proto", |
378 ] | 391 ] |
379 } | 392 } |
380 } | 393 } |
381 } | 394 } |
OLD | NEW |