blob: 8cd823ec1a76801438863397e64e3ade94b4d808 [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
17cc_test {
Zhuoyao Zhangf7693ee2017-02-16 14:58:55 -080018 name: "VtsHalRadioV1_0TargetTest",
Steven Moreland691a4552017-03-08 15:58:46 -080019 defaults: ["hidl_defaults"],
Sanket Padawe28fc10f2017-03-16 11:49:39 -070020 srcs: ["radio_hidl_hal_cell_broadcast.cpp",
Shuoq59bac4d2017-03-09 17:44:08 -080021 "radio_hidl_hal_data.cpp",
Sanket Padawee4c63232017-02-07 15:58:34 -080022 "radio_hidl_hal_icc.cpp",
Shuoq59bac4d2017-03-09 17:44:08 -080023 "radio_hidl_hal_ims.cpp",
Sanket Padawe28fc10f2017-03-16 11:49:39 -070024 "radio_hidl_hal_misc.cpp",
Shuoq064ee512017-02-27 16:35:56 -080025 "radio_hidl_hal_sms.cpp",
Shuoq59bac4d2017-03-09 17:44:08 -080026 "radio_hidl_hal_stk.cpp",
Sanket Padawe28fc10f2017-03-16 11:49:39 -070027 "radio_hidl_hal_test.cpp",
28 "radio_hidl_hal_voice.cpp",
29 "radio_response.cpp",
sqian42c66f72017-05-30 13:30:08 -070030 "VtsHalRadioV1_0TargetTest.cpp",
31 "vts_test_util.cpp"],
Sanket Padawee4c63232017-02-07 15:58:34 -080032 shared_libs: [
33 "libbase",
34 "liblog",
35 "libcutils",
36 "libhidlbase",
37 "libhidltransport",
Sanket Padawee4c63232017-02-07 15:58:34 -080038 "libnativehelper",
39 "libutils",
40 "android.hardware.radio@1.0",
41 ],
Yuexi Ma6b872012017-03-10 00:42:13 -080042 static_libs: ["VtsHalHidlTargetTestBase"],
Sanket Padawee4c63232017-02-07 15:58:34 -080043 cflags: [
44 "-O0",
45 "-g",
46 ],
Shuoq064ee512017-02-27 16:35:56 -080047}
Shuoqca02ad42017-03-23 17:22:50 -070048
49cc_test {
50 name: "VtsHalSapV1_0TargetTest",
51 defaults: ["hidl_defaults"],
52 srcs: ["sap_callback.cpp",
53 "sap_hidl_hal_api.cpp",
54 "sap_hidl_hal_test.cpp",
sqian42c66f72017-05-30 13:30:08 -070055 "VtsHalSapV1_0TargetTest.cpp",
56 "vts_test_util.cpp"],
Shuoqca02ad42017-03-23 17:22:50 -070057 shared_libs: [
58 "libbase",
59 "liblog",
60 "libcutils",
61 "libhidlbase",
62 "libhidltransport",
63 "libnativehelper",
64 "libutils",
65 "android.hardware.radio@1.0",
66 ],
67 static_libs: ["VtsHalHidlTargetTestBase"],
68 cflags: [
69 "-O0",
70 "-g",
71 ],
72}
sqian0c74fc72017-05-24 15:08:25 -070073
74cc_library_static {
75 name: "RadioHidlHalUtilsBase",
76 srcs : [
77 "radio_hidl_hal_test.cpp",
78 "radio_response.cpp"
79 ],
80 shared_libs: [
81 "libbase",
82 "liblog",
83 "libcutils",
84 "libhidlbase",
85 "libhidltransport",
86 "libnativehelper",
87 "libutils",
88 "android.hardware.radio@1.0",
89 ],
90 static_libs: ["VtsHalHidlTargetTestBase"],
91 cflags: [
92 "-O0",
93 "-g",
94 ],
95}
96
97cc_library_static {
98 name: "RadioVtsTestUtilBase",
99 srcs : [
100 "vts_test_util.cpp"
101 ],
102}
103
104cc_library_headers {
105 name: "radio.util.header@1.0",
106 export_include_dirs: ["."],
107}