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_binary {
12    name: "[email protected]",
13    relative_install_path: "hw",
14    init_rc: ["[email protected]"],
15    vendor: true,
16    defaults: ["hidl_defaults"],
17    srcs: [
18        "SecureElement.cpp",
19        "GtoService.cpp",
20    ],
21
22    shared_libs: [
23        "[email protected]",
24        "android.hardware.secure_element.thales.libse",
25        "libbase",
26        "libcutils",
27        "libhardware",
28        "libhidlbase",
29        "liblog",
30        "libutils",
31    ],
32
33    cflags: [
34        "-DANDROID",
35        "-DENABLE_LOGGING=1",
36        "-DENABLE_DEBUG=1",
37        "-Wno-unused-parameter",
38        "-Wno-unused-private-field",
39        "-Wno-error",
40        "-Wreturn-type",
41    ],
42}
43
44cc_binary {
45    name: "[email protected]",
46    relative_install_path: "hw",
47    init_rc: ["[email protected]"],
48    vendor: true,
49    defaults: ["hidl_defaults"],
50    srcs: [
51        "SecureElement.cpp",
52        "GtoService_ese2.cpp",
53    ],
54
55    shared_libs: [
56        "[email protected]",
57        "android.hardware.secure_element.thales.libse",
58        "libbase",
59        "libcutils",
60        "libhardware",
61        "libhidlbase",
62        "liblog",
63        "libutils",
64    ],
65
66    cflags: [
67        "-DANDROID",
68        "-DENABLE_LOGGING=1",
69        "-DENABLE_DEBUG=1",
70        "-Wno-unused-parameter",
71        "-Wno-unused-private-field",
72        "-Wno-error",
73        "-Wreturn-type",
74    ],
75}
76