blob: 9e92d937d0a56fe7fb9359e39ba4f261f1dbc223 [file] [log] [blame]
Sanket Padawee4c63232017-02-07 15:58:34 -08001//
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
Bob Badourb224b362021-02-12 20:13:01 -080017package {
18 // See: http://go/android-license-faq
19 // A large-scale-change added 'default_applicable_licenses' to import
20 // all of the 'license_kinds' from "hardware_interfaces_license"
21 // to get the below license kinds:
22 // SPDX-license-identifier-Apache-2.0
23 default_applicable_licenses: ["hardware_interfaces_license"],
24}
25
Sanket Padawee4c63232017-02-07 15:58:34 -080026cc_test {
Zhuoyao Zhangf7693ee2017-02-16 14:58:55 -080027 name: "VtsHalRadioV1_0TargetTest",
Tri Vo6c2bd862017-08-01 13:14:53 -070028 defaults: ["VtsHalTargetTestDefaults"],
Rambo Wang41ca2fd2021-02-18 18:39:04 -080029 srcs: [
30 "radio_hidl_hal_cell_broadcast.cpp",
31 "radio_hidl_hal_data.cpp",
32 "radio_hidl_hal_icc.cpp",
33 "radio_hidl_hal_ims.cpp",
34 "radio_hidl_hal_misc.cpp",
35 "radio_hidl_hal_sms.cpp",
36 "radio_hidl_hal_stk.cpp",
37 "radio_hidl_hal_test.cpp",
38 "radio_hidl_hal_voice.cpp",
39 "radio_indication.cpp",
40 "radio_response.cpp",
41 "VtsHalRadioV1_0TargetTest.cpp",
42 "vts_test_util.cpp",
43 ],
Tri Vo6c2bd862017-08-01 13:14:53 -070044 static_libs: [
Sanket Padawee4c63232017-02-07 15:58:34 -080045 "android.hardware.radio@1.0",
46 ],
Dan Shi8caedd02019-10-21 11:32:21 -070047 test_config: "vts_hal_radio_target_test.xml",
Rambo Wang41ca2fd2021-02-18 18:39:04 -080048 test_suites: [
49 "general-tests",
50 "vts",
51 ],
Shuoq064ee512017-02-27 16:35:56 -080052}
Shuoqca02ad42017-03-23 17:22:50 -070053
54cc_test {
55 name: "VtsHalSapV1_0TargetTest",
Tri Vo6c2bd862017-08-01 13:14:53 -070056 defaults: ["VtsHalTargetTestDefaults"],
Rambo Wang41ca2fd2021-02-18 18:39:04 -080057 srcs: [
58 "sap_callback.cpp",
59 "sap_hidl_hal_api.cpp",
60 "sap_hidl_hal_test.cpp",
61 "VtsHalSapV1_0TargetTest.cpp",
62 "vts_test_util.cpp",
63 ],
Tri Vo6c2bd862017-08-01 13:14:53 -070064 static_libs: [
Shuoqca02ad42017-03-23 17:22:50 -070065 "android.hardware.radio@1.0",
66 ],
Dan Shi8caedd02019-10-21 11:32:21 -070067 test_config: "vts_hal_sap_target_test.xml",
Rambo Wang41ca2fd2021-02-18 18:39:04 -080068 test_suites: [
69 "general-tests",
70 "vts",
71 ],
Shuoqca02ad42017-03-23 17:22:50 -070072}
sqianc673a942017-05-24 15:08:25 -070073
74cc_library_static {
sqianc673a942017-05-24 15:08:25 -070075 name: "RadioVtsTestUtilBase",
sqian7fe93652017-12-28 12:10:37 -080076 defaults: ["VtsHalTargetTestDefaults"],
Rambo Wang41ca2fd2021-02-18 18:39:04 -080077 srcs: [
78 "vts_test_util.cpp",
sqianc673a942017-05-24 15:08:25 -070079 ],
sqian7fe93652017-12-28 12:10:37 -080080 shared_libs: [
81 "android.hardware.radio@1.0",
82 ],
sqianc673a942017-05-24 15:08:25 -070083}
84
85cc_library_headers {
86 name: "radio.util.header@1.0",
87 export_include_dirs: ["."],
Tri Vo6c2bd862017-08-01 13:14:53 -070088}