blob: e5b97d8aff768cbb010005972a35dee32db4789e [file] [log] [blame]
bigbiff91bd7a72021-01-03 17:33:01 -05001bootstrap_go_package {
2 name: "soong-libguitwrp_defaults",
3 pkgPath: "bootable/recovery/gui",
4 deps: [
5 "soong",
6 "soong-android",
7 "soong-cc"
8 ],
9 srcs: [
10 "libguitwrp_defaults.go"
11 ],
12 pluginFor: ["soong_build"]
13}
14
15libguitwrp_defaults {
16 name: "libguitwrp_defaults"
17}
18
19cc_library_static {
20 name: "libguitwrp",
21 defaults: ["libguitwrp_defaults"],
22 cflags: [
23 "-fno-strict-aliasing",
24 "-Wno-implicit-fallthrough",
25 "-D_USE_SYSTEM_ZIPARCHIVE"
26 ],
27 include_dirs: [
28 "bootable/recovery/crypto/scrypt/lib/util",
29 "bootable/recovery/otautil/include",
30 "bootable/recovery/install/include",
31 "system/core/libziparchive/include",
32 "bootable/recovery/recovery_ui/include",
33 "bootable/recovery/fuse_sideload/include",
bigbiffd81833a2021-01-17 11:06:57 -050034 "bootable/recovery/gui/include",
bigbiff91bd7a72021-01-03 17:33:01 -050035 "bootable/recovery/twrpinstall",
36 "bootable/recovery/twrpinstall/include",
37 "bootable/recovery/libpixelflinger/include",
bigbiffd81833a2021-01-17 11:06:57 -050038 "bootable/recovery/minuitwrp/include",
bigbiff91bd7a72021-01-03 17:33:01 -050039 "bionic",
40 "system/core/base/include",
41 "system/core/include",
bigbiffd81833a2021-01-17 11:06:57 -050042 "external/freetype/include",
43 "external/libpng"
bigbiff91bd7a72021-01-03 17:33:01 -050044
45 ],
bigbiffd81833a2021-01-17 11:06:57 -050046 srcs: [
bigbiff91bd7a72021-01-03 17:33:01 -050047 "gui.cpp",
48 "resources.cpp",
49 "pages.cpp",
50 "text.cpp",
51 "image.cpp",
52 "action.cpp",
53 "console.cpp",
54 "fill.cpp",
55 "button.cpp",
56 "checkbox.cpp",
57 "fileselector.cpp",
58 "progressbar.cpp",
59 "animation.cpp",
60 "object.cpp",
61 "slider.cpp",
62 "slidervalue.cpp",
63 "listbox.cpp",
64 "keyboard.cpp",
65 "input.cpp",
66 "blanktimer.cpp",
67 "partitionlist.cpp",
68 "mousecursor.cpp",
69 "scrolllist.cpp",
70 "patternpassword.cpp",
71 "textbox.cpp",
72 "terminal.cpp",
73 "twmsg.cpp"
74 ],
75 shared_libs: [
76 "libminuitwrp",
77 "libc",
78 "libstdc++",
79 "libaosprecovery",
80 "libselinux",
81 "libziparchive"
82 ],
83 static_libs: [
bigbiffd81833a2021-01-17 11:06:57 -050084 "libotautil",
85 "libpng"
bigbiff91bd7a72021-01-03 17:33:01 -050086 ]
bigbiff673c7ae2020-12-02 19:44:56 -050087}