1 // 2 // Copyright (C) 2017 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 // 16 17 cc_library { 18 name: "libese-hw-nxp-pn80t-common", 19 proprietary: true, 20 defaults: ["libese-defaults"], 21 srcs: ["pn80t/common.c"], 22 shared_libs: [ 23 "liblog", 24 "libese", 25 "libese-teq1", 26 "libese-sysdeps", 27 ], 28 local_include_dirs: ["include"], 29 export_include_dirs: ["include"], 30 target: { 31 darwin: { 32 enabled: false, 33 }, 34 }, 35 } 36 37 cc_defaults { 38 name: "pn80t_platform", 39 proprietary: true, 40 defaults: ["libese-api-defaults"], 41 target: { 42 darwin: { 43 enabled: false, 44 }, 45 }, 46 shared_libs: [ 47 "liblog", 48 "libese", 49 "libese-teq1", 50 "libese-sysdeps", 51 ], 52 static_libs: ["libese-hw-nxp-pn80t-common"], 53 } 54 55 cc_library { 56 name: "libese-hw-nxp-pn80t-spidev", 57 defaults: ["pn80t_platform"], 58 srcs: ["pn80t/linux_spidev.c"], 59 } 60 61 cc_library { 62 name: "libese-hw-nxp-pn80t-nq-nci", 63 defaults: ["pn80t_platform"], 64 srcs: ["pn80t/nq_nci.c"], 65 } 66