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_element2_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    //   SPDX-license-identifier-GPL-2.0
8    default_applicable_licenses: ["hardware_st_secure_element2_license"],
9}
10
11cc_library_shared {
12    name: "android.hardware.secure_element.thales.libse",
13    vendor: true,
14    srcs: [
15        "src/checksum.c",
16        "src/iso7816_t1.c",
17        "src/libse-gto.c",
18        "src/spi.c",
19        "src/transport.c",
20        "src/log.c",
21    ],
22
23    local_include_dirs: [
24        "src",
25    ],
26
27    cflags: [
28        "-DANDROID",
29        "-DENABLE_LOGGING=1",
30        "-DENABLE_DEBUG=1",
31        "-Wno-unused-parameter",
32        "-Wno-unused-private-field",
33        "-Wno-error",
34        "-Wreturn-type",
35    ],
36
37    shared_libs: [
38        "libbase",
39        "libcutils",
40        "libhardware",
41        "liblog",
42        "libutils",
43    ],
44
45}
46