bigbiff | 91bd7a7 | 2021-01-03 17:33:01 -0500 | [diff] [blame] | 1 | bootstrap_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 | |
| 15 | libguitwrp_defaults { |
| 16 | name: "libguitwrp_defaults" |
| 17 | } |
| 18 | |
| 19 | cc_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", |
bigbiff | d81833a | 2021-01-17 11:06:57 -0500 | [diff] [blame^] | 34 | "bootable/recovery/gui/include", |
bigbiff | 91bd7a7 | 2021-01-03 17:33:01 -0500 | [diff] [blame] | 35 | "bootable/recovery/twrpinstall", |
| 36 | "bootable/recovery/twrpinstall/include", |
| 37 | "bootable/recovery/libpixelflinger/include", |
bigbiff | d81833a | 2021-01-17 11:06:57 -0500 | [diff] [blame^] | 38 | "bootable/recovery/minuitwrp/include", |
bigbiff | 91bd7a7 | 2021-01-03 17:33:01 -0500 | [diff] [blame] | 39 | "bionic", |
| 40 | "system/core/base/include", |
| 41 | "system/core/include", |
bigbiff | d81833a | 2021-01-17 11:06:57 -0500 | [diff] [blame^] | 42 | "external/freetype/include", |
| 43 | "external/libpng" |
bigbiff | 91bd7a7 | 2021-01-03 17:33:01 -0500 | [diff] [blame] | 44 | |
| 45 | ], |
bigbiff | d81833a | 2021-01-17 11:06:57 -0500 | [diff] [blame^] | 46 | srcs: [ |
bigbiff | 91bd7a7 | 2021-01-03 17:33:01 -0500 | [diff] [blame] | 47 | "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: [ |
bigbiff | d81833a | 2021-01-17 11:06:57 -0500 | [diff] [blame^] | 84 | "libotautil", |
| 85 | "libpng" |
bigbiff | 91bd7a7 | 2021-01-03 17:33:01 -0500 | [diff] [blame] | 86 | ] |
bigbiff | 673c7ae | 2020-12-02 19:44:56 -0500 | [diff] [blame] | 87 | } |