1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "hardware_st_secure_element_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["hardware_st_secure_element_license"],
8}
9
10cc_library_shared {
11
12    name: "ese_spi_st",
13    defaults: ["hidl_defaults"],
14    proprietary: true,
15
16    srcs: [
17        "SpiLayerDriver.cc",
18        "SpiLayerInterface.cc",
19        "SpiLayerComm.cc",
20        "StEseApi.cc",
21        "T1protocol.cc",
22        "utils-lib/Atp.cc",
23        "utils-lib/Iso13239CRC.cc",
24        "utils-lib/Tpdu.cc",
25        "utils-lib/Utils.cc",
26        "utils-lib/ese_config.cc",
27        "utils-lib/config.cc",
28        "utils-lib/android_logmsg.cc",
29        "utils-lib/DataMgmt.cc",
30    ],
31
32    export_include_dirs: ["utils-lib"],
33    cflags: [
34        "-DANDROID",
35        "-DBUILDCFG=1",
36        "-Wall",
37        "-Werror",
38    ],
39
40    shared_libs: [
41        "libcutils",
42        "libhardware",
43        "libhidlbase",
44        "libutils",
45        "liblog",
46        "libbase",
47    ],
48}
49