blob: ae4f5984930d404b83ddf2cd0021c22b6027fa92 [file] [log] [blame]
Hongguang600a6ae2021-07-08 18:51:51 -07001//
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 {
Yihan Dong22c843f2024-10-12 09:10:15 +000018 default_team: "trendy_team_interactive_tv",
Hongguang600a6ae2021-07-08 18:51:51 -070019 // 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",
sadiqsada7a191392023-11-07 16:09:09 -080041 "utils/IpStreamer.cpp",
Hongguang600a6ae2021-07-08 18:51:51 -070042 ],
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 "android.hardware.cas@1.0",
54 "android.hardware.cas@1.1",
55 "android.hardware.cas@1.2",
Yixiao Luoe8730a72023-02-01 18:39:51 -080056 "android.hardware.cas-V1-ndk",
Jiyong Parkc426c6d2021-08-04 12:48:07 +090057 "android.hardware.common-V2-ndk",
58 "android.hardware.common.fmq-V1-ndk",
Ray Chin62ab6c92022-09-15 15:07:33 +080059 "android.hardware.tv.tuner-V2-ndk",
Hongguang600a6ae2021-07-08 18:51:51 -070060 "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}