Home | History | Annotate | Download | only in nxp
      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     vendor: true,
     20     debug: {
     21         cflags: ["-DLOG_NDEBUG=0"],
     22     },
     23     srcs: ["pn80t/common.c"],
     24     shared_libs: ["liblog", "libese", "libese-teq1"],
     25     local_include_dirs: ["include"],
     26     export_include_dirs: ["include"],
     27     target: {
     28         darwin: {
     29           enabled: false,
     30         },
     31     },
     32 }
     33 
     34 cc_defaults {
     35     name: "pn80t_platform",
     36     vendor: true,
     37     target: {
     38       darwin: {
     39           enabled: false,
     40       },
     41     },
     42     cflags: ["-fvisibility=internal"],
     43     local_include_dirs: ["include"],
     44     export_include_dirs: ["include"],
     45     shared_libs: ["liblog", "libese", "libese-teq1"],
     46     static_libs: ["libese-hw-nxp-pn80t-common"],
     47 }
     48 
     49 cc_library {
     50     name: "libese-hw-nxp-pn80t-spidev",
     51     vendor: true,
     52     defaults: ["pn80t_platform"],
     53     srcs: ["pn80t/linux_spidev.c"],
     54 }
     55 
     56 cc_library {
     57     name: "libese-hw-nxp-pn80t-nq-nci",
     58     vendor: true,
     59     defaults: ["pn80t_platform"],
     60     srcs: ["pn80t/nq_nci.c"],
     61 }
     62