1 2package { 3 // See: http://go/android-license-faq 4 // A large-scale-change added 'default_applicable_licenses' to import 5 // all of the 'license_kinds' from "hardware_nxp_secure_element_license" 6 // to get the below license kinds: 7 // SPDX-license-identifier-Apache-2.0 8 default_applicable_licenses: ["hardware_nxp_secure_element_license"], 9} 10 11cc_binary { 12 relative_install_path: "hw", 13 name: "android.hardware.secure_element_snxxx@1.2-service", 14 init_rc: ["1.2/android.hardware.secure_element_snxxx@1.2-service.rc"], 15 proprietary: true, 16 defaults: ["hidl_defaults"], 17 srcs: [ 18 "1.2/NxpEseService.cpp", 19 "1.2/SecureElement.cpp", 20 "1.2/VirtualISO.cpp", 21 "extns/impl/NxpEse.cpp", 22 "1.2/OsuHal/src/OsuHalExtn.cpp", 23 ], 24 25 shared_libs: [ 26 "android.hardware.secure_element@1.0", 27 "android.hardware.secure_element@1.1", 28 "android.hardware.secure_element@1.2", 29 "ese_spi_nxp_snxxx", 30 "libbase", 31 "libcutils", 32 "libdl", 33 "libhardware", 34 "libhidlbase", 35 "liblog", 36 "libutils", 37 "libchrome", 38 "vendor.nxp.nxpese@1.0", 39 "vendor.nxp.nxpnfc@2.0", 40 "android.hardware.nfc@1.0", 41 "android.hardware.nfc@1.1", 42 "android.hardware.nfc@1.2", 43 ], 44 45 local_include_dirs: [ 46 "libese-spi/common/include", 47 "libese-spi/p73/common", 48 "libese-spi/p73/inc", 49 "libese-spi/p73/lib", 50 "libese-spi/p73/pal", 51 "libese-spi/p73/pal/spi", 52 "libese-spi/p73/utils", 53 "libese-spi/p73/spm", 54 "libese-spi/src/include", 55 "1.2/OsuHal/inc", 56 ], 57 58 include_dirs: [ 59 "hardware/nxp/secure_element/snxxx/extns/impl", 60 ], 61 cflags: [ 62 "-DANDROID", 63 "-DJCOP_VER_3_1=1", 64 "-DJCOP_VER_3_2=2", 65 "-DJCOP_VER_3_3=3", 66 "-DJCOP_VER_4_0=4", 67 "-DJCOP_VER_5_x=5", 68 "-DBUILDCFG=1", 69 "-DNXP_EXTNS=TRUE", 70 "-DNFC_NXP_ESE_VER=JCOP_VER_5_x", 71 "-Wall", 72 "-Werror", 73 "-fexceptions", 74 ], 75 76} 77