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", |
| 23 | defaults: ["libguitwrp_defaults"], |
| 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", |
| 34 | "system/core/libziparchive/include", |
| 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", |
| 43 | "system/core/base/include", |
| 44 | "system/core/include", |
bigbiff | d81833a | 2021-01-17 11:06:57 -0500 | [diff] [blame] | 45 | "external/freetype/include", |
| 46 | "external/libpng" |
bigbiff | 91bd7a7 | 2021-01-03 17:33:01 -0500 | [diff] [blame] | 47 | |
| 48 | ], |
bigbiff | d81833a | 2021-01-17 11:06:57 -0500 | [diff] [blame] | 49 | srcs: [ |
bigbiff | 91bd7a7 | 2021-01-03 17:33:01 -0500 | [diff] [blame] | 50 | "gui.cpp", |
| 51 | "resources.cpp", |
| 52 | "pages.cpp", |
| 53 | "text.cpp", |
| 54 | "image.cpp", |
| 55 | "action.cpp", |
| 56 | "console.cpp", |
| 57 | "fill.cpp", |
| 58 | "button.cpp", |
| 59 | "checkbox.cpp", |
| 60 | "fileselector.cpp", |
| 61 | "progressbar.cpp", |
| 62 | "animation.cpp", |
| 63 | "object.cpp", |
| 64 | "slider.cpp", |
| 65 | "slidervalue.cpp", |
| 66 | "listbox.cpp", |
| 67 | "keyboard.cpp", |
| 68 | "input.cpp", |
| 69 | "blanktimer.cpp", |
| 70 | "partitionlist.cpp", |
| 71 | "mousecursor.cpp", |
| 72 | "scrolllist.cpp", |
| 73 | "patternpassword.cpp", |
| 74 | "textbox.cpp", |
| 75 | "terminal.cpp", |
| 76 | "twmsg.cpp" |
| 77 | ], |
| 78 | shared_libs: [ |
| 79 | "libminuitwrp", |
| 80 | "libc", |
| 81 | "libstdc++", |
| 82 | "libaosprecovery", |
| 83 | "libselinux", |
| 84 | "libziparchive" |
| 85 | ], |
| 86 | static_libs: [ |
bigbiff | d81833a | 2021-01-17 11:06:57 -0500 | [diff] [blame] | 87 | "libotautil", |
| 88 | "libpng" |
bigbiff | 91bd7a7 | 2021-01-03 17:33:01 -0500 | [diff] [blame] | 89 | ] |
bigbiff | 673c7ae | 2020-12-02 19:44:56 -0500 | [diff] [blame] | 90 | } |