1// 2// Copyright 2021 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16 17package { 18 default_team: "trendy_team_interactive_tv", 19 // See: http://go/android-license-faq 20 // A large-scale-change added 'default_applicable_licenses' to import 21 // all of the 'license_kinds' from "hardware_interfaces_license" 22 // to get the below license kinds: 23 // SPDX-license-identifier-Apache-2.0 24 default_applicable_licenses: ["hardware_interfaces_license"], 25} 26 27cc_test { 28 name: "VtsHalTvTunerTargetTest", 29 defaults: [ 30 "VtsHalTargetTestDefaults", 31 "use_libaidlvintf_gtest_helper_static", 32 ], 33 srcs: [ 34 "DemuxTests.cpp", 35 "DescramblerTests.cpp", 36 "DvrTests.cpp", 37 "FilterTests.cpp", 38 "FrontendTests.cpp", 39 "LnbTests.cpp", 40 "VtsHalTvTunerTargetTest.cpp", 41 "utils/IpStreamer.cpp", 42 ], 43 generated_headers: [ 44 "tuner_testing_dynamic_configuration_V1_0_enums", 45 "tuner_testing_dynamic_configuration_V1_0_parser", 46 ], 47 generated_sources: [ 48 "tuner_testing_dynamic_configuration_V1_0_enums", 49 "tuner_testing_dynamic_configuration_V1_0_parser", 50 ], 51 header_libs: ["libxsdc-utils"], 52 static_libs: [ 53 "[email protected]", 54 "[email protected]", 55 "[email protected]", 56 "android.hardware.cas-V1-ndk", 57 "android.hardware.common-V2-ndk", 58 "android.hardware.common.fmq-V1-ndk", 59 "android.hardware.tv.tuner-V3-ndk", 60 "libaidlcommonsupport", 61 "libfmq", 62 "libcutils", 63 ], 64 shared_libs: [ 65 "libbinder_ndk", 66 "libvndksupport", 67 "libxml2", 68 ], 69 data: [ 70 ":tuner_frontend_input_ts", 71 ":tuner_frontend_input_es", 72 ":tuner_testing_dynamic_configuration_V1_0", 73 ], 74 test_suites: [ 75 "general-tests", 76 "vts", 77 ], 78 79 require_root: true, 80} 81