blob: aa20fc3fd563edff1366474803cb4df131f10f50 [file] [log] [blame]
Tomasz Wasilczykbff3b5b2021-10-18 16:53:40 -07001// Copyright (C) 2021 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16 // See: http://go/android-license-faq
17 // A large-scale-change added 'default_applicable_licenses' to import
18 // all of the 'license_kinds' from "hardware_interfaces_license"
19 // to get the below license kinds:
20 // SPDX-license-identifier-Apache-2.0
21 default_applicable_licenses: ["hardware_interfaces_license"],
22}
23
24cc_library {
25 name: "android.hardware.radio-library.compat",
26 relative_install_path: "hw",
27 vendor: true,
28 cflags: [
29 "-Wall",
30 "-Wextra",
Tomasz Wasilczykbff3b5b2021-10-18 16:53:40 -070031 "-DANDROID_UTILS_REF_BASE_DISABLE_IMPLICIT_CONSTRUCTION",
32 ],
33 shared_libs: [
34 "android.hardware.radio.config-V1-ndk",
35 "android.hardware.radio.config@1.0",
36 "android.hardware.radio.config@1.1",
37 "android.hardware.radio.config@1.2",
38 "android.hardware.radio.config@1.3",
Tomasz Wasilczyk07161692021-11-02 12:14:52 -070039 "android.hardware.radio.data-V1-ndk",
Tomasz Wasilczyk9ddc87f2021-10-25 20:20:49 -070040 "android.hardware.radio.messaging-V1-ndk",
Tomasz Wasilczykdcbae482021-11-08 16:10:28 -080041 "android.hardware.radio.modem-V1-ndk",
Tomasz Wasilczyk70ac7bf2021-11-03 15:15:48 -070042 "android.hardware.radio.network-V1-ndk",
Pomai Ahlo1d10db62022-12-12 13:58:55 -080043 "android.hardware.radio.sap-V1-ndk",
Tomasz Wasilczyk7f51a9a2021-10-28 13:22:47 -070044 "android.hardware.radio.sim-V1-ndk",
Tomasz Wasilczyk6e084182021-11-05 10:53:55 -070045 "android.hardware.radio.voice-V1-ndk",
Tomasz Wasilczyk9ddc87f2021-10-25 20:20:49 -070046 "android.hardware.radio@1.0",
47 "android.hardware.radio@1.1",
48 "android.hardware.radio@1.2",
49 "android.hardware.radio@1.3",
50 "android.hardware.radio@1.4",
51 "android.hardware.radio@1.5",
52 "android.hardware.radio@1.6",
Tomasz Wasilczykbff3b5b2021-10-18 16:53:40 -070053 "libbase",
54 "libbinder_ndk",
55 "libhidlbase",
56 "libutils",
57 ],
58 srcs: [
Tomasz Wasilczyk963a56f2021-12-16 12:19:09 -080059 "CallbackManager.cpp",
Sarah Chine98dd0e2021-12-09 00:33:37 -080060 "DriverContext.cpp",
Tomasz Wasilczyk9ddc87f2021-10-25 20:20:49 -070061 "RadioCompatBase.cpp",
Sarah Chine98dd0e2021-12-09 00:33:37 -080062 "RadioIndication.cpp",
Tomasz Wasilczyk9ddc87f2021-10-25 20:20:49 -070063 "RadioResponse.cpp",
Tomasz Wasilczykbff3b5b2021-10-18 16:53:40 -070064 "commonStructs.cpp",
65 "config/RadioConfig.cpp",
66 "config/RadioConfigIndication.cpp",
67 "config/RadioConfigResponse.cpp",
68 "config/structs.cpp",
Tomasz Wasilczyk07161692021-11-02 12:14:52 -070069 "data/RadioIndication-data.cpp",
70 "data/RadioResponse-data.cpp",
71 "data/RadioData.cpp",
72 "data/structs.cpp",
Tomasz Wasilczyk9ddc87f2021-10-25 20:20:49 -070073 "messaging/RadioIndication-messaging.cpp",
74 "messaging/RadioMessaging.cpp",
75 "messaging/RadioResponse-messaging.cpp",
76 "messaging/structs.cpp",
Tomasz Wasilczykdcbae482021-11-08 16:10:28 -080077 "modem/RadioIndication-modem.cpp",
78 "modem/RadioResponse-modem.cpp",
79 "modem/RadioModem.cpp",
80 "modem/structs.cpp",
Tomasz Wasilczyk70ac7bf2021-11-03 15:15:48 -070081 "network/RadioIndication-network.cpp",
82 "network/RadioNetwork.cpp",
83 "network/RadioResponse-network.cpp",
84 "network/structs.cpp",
85 "network/utils.cpp",
Pomai Ahlo1d10db62022-12-12 13:58:55 -080086 "sap/Sap.cpp",
87 "sap/SapCallback.cpp",
88 "sap/structs.cpp",
Tomasz Wasilczyk7f51a9a2021-10-28 13:22:47 -070089 "sim/RadioIndication-sim.cpp",
90 "sim/RadioResponse-sim.cpp",
91 "sim/RadioSim.cpp",
92 "sim/structs.cpp",
Tomasz Wasilczyk6e084182021-11-05 10:53:55 -070093 "voice/RadioIndication-voice.cpp",
94 "voice/RadioResponse-voice.cpp",
95 "voice/RadioVoice.cpp",
96 "voice/structs.cpp",
Tomasz Wasilczykbff3b5b2021-10-18 16:53:40 -070097 ],
98 export_include_dirs: ["include"],
99}