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. 15 16package { 17 default_applicable_licenses: ["hardware_samsung_nfc_license"], 18} 19 20// Added automatically by a large-scale-change 21// See: http://go/android-license-faq 22license { 23 name: "hardware_samsung_nfc_license", 24 visibility: [":__subpackages__"], 25 license_kinds: [ 26 "SPDX-license-identifier-Apache-2.0", 27 ], 28 license_text: [ 29 "LICENSE", 30 ], 31} 32 33cc_library_shared { 34 name: "nfc_nci_samsung", 35 defaults: ["hidl_defaults"], 36 proprietary: true, 37 38 cflags: [ 39 "-DBUILDCFG=1", 40 "-DANDROID", 41 "-DNFC_HAL_TARGET=TRUE", 42 "-DNFC_RW_ONLY=TRUE", 43 "-DNFC_SEC_NOT_OPEN_INCLUDED=TRUE", 44 "-DINFC_1_1", 45 ], 46 47 srcs: [ 48 "halimpl/osi/*.cc", 49 "halimpl/src/*.cc", 50 "halimpl/src/*.cpp", 51 ], 52 53 local_include_dirs: [ 54 "halimpl/include", 55 "halimpl/osi", 56 ], 57 export_include_dirs: [ 58 "halimpl/include", 59 "halimpl/osi", 60 ], 61 62 shared_libs: [ 63 "android.hardware.nfc@1.0", 64 "android.hardware.nfc@1.1", 65 "android.hardware.nfc@1.2", 66 "libbase", 67 "libcutils", 68 "libhardware", 69 "libhardware_legacy", 70 "libhidlbase", 71 "liblog", 72 "libutils", 73 "libcrypto", 74 ], 75} 76