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: [ |
bigbiff | 6e0ca7d | 2021-02-06 19:15:16 -0500 | [diff] [blame] | 10 | "libguitwrp_defaults.go", |
| 11 | "../soong/copy.go", |
| 12 | "../soong/makevars.go" |
bigbiff | 91bd7a7 | 2021-01-03 17:33:01 -0500 | [diff] [blame] | 13 | ], |
| 14 | pluginFor: ["soong_build"] |
| 15 | } |
| 16 | |
| 17 | libguitwrp_defaults { |
| 18 | name: "libguitwrp_defaults" |
| 19 | } |
| 20 | |
| 21 | cc_library_static { |
| 22 | name: "libguitwrp", |
nebrassy | f7ec29b | 2023-09-18 13:23:21 +0200 | [diff] [blame] | 23 | defaults: ["libguitwrp_defaults", "twrp_defaults"], |
bigbiff | 91bd7a7 | 2021-01-03 17:33:01 -0500 | [diff] [blame] | 24 | cflags: [ |
| 25 | "-fno-strict-aliasing", |
| 26 | "-Wno-implicit-fallthrough", |
bigbiff | 6e0ca7d | 2021-02-06 19:15:16 -0500 | [diff] [blame] | 27 | "-D_USE_SYSTEM_ZIPARCHIVE", |
| 28 | "-DTWRES=\"/twres/\"" |
bigbiff | 91bd7a7 | 2021-01-03 17:33:01 -0500 | [diff] [blame] | 29 | ], |
| 30 | include_dirs: [ |
| 31 | "bootable/recovery/crypto/scrypt/lib/util", |
| 32 | "bootable/recovery/otautil/include", |
| 33 | "bootable/recovery/install/include", |
nebrassy | 204e36e | 2021-11-14 23:27:51 +0100 | [diff] [blame] | 34 | "system/libziparchive/include", |
bigbiff | 91bd7a7 | 2021-01-03 17:33:01 -0500 | [diff] [blame] | 35 | "bootable/recovery/recovery_ui/include", |
| 36 | "bootable/recovery/fuse_sideload/include", |
bigbiff | d81833a | 2021-01-17 11:06:57 -0500 | [diff] [blame] | 37 | "bootable/recovery/gui/include", |
bigbiff | 91bd7a7 | 2021-01-03 17:33:01 -0500 | [diff] [blame] | 38 | "bootable/recovery/twrpinstall", |
| 39 | "bootable/recovery/twrpinstall/include", |
| 40 | "bootable/recovery/libpixelflinger/include", |
bigbiff | d81833a | 2021-01-17 11:06:57 -0500 | [diff] [blame] | 41 | "bootable/recovery/minuitwrp/include", |
bigbiff | 91bd7a7 | 2021-01-03 17:33:01 -0500 | [diff] [blame] | 42 | "bionic", |
nebrassy | 204e36e | 2021-11-14 23:27:51 +0100 | [diff] [blame] | 43 | "system/libbase/include", |
| 44 | "system/core/libcutils/include", |
bigbiff | 91bd7a7 | 2021-01-03 17:33:01 -0500 | [diff] [blame] | 45 | "system/core/include", |
bigbiff | d81833a | 2021-01-17 11:06:57 -0500 | [diff] [blame] | 46 | "external/freetype/include", |
| 47 | "external/libpng" |
bigbiff | 91bd7a7 | 2021-01-03 17:33:01 -0500 | [diff] [blame] | 48 | |
| 49 | ], |
bigbiff | d81833a | 2021-01-17 11:06:57 -0500 | [diff] [blame] | 50 | srcs: [ |
bigbiff | 91bd7a7 | 2021-01-03 17:33:01 -0500 | [diff] [blame] | 51 | "gui.cpp", |
| 52 | "resources.cpp", |
| 53 | "pages.cpp", |
| 54 | "text.cpp", |
| 55 | "image.cpp", |
| 56 | "action.cpp", |
| 57 | "console.cpp", |
| 58 | "fill.cpp", |
| 59 | "button.cpp", |
| 60 | "checkbox.cpp", |
| 61 | "fileselector.cpp", |
| 62 | "progressbar.cpp", |
| 63 | "animation.cpp", |
| 64 | "object.cpp", |
| 65 | "slider.cpp", |
| 66 | "slidervalue.cpp", |
| 67 | "listbox.cpp", |
| 68 | "keyboard.cpp", |
| 69 | "input.cpp", |
| 70 | "blanktimer.cpp", |
| 71 | "partitionlist.cpp", |
| 72 | "mousecursor.cpp", |
| 73 | "scrolllist.cpp", |
| 74 | "patternpassword.cpp", |
| 75 | "textbox.cpp", |
| 76 | "terminal.cpp", |
| 77 | "twmsg.cpp" |
| 78 | ], |
| 79 | shared_libs: [ |
| 80 | "libminuitwrp", |
| 81 | "libc", |
| 82 | "libstdc++", |
| 83 | "libaosprecovery", |
| 84 | "libselinux", |
| 85 | "libziparchive" |
| 86 | ], |
| 87 | static_libs: [ |
bigbiff | d81833a | 2021-01-17 11:06:57 -0500 | [diff] [blame] | 88 | "libotautil", |
| 89 | "libpng" |
bigbiff | 91bd7a7 | 2021-01-03 17:33:01 -0500 | [diff] [blame] | 90 | ] |
nebrassy | 204e36e | 2021-11-14 23:27:51 +0100 | [diff] [blame] | 91 | } |