1// 2// Copyright (C) 2018 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15package { 16 // http://go/android-license-faq 17 // A large-scale-change added 'default_applicable_licenses' to import 18 // the below license kinds from "hardware_st_nfc_license": 19 // SPDX-license-identifier-Apache-2.0 20 default_applicable_licenses: ["hardware_st_nfc_license"], 21} 22 23cc_library_shared { 24 name: "nfc_nci.st21nfc.default", 25 defaults: ["hidl_defaults"], 26 proprietary: true, 27 28 cflags: [ 29 "-DST21NFC", 30 "-Wall", 31 "-Werror", 32 "-Wextra", 33 ], 34 35 srcs: [ 36 "adaptation/android_logmsg.cpp", 37 "adaptation/config.cpp", 38 "adaptation/i2clayer.cc", 39 "hal/halcore.cc", 40 "hal_wrapper.cc", 41 "hal/hal_fd.cc", 42 ], 43 44 local_include_dirs: [ 45 "gki/common", 46 "gki/ulinux", 47 "hal", 48 "include", 49 ], 50 51 export_include_dirs: [ 52 "include", 53 "gki/ulinux", 54 ], 55 shared_libs: [ 56 "libbase", 57 "libcutils", 58 "libhardware", 59 "libhardware_legacy", 60 "libhidlbase", 61 "liblog", 62 "libutils", 63 ], 64} 65