blob: 294b7477b42c86dff3fdadbeb1e63c9c35c54ca4 [file] [log] [blame]
bigbiff673c7ae2020-12-02 19:44:56 -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 include_dirs: [
24 "external/libpng",
25 "external/zlib",
26 "system/core/include",
27 "external/freetype/include",
28 "external/libcxx/include",
29 "bootable/recovery/twrpinstall/include",
30 "bootable/recovery/libpixelflinger/include"
31 ],
32 srcs: [
33 "graphics.cpp",
34 "graphics_fbdev.cpp",
35 "resources.cpp",
36 "truetype.cpp",
37 "graphics_utils.cpp",
38 "events.cpp"
39 ],
40 shared_libs: [
41 "libft2",
42 "libz",
43 "libc",
44 "libcutils",
45 "libpng",
46 "libutils",
47 "libc++",
48 "libcutils",
49 "liblog",
50 ],
51 static_libs: ["libpixelflinger_twrp"]
52}