Home | History | Annotate | Download | only in src
      1 cc_library_shared {
      2     arch: {
      3         arm: {
      4             instruction_set: "arm",
      5         },
      6     },
      7     name: "libnfc-nci",
      8     shared_libs: [
      9         "libcutils",
     10         "liblog",
     11         "libdl",
     12         "libhardware",
     13         "libmetricslogger",
     14         "libpower",
     15         "libz",
     16         "libchrome",
     17         "libbase",
     18 
     19         // Treble configuration
     20         "libhidlbase",
     21         "libhidltransport",
     22         "libhwbinder",
     23         "libutils",
     24         "android.hardware.nfc (a] 1.0",
     25         "android.hardware.nfc (a] 1.1",
     26     ],
     27     static_libs: [
     28         "libnfcutils",
     29     ],
     30     cflags: [
     31         "-DBUILDCFG=1",
     32         "-Wall",
     33         "-Werror",
     34     ],
     35     local_include_dirs: [
     36         "include",
     37         "gki/ulinux",
     38         "gki/common",
     39         "nfa/include",
     40         "nfc/include",
     41     ],
     42     srcs: [
     43         "nfa/ce/*.cc",
     44         "nfa/dm/*.cc",
     45         "nfa/ee/*.cc",
     46         "nfa/hci/*.cc",
     47         "nfa/p2p/*.cc",
     48         "nfa/rw/*.cc",
     49         "nfa/sys/*.cc",
     50         "nfc/llcp/*.cc",
     51         "nfc/nci/*.cc",
     52         "nfc/ndef/*.cc",
     53         "nfc/nfc/*.cc",
     54         "nfc/tags/*.cc",
     55         "adaptation/*.cc",
     56         "gki/common/*.cc",
     57         "gki/ulinux/*.cc",
     58     ],
     59     product_variables: {
     60         debuggable: {
     61             cflags: [
     62                 "-DDCHECK_ALWAYS_ON"
     63             ],
     64         },
     65     },
     66 }
     67