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 vendor: true, 22 cflags: [ 23 "-Wextra", 24 "-Wno-unused-parameter", 25 ], 26 srcs: [ 27 "ril.cpp", 28 "RilSapSocket.cpp", 29 "ril_config.cpp", 30 "ril_event.cpp", 31 "ril_service.cpp", 32 "sap_service.cpp", 33 ], 34 include_dirs: [ 35 "device/google/cuttlefish", 36 "hardware/ril/include", 37 ], 38 shared_libs: [ 39 "android.hardware.radio@1.0", 40 "android.hardware.radio@1.1", 41 "android.hardware.radio@1.2", 42 "android.hardware.radio@1.3", 43 "android.hardware.radio@1.4", 44 "android.hardware.radio@1.5", 45 "android.hardware.radio@1.6", 46 "android.hardware.radio.config@1.0", 47 "android.hardware.radio.config@1.1", 48 "android.hardware.radio.config@1.2", 49 "android.hardware.radio.config@1.3", 50 "android.hardware.radio.deprecated@1.0", 51 "libcutils", 52 "libhardware_legacy", 53 "libhidlbase", 54 "liblog", 55 "librilutils", 56 "libutils", 57 ], 58 static_libs: [ 59 "libprotobuf-c-nano-enable_malloc" 60 ], 61} 62