blob: 5313be00515c4b200c8d1dd83d23a79edc040f03 [file] [log] [blame]
Tomasz Wasilczyk6301e8f2021-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 {
Aditya Choudharyad2ba1b2024-02-05 15:45:22 +000016 default_team: "trendy_team_fwk_telephony",
Tomasz Wasilczyk6301e8f2021-10-18 16:53:40 -070017 // See: http://go/android-license-faq
18 // A large-scale-change added 'default_applicable_licenses' to import
19 // all of the 'license_kinds' from "hardware_interfaces_license"
20 // to get the below license kinds:
21 // SPDX-license-identifier-Apache-2.0
22 default_applicable_licenses: ["hardware_interfaces_license"],
23}
24
25cc_binary {
26 name: "android.hardware.radio-service.compat",
27 relative_install_path: "hw",
28 init_rc: ["radio-compat.rc"],
29 vintf_fragments: ["radio-compat.xml"],
30 vendor: true,
31 cflags: [
32 "-Wall",
33 "-Wextra",
34 "-DANDROID_UTILS_REF_BASE_DISABLE_IMPLICIT_CONSTRUCTION",
35 ],
36 shared_libs: [
37 "android.hardware.radio-library.compat",
Steven Moreland771b5c12023-04-11 21:27:15 +000038 "android.hardware.radio.config-V3-ndk",
Tomasz Wasilczyk6301e8f2021-10-18 16:53:40 -070039 "android.hardware.radio.config@1.0",
40 "android.hardware.radio.config@1.1",
41 "android.hardware.radio.config@1.2",
42 "android.hardware.radio.config@1.3",
Tomasz Wasilczyk51f927b2024-10-17 12:00:40 -070043 "android.hardware.radio.data-V4-ndk",
Steven Moreland771b5c12023-04-11 21:27:15 +000044 "android.hardware.radio.ims-V2-ndk",
Tomasz Wasilczyk51f927b2024-10-17 12:00:40 -070045 "android.hardware.radio.ims.media-V3-ndk",
Steven Moreland771b5c12023-04-11 21:27:15 +000046 "android.hardware.radio.messaging-V3-ndk",
47 "android.hardware.radio.modem-V3-ndk",
48 "android.hardware.radio.network-V3-ndk",
Pomai Ahlo25fb3aa2022-12-12 13:58:55 -080049 "android.hardware.radio.sap-V1-ndk",
Steven Moreland771b5c12023-04-11 21:27:15 +000050 "android.hardware.radio.sim-V3-ndk",
51 "android.hardware.radio.voice-V3-ndk",
Tomasz Wasilczyk1f16d3a2021-10-25 20:20:49 -070052 "android.hardware.radio@1.0",
53 "android.hardware.radio@1.1",
54 "android.hardware.radio@1.2",
55 "android.hardware.radio@1.3",
56 "android.hardware.radio@1.4",
57 "android.hardware.radio@1.5",
58 "android.hardware.radio@1.6",
Tomasz Wasilczyk6301e8f2021-10-18 16:53:40 -070059 "libbase",
60 "libbinder_ndk",
61 "libhidlbase",
62 "libutils",
63 ],
64 srcs: [
65 "hidl-utils.cpp",
66 "service.cpp",
67 ],
68}