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        "[email protected]",
49        "[email protected]",
50        "[email protected]",
51        "[email protected]",
52        "[email protected]",
53        "[email protected]",
54        "[email protected]",
55        "[email protected]",
56        "[email protected]",
57        "[email protected]",
58        "[email protected]",
59        "[email protected]",
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        "[email protected]",
78    ],
79}
80