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_defaults { 11 name: "ese_spi_st_defaults", 12 defaults: ["hidl_defaults"], 13 srcs: [ 14 "SpiLayerDriver.cc", 15 "SpiLayerInterface.cc", 16 "SpiLayerComm.cc", 17 "StEseApi.cc", 18 "T1protocol.cc", 19 "utils-lib/Atp.cc", 20 "utils-lib/Iso13239CRC.cc", 21 "utils-lib/Tpdu.cc", 22 "utils-lib/Utils.cc", 23 "utils-lib/ese_config.cc", 24 "utils-lib/config.cc", 25 "utils-lib/android_logmsg.cc", 26 "utils-lib/DataMgmt.cc", 27 ], 28 cflags: [ 29 "-DANDROID", 30 "-DBUILDCFG=1", 31 "-Wall", 32 "-Werror", 33 ], 34} 35 36ese_spi_st_libs = [ 37 "libcutils", 38 "liblog", 39 "libbase", 40] 41 42cc_library_shared { 43 name: "ese_spi_st", 44 defaults: ["ese_spi_st_defaults"], 45 proprietary: true, 46 export_include_dirs: ["utils-lib"], 47 shared_libs: ese_spi_st_libs, 48} 49 50cc_library_static { 51 name: "ese_spi_st_static", 52 defaults: ["ese_spi_st_defaults"], 53 export_include_dirs: [".", "utils-lib"], 54 static_libs: ese_spi_st_libs, 55 whole_static_libs: ["libcutils"], 56} 57