package { // See: http://go/android-license-faq // A large-scale-change added 'default_applicable_licenses' to import // all of the 'license_kinds' from "hardware_st_secure_element2_license" // to get the below license kinds: // SPDX-license-identifier-Apache-2.0 // SPDX-license-identifier-GPL-2.0 default_applicable_licenses: ["hardware_st_secure_element2_license"], } cc_defaults { name: "thales_aidl_defaults", cflags: [ "-DANDROID", "-DENABLE_LOGGING=1", "-DENABLE_DEBUG=1", "-Wno-unused-parameter", "-Wno-unused-private-field", "-Wno-error", "-Wreturn-type", ], shared_libs: [ "libbinder_ndk", "android.hardware.secure_element-V1-ndk", "android.hardware.secure_element.thales.libse", "libbase", "libcutils", "libhardware", "liblog", "libutils", ], } cc_binary { name: "android.hardware.secure_element-service.thales", relative_install_path: "hw", init_rc: ["android.hardware.secure_element_gto.rc"], vintf_fragments: ["android.hardware.secure_element_gto.xml"], vendor: true, srcs: [ "SecureElement.cpp", "GtoService.cpp", ], defaults: ["thales_aidl_defaults"], arch: { arm: { cflags: ["-DST_LIB_32"], }, }, } cc_binary { name: "android.hardware.secure_element-service.thales-ese2", relative_install_path: "hw", init_rc: ["android.hardware.secure_element_gto-ese2.rc"], vintf_fragments: ["android.hardware.secure_element_gto-ese2.xml"], vendor: true, srcs: [ "SecureElement.cpp", "GtoService-ese2.cpp", ], defaults: ["thales_aidl_defaults"], arch: { arm: { cflags: ["-DST_LIB_32"], }, }, } cc_binary { name: "android.hardware.secure_element-service.thales-st33", relative_install_path: "hw", init_rc: ["android.hardware.secure_element_gto-st33.rc"], vintf_fragments: ["android.hardware.secure_element_gto-st33.xml"], vendor: true, srcs: [ "SecureElement.cpp", "GtoService-st33.cpp", ], defaults: ["thales_aidl_defaults"], }