blob: aa2bbc4135b5e0c22bb90b26db16362fbea35de4 [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",
34 "bootable/recovery/twrpinstall",
35 "bootable/recovery/twrpinstall/include",
36 "bootable/recovery/libpixelflinger/include",
37 "bionic",
38 "system/core/base/include",
39 "system/core/include",
40 "external/freetype/include"
41
42 ],
43 srcs: [
44 "gui.cpp",
45 "resources.cpp",
46 "pages.cpp",
47 "text.cpp",
48 "image.cpp",
49 "action.cpp",
50 "console.cpp",
51 "fill.cpp",
52 "button.cpp",
53 "checkbox.cpp",
54 "fileselector.cpp",
55 "progressbar.cpp",
56 "animation.cpp",
57 "object.cpp",
58 "slider.cpp",
59 "slidervalue.cpp",
60 "listbox.cpp",
61 "keyboard.cpp",
62 "input.cpp",
63 "blanktimer.cpp",
64 "partitionlist.cpp",
65 "mousecursor.cpp",
66 "scrolllist.cpp",
67 "patternpassword.cpp",
68 "textbox.cpp",
69 "terminal.cpp",
70 "twmsg.cpp"
71 ],
72 shared_libs: [
73 "libminuitwrp",
74 "libc",
75 "libstdc++",
76 "libaosprecovery",
77 "libselinux",
78 "libziparchive"
79 ],
80 static_libs: [
81 "libotautil"
82 ]
bigbiff673c7ae2020-12-02 19:44:56 -050083}