1*d9f75844SAndroid Build Coastguard Worker# Copyright (c) 2018 The WebRTC project authors. All Rights Reserved. 2*d9f75844SAndroid Build Coastguard Worker# 3*d9f75844SAndroid Build Coastguard Worker# Use of this source code is governed by a BSD-style license 4*d9f75844SAndroid Build Coastguard Worker# that can be found in the LICENSE file in the root of the source 5*d9f75844SAndroid Build Coastguard Worker# tree. An additional intellectual property rights grant can be found 6*d9f75844SAndroid Build Coastguard Worker# in the file PATENTS. All contributing project authors may 7*d9f75844SAndroid Build Coastguard Worker# be found in the AUTHORS file in the root of the source tree. 8*d9f75844SAndroid Build Coastguard Worker 9*d9f75844SAndroid Build Coastguard Workerimport("../../../webrtc.gni") 10*d9f75844SAndroid Build Coastguard Worker 11*d9f75844SAndroid Build Coastguard Workerif (rtc_include_tests) { 12*d9f75844SAndroid Build Coastguard Worker rtc_library("video_codecs_api_unittests") { 13*d9f75844SAndroid Build Coastguard Worker testonly = true 14*d9f75844SAndroid Build Coastguard Worker sources = [ 15*d9f75844SAndroid Build Coastguard Worker "builtin_video_encoder_factory_unittest.cc", 16*d9f75844SAndroid Build Coastguard Worker "h264_profile_level_id_unittest.cc", 17*d9f75844SAndroid Build Coastguard Worker "sdp_video_format_unittest.cc", 18*d9f75844SAndroid Build Coastguard Worker "video_decoder_software_fallback_wrapper_unittest.cc", 19*d9f75844SAndroid Build Coastguard Worker "video_encoder_software_fallback_wrapper_unittest.cc", 20*d9f75844SAndroid Build Coastguard Worker ] 21*d9f75844SAndroid Build Coastguard Worker 22*d9f75844SAndroid Build Coastguard Worker deps = [ 23*d9f75844SAndroid Build Coastguard Worker ":video_decoder_factory_template_tests", 24*d9f75844SAndroid Build Coastguard Worker ":video_encoder_factory_template_tests", 25*d9f75844SAndroid Build Coastguard Worker "..:builtin_video_encoder_factory", 26*d9f75844SAndroid Build Coastguard Worker "..:rtc_software_fallback_wrappers", 27*d9f75844SAndroid Build Coastguard Worker "..:video_codecs_api", 28*d9f75844SAndroid Build Coastguard Worker "../..:fec_controller_api", 29*d9f75844SAndroid Build Coastguard Worker "../..:mock_video_encoder", 30*d9f75844SAndroid Build Coastguard Worker "../../../api:scoped_refptr", 31*d9f75844SAndroid Build Coastguard Worker "../../../media:rtc_media_base", 32*d9f75844SAndroid Build Coastguard Worker "../../../modules/video_coding:video_codec_interface", 33*d9f75844SAndroid Build Coastguard Worker "../../../modules/video_coding:video_coding_utility", 34*d9f75844SAndroid Build Coastguard Worker "../../../modules/video_coding:webrtc_vp8", 35*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:checks", 36*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:rtc_base_tests_utils", 37*d9f75844SAndroid Build Coastguard Worker "../../../test:field_trial", 38*d9f75844SAndroid Build Coastguard Worker "../../../test:test_support", 39*d9f75844SAndroid Build Coastguard Worker "../../../test:video_test_common", 40*d9f75844SAndroid Build Coastguard Worker "../../video:encoded_image", 41*d9f75844SAndroid Build Coastguard Worker "../../video:video_bitrate_allocation", 42*d9f75844SAndroid Build Coastguard Worker "../../video:video_frame", 43*d9f75844SAndroid Build Coastguard Worker "../../video:video_rtp_headers", 44*d9f75844SAndroid Build Coastguard Worker "//testing/gtest", 45*d9f75844SAndroid Build Coastguard Worker ] 46*d9f75844SAndroid Build Coastguard Worker absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ] 47*d9f75844SAndroid Build Coastguard Worker } 48*d9f75844SAndroid Build Coastguard Worker 49*d9f75844SAndroid Build Coastguard Worker rtc_library("video_encoder_factory_template_tests") { 50*d9f75844SAndroid Build Coastguard Worker testonly = true 51*d9f75844SAndroid Build Coastguard Worker sources = [ "video_encoder_factory_template_tests.cc" ] 52*d9f75844SAndroid Build Coastguard Worker 53*d9f75844SAndroid Build Coastguard Worker deps = [ 54*d9f75844SAndroid Build Coastguard Worker "..:video_encoder_factory_template", 55*d9f75844SAndroid Build Coastguard Worker "..:video_encoder_factory_template_libaom_av1_adapter", 56*d9f75844SAndroid Build Coastguard Worker "..:video_encoder_factory_template_libvpx_vp8_adapter", 57*d9f75844SAndroid Build Coastguard Worker "..:video_encoder_factory_template_libvpx_vp9_adapter", 58*d9f75844SAndroid Build Coastguard Worker "..:video_encoder_factory_template_open_h264_adapter", 59*d9f75844SAndroid Build Coastguard Worker "../../:mock_video_encoder", 60*d9f75844SAndroid Build Coastguard Worker "../../../test:test_support", 61*d9f75844SAndroid Build Coastguard Worker "//testing/gtest", 62*d9f75844SAndroid Build Coastguard Worker ] 63*d9f75844SAndroid Build Coastguard Worker } 64*d9f75844SAndroid Build Coastguard Worker 65*d9f75844SAndroid Build Coastguard Worker rtc_library("video_decoder_factory_template_tests") { 66*d9f75844SAndroid Build Coastguard Worker testonly = true 67*d9f75844SAndroid Build Coastguard Worker sources = [ "video_decoder_factory_template_tests.cc" ] 68*d9f75844SAndroid Build Coastguard Worker 69*d9f75844SAndroid Build Coastguard Worker deps = [ 70*d9f75844SAndroid Build Coastguard Worker "..:video_decoder_factory_template", 71*d9f75844SAndroid Build Coastguard Worker "..:video_decoder_factory_template_dav1d_adapter", 72*d9f75844SAndroid Build Coastguard Worker "..:video_decoder_factory_template_libvpx_vp8_adapter", 73*d9f75844SAndroid Build Coastguard Worker "..:video_decoder_factory_template_libvpx_vp9_adapter", 74*d9f75844SAndroid Build Coastguard Worker "..:video_decoder_factory_template_open_h264_adapter", 75*d9f75844SAndroid Build Coastguard Worker "../../:mock_video_decoder", 76*d9f75844SAndroid Build Coastguard Worker "../../../test:test_support", 77*d9f75844SAndroid Build Coastguard Worker "//testing/gtest", 78*d9f75844SAndroid Build Coastguard Worker ] 79*d9f75844SAndroid Build Coastguard Worker } 80*d9f75844SAndroid Build Coastguard Worker} 81