co-authored by: SebaUbuntu <barezzisebastiano@gmail.com> Change-Id: Ifaa0af4cb0fe0dee7d2a9ad4c58a5ede5ce46d59
61 lines
1.3 KiB
Plaintext
61 lines
1.3 KiB
Plaintext
bootstrap_go_package {
|
|
name: "soong-libminuitwrp_defaults",
|
|
pkgPath: "bootable/recovery/minuitwrp",
|
|
deps: [
|
|
"soong",
|
|
"soong-android",
|
|
"soong-cc"
|
|
],
|
|
srcs: [
|
|
"libminuitwrp_defaults.go",
|
|
"../soong/makevars.go"
|
|
],
|
|
pluginFor: ["soong_build"]
|
|
}
|
|
|
|
libminuitwrp_defaults {
|
|
name: "libminuitwrp_defaults"
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "libminuitwrp",
|
|
defaults: ["libminuitwrp_defaults"],
|
|
cflags: [
|
|
"-DTWRES=\"/twres/\""
|
|
],
|
|
include_dirs: [
|
|
"external/libpng",
|
|
"external/zlib",
|
|
"system/core/include",
|
|
"external/freetype/include",
|
|
"external/libcxx/include",
|
|
"bootable/recovery/twrpinstall/include",
|
|
"bootable/recovery/libpixelflinger/include",
|
|
"bootable/recovery/minuitwrp/include",
|
|
"bootable/recovery/gui/include"
|
|
],
|
|
srcs: [
|
|
"graphics.cpp",
|
|
"graphics_fbdev.cpp",
|
|
"resources.cpp",
|
|
"truetype.cpp",
|
|
"graphics_utils.cpp",
|
|
"events.cpp"
|
|
],
|
|
shared_libs: [
|
|
"libft2",
|
|
"libz",
|
|
"libc",
|
|
"libcutils",
|
|
"libpng",
|
|
"libutils",
|
|
"libc++",
|
|
"libcutils",
|
|
"liblog",
|
|
"libbase",
|
|
"libsync",
|
|
"libbinder_ndk"
|
|
],
|
|
static_libs: ["libpixelflinger_twrp"]
|
|
}
|