blob: 7a5610337169b473f7717109ce8da12845f332b8 [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",
22 defaults: ["libminuitwrp_defaults"],
23 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",
32 "bootable/recovery/twrpinstall/include",
33 "bootable/recovery/libpixelflinger/include",
34 "bootable/recovery/minuitwrp/include",
35 "bootable/recovery/gui/include"
36 ],
37 srcs: [
38 "graphics.cpp",
39 "graphics_fbdev.cpp",
40 "resources.cpp",
41 "truetype.cpp",
42 "graphics_utils.cpp",
43 "events.cpp"
44 ],
45 shared_libs: [
46 "libft2",
47 "libz",
48 "libc",
49 "libcutils",
50 "libpng",
51 "libutils",
52 "libc++",
53 "libcutils",
54 "liblog",
55 "libbase",
nebrassy76224bd2021-04-05 11:52:44 +020056 "libsync",
57 "libbinder_ndk"
bigbiffd81833a2021-01-17 11:06:57 -050058 ],
59 static_libs: ["libpixelflinger_twrp"]
60}