blob: bfd0942d1b583a360f2e684cd694cf0333e5ed66 [file] [log] [blame]
bigbiffd81833a2021-01-17 11:06:57 -05001bootstrap_go_package {
2 name: "soong-libminuitwrp_defaults",
3 pkgPath: "bootable/recovery/minuitwrp",
4 deps: [
5 "soong",
6 "soong-android",
7 "soong-cc"
8 ],
9 srcs: [
bigbiff6e0ca7d2021-02-06 19:15:16 -050010 "libminuitwrp_defaults.go",
11 "../soong/makevars.go"
bigbiffd81833a2021-01-17 11:06:57 -050012 ],
13 pluginFor: ["soong_build"]
14}
15
16libminuitwrp_defaults {
17 name: "libminuitwrp_defaults"
18}
19
20cc_library_shared {
21 name: "libminuitwrp",
nebrassyf7ec29b2023-09-18 13:23:21 +020022 defaults: ["libminuitwrp_defaults", "twrp_defaults"],
bigbiffd81833a2021-01-17 11:06:57 -050023 cflags: [
24 "-DTWRES=\"/twres/\""
25 ],
26 include_dirs: [
27 "external/libpng",
28 "external/zlib",
29 "system/core/include",
30 "external/freetype/include",
31 "external/libcxx/include",
bigbiff08eca092023-12-26 19:35:47 -050032 "bootable/recovery",
bigbiffd81833a2021-01-17 11:06:57 -050033 "bootable/recovery/twrpinstall/include",
34 "bootable/recovery/libpixelflinger/include",
35 "bootable/recovery/minuitwrp/include",
36 "bootable/recovery/gui/include"
37 ],
38 srcs: [
39 "graphics.cpp",
40 "graphics_fbdev.cpp",
41 "resources.cpp",
42 "truetype.cpp",
43 "graphics_utils.cpp",
44 "events.cpp"
45 ],
46 shared_libs: [
47 "libft2",
48 "libz",
49 "libc",
50 "libcutils",
51 "libpng",
52 "libutils",
53 "libc++",
54 "libcutils",
55 "liblog",
56 "libbase",
nebrassy76224bd2021-04-05 11:52:44 +020057 "libsync",
58 "libbinder_ndk"
bigbiffd81833a2021-01-17 11:06:57 -050059 ],
60 static_libs: ["libpixelflinger_twrp"]
61}