mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
- Set callback on JNI, since Java class cant be sent through, use the ndk backend to implement callback and send to swapon()
28 lines
606 B
Text
28 lines
606 B
Text
cc_library_shared {
|
|
name: "libStorageHelper",
|
|
defaults: ["eureka_defaults"],
|
|
cflags: [
|
|
"-Wall",
|
|
"-Wextra",
|
|
"-Wno-unused-parameter",
|
|
"-Werror",
|
|
],
|
|
srcs: ["Storage.cpp"],
|
|
header_libs: ["jni_headers"],
|
|
static_libs: ["libc++fs"],
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "libSwapCallback",
|
|
defaults: ["eureka_defaults"],
|
|
srcs: [
|
|
"SwapCallbackImpl.cpp",
|
|
"SwapCallbackNative.cpp",
|
|
],
|
|
header_libs: ["jni_headers"],
|
|
shared_libs: [
|
|
"vendor.eureka.hardware.parts-V1-ndk",
|
|
"libbase",
|
|
"libbinder_ndk",
|
|
],
|
|
}
|