• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2020 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    default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19cc_library {
20    name: "libril-modem-lib",
21    defaults: ["android.hardware.radio-library.aidl_deps"],
22    vendor: true,
23    cflags: [
24        "-Wextra",
25        "-Wno-unused-parameter",
26    ],
27    srcs: [
28        "RefImsMedia.cpp",
29        "RefImsMediaSession.cpp",
30        "RefRadioConfig.cpp",
31        "RefRadioIms.cpp",
32        "RefRadioModem.cpp",
33        "RefRadioNetwork.cpp",
34        "RefRadioSim.cpp",
35        "RilSapSocket.cpp",
36        "ril.cpp",
37        "ril_config.cpp",
38        "ril_event.cpp",
39        "ril_service.cpp",
40        "sap_service.cpp",
41    ],
42    include_dirs: [
43        "device/google/cuttlefish",
44        "hardware/ril/include",
45    ],
46    shared_libs: [
47        "android.hardware.radio-library.compat",
48        "android.hardware.radio.config@1.0",
49        "android.hardware.radio.config@1.1",
50        "android.hardware.radio.config@1.2",
51        "android.hardware.radio.config@1.3",
52        "android.hardware.radio.deprecated@1.0",
53        "android.hardware.radio@1.0",
54        "android.hardware.radio@1.1",
55        "android.hardware.radio@1.2",
56        "android.hardware.radio@1.3",
57        "android.hardware.radio@1.4",
58        "android.hardware.radio@1.5",
59        "android.hardware.radio@1.6",
60        "libbase",
61        "libbinder_ndk",
62        "libcutils",
63        "libhardware_legacy",
64        "libhidlbase",
65        "liblog",
66        "librilutils",
67        "libutils",
68    ],
69    static_libs: [
70        "libprotobuf-c-nano-enable_malloc",
71    ],
72}
73
74filegroup {
75    name: "libril-modem-lib-manifests",
76    srcs: [
77        "android.hardware.radio@2.1.xml",
78    ],
79}
80