xref: /aosp_15_r20/hardware/interfaces/radio/1.0/vts/functional/Android.bp (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
1//
2// Copyright (C) 2017 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_fwk_telephony",
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: "VtsHalRadioV1_0TargetTest",
29    defaults: ["VtsHalTargetTestDefaults"],
30    srcs: [
31        "radio_hidl_hal_cell_broadcast.cpp",
32        "radio_hidl_hal_data.cpp",
33        "radio_hidl_hal_icc.cpp",
34        "radio_hidl_hal_ims.cpp",
35        "radio_hidl_hal_misc.cpp",
36        "radio_hidl_hal_sms.cpp",
37        "radio_hidl_hal_stk.cpp",
38        "radio_hidl_hal_test.cpp",
39        "radio_hidl_hal_voice.cpp",
40        "radio_indication.cpp",
41        "radio_response.cpp",
42        "VtsHalRadioV1_0TargetTest.cpp",
43        "vts_test_util.cpp",
44    ],
45    static_libs: [
46        "[email protected]",
47        "[email protected]",
48        "[email protected]",
49    ],
50    test_config: "vts_hal_radio_target_test.xml",
51    test_suites: [
52        "general-tests",
53        "vts",
54    ],
55}
56
57cc_test {
58    name: "VtsHalSapV1_0TargetTest",
59    defaults: ["VtsHalTargetTestDefaults"],
60    srcs: [
61        "sap_callback.cpp",
62        "sap_hidl_hal_api.cpp",
63        "sap_hidl_hal_test.cpp",
64        "VtsHalSapV1_0TargetTest.cpp",
65        "vts_test_util.cpp",
66    ],
67    static_libs: [
68        "[email protected]",
69    ],
70    test_config: "vts_hal_sap_target_test.xml",
71    test_suites: [
72        "general-tests",
73        "vts",
74    ],
75}
76
77cc_library_static {
78    name: "RadioVtsTestUtilBase",
79    defaults: ["VtsHalTargetTestDefaults"],
80    srcs: [
81        "vts_test_util.cpp",
82    ],
83    shared_libs: [
84        "[email protected]",
85    ],
86}
87
88cc_library_headers {
89    name: "[email protected]",
90    export_include_dirs: ["."],
91}
92