BUILD.gn (1613B)
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 "../..:scoped_refptr", 30 "../../../test:frame_utils", 31 "../../../test:test_support", 32 ] 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 "..:encoded_image", 42 "..:recordable_encoded_frame", 43 "..:video_frame", 44 "..:video_rtp_headers", 45 "../..:scoped_refptr", 46 "../../../test:test_support", 47 "../../units:timestamp", 48 ] 49 } 50 51 rtc_source_set("video_frame_matchers") { 52 testonly = true 53 visibility = [ "*" ] 54 sources = [ "video_frame_matchers.h" ] 55 56 deps = [ 57 "..:video_frame", 58 "../..:rtp_packet_info", 59 "../../../test:test_support", 60 ] 61 }