blob: ad664779a5ee7bde83a3f72f396a41f2eb1d8efa [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: [
10 "libminuitwrp_defaults.go"
11 ],
12 pluginFor: ["soong_build"]
13}
14
15libminuitwrp_defaults {
16 name: "libminuitwrp_defaults"
17}
18
19cc_library_shared {
20 name: "libminuitwrp",
21 defaults: ["libminuitwrp_defaults"],
22 cflags: [
23 "-DTWRES=\"/twres/\""
24 ],
25 include_dirs: [
26 "external/libpng",
27 "external/zlib",
28 "system/core/include",
29 "external/freetype/include",
30 "external/libcxx/include",
31 "bootable/recovery/twrpinstall/include",
32 "bootable/recovery/libpixelflinger/include",
33 "bootable/recovery/minuitwrp/include",
34 "bootable/recovery/gui/include"
35 ],
36 srcs: [
37 "graphics.cpp",
38 "graphics_fbdev.cpp",
39 "resources.cpp",
40 "truetype.cpp",
41 "graphics_utils.cpp",
42 "events.cpp"
43 ],
44 shared_libs: [
45 "libft2",
46 "libz",
47 "libc",
48 "libcutils",
49 "libpng",
50 "libutils",
51 "libc++",
52 "libcutils",
53 "liblog",
54 "libbase",
55 "libsync"
56 ],
57 static_libs: ["libpixelflinger_twrp"]
58}