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_binary { 20 name: "libcuttlefish-rild", 21 vendor: true, 22 cflags: [ 23 "-DRIL_SHLIB", 24 "-Wall", 25 "-Werror", 26 "-Wextra", 27 ], 28 srcs: [ 29 "rild_cuttlefish.c", 30 ], 31 include_dirs: [ 32 "device/google/cuttlefish", 33 "hardware/ril/include", 34 ], 35 shared_libs: [ 36 "libcutils", 37 "libdl", 38 "liblog", 39 "libril-modem-lib", 40 ], 41 init_rc: ["rild_cuttlefish.rc"], 42 vintf_fragments: [":libril-modem-lib-manifests"], 43 relative_install_path: "hw", 44 overrides: ["rild"], 45} 46