| 1 | # Copyright (c) 2018 The WebRTC project authors. All Rights Reserved. |
| 2 | # |
| 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 |
| 5 | # tree. An additional intellectual property rights grant can be found |
| 6 | # in the file PATENTS. All contributing project authors may |
| 7 | # be found in the AUTHORS file in the root of the source tree. |
| 8 | |
| 9 | import("../../../webrtc.gni") |
| 10 | |
| 11 | rtc_library("rtc_api_video_unittests") { |
| 12 | testonly = true |
| 13 | sources = [ |
| 14 | "color_space_unittest.cc", |
| 15 | "i210_buffer_unittest.cc", |
| 16 | "i410_buffer_unittest.cc", |
| 17 | "i422_buffer_unittest.cc", |
| 18 | "i444_buffer_unittest.cc", |
| 19 | "nv12_buffer_unittest.cc", |
| 20 | "video_adaptation_counters_unittest.cc", |
| 21 | "video_bitrate_allocation_unittest.cc", |
| 22 | ] |
| 23 | deps = [ |
| 24 | "..:video_adaptation", |
| 25 | "..:video_bitrate_allocation", |
| 26 | "..:video_frame", |
| 27 | "..:video_frame_i010", |
| 28 | "..:video_rtp_headers", |
| 29 | "../../../test:frame_utils", |
| 30 | "../../../test:test_support", |
| 31 | ] |
| 32 | absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] |
| 33 | } |
| 34 | |
| 35 | rtc_source_set("mock_recordable_encoded_frame") { |
| 36 | testonly = true |
| 37 | visibility = [ "*" ] |
| 38 | sources = [ "mock_recordable_encoded_frame.h" ] |
| 39 | |
| 40 | deps = [ |
| 41 | "..:recordable_encoded_frame", |
| 42 | "../../../test:test_support", |
| 43 | ] |
| 44 | } |
| 45 | |
| 46 | rtc_source_set("video_frame_matchers") { |
| 47 | testonly = true |
| 48 | visibility = [ "*" ] |
| 49 | sources = [ "video_frame_matchers.h" ] |
| 50 | |
| 51 | deps = [ |
| 52 | "..:video_frame", |
| 53 | "../..:rtp_packet_info", |
| 54 | "../../../test:test_support", |
| 55 | ] |
| 56 | } |
| 57 | |