blob: f58b19f5e6b9afe3152a69e68d4a0a70c2bdc3f4 [file] [log] [blame]
cc_library_shared {
system_ext_specific: true,
name: "libTeeServiceJni",
srcs: [
"jni/native-lib-jni.cpp",
"jni/TeeCallback.cpp",
],
cflags: [
"-UNDEBUG",
"-DLOG_ANDROID",
],
shared_libs: [
"liblog",
"libutils",
"libcutils",
"liblog",
"libbinder",
"libdl",
"libgui",
"libui",
"libselinux",
"libhidlbase",
"libhidlmemory",
"android.hidl.allocator@1.0",
"android.hidl.memory@1.0",
"vendor.trustonic.tee@1.1",
],
header_libs: [
"jni_headers",
],
static_libs: [
"libteeservice_server",
],
}
android_app {
name: "TeeService",
platform_apis: true,
certificate: "platform",
system_ext_specific: true,
optimize: {
enabled: false,
},
srcs: [
"java/**/*.java",
],
jni_libs: [
"libTeeServiceJni"
],
static_libs: [
"android.hidl.base-V1.0-java",
"vendor.trustonic.tee.tui-V1.0-java",
],
dex_preopt: {
enabled: false,
},
}