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_fwlog.cc", 42 "hal/hal_fd.cc", 43 ], 44 45 local_include_dirs: [ 46 "gki/common", 47 "gki/ulinux", 48 "hal", 49 "include", 50 ], 51 52 export_include_dirs: [ 53 "include", 54 "gki/ulinux", 55 ], 56 shared_libs: [ 57 "libbase", 58 "libcutils", 59 "libhardware", 60 "libhardware_legacy", 61 "libhidlbase", 62 "liblog", 63 "libutils", 64 ], 65} 66