bigbiff | d81833a | 2021-01-17 11:06:57 -0500 | [diff] [blame] | 1 | bootstrap_go_package { |
| 2 | name: "soong-libminuitwrp_defaults", |
| 3 | pkgPath: "bootable/recovery/minuitwrp", |
| 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 | "libminuitwrp_defaults.go", |
| 11 | "../soong/makevars.go" |
bigbiff | d81833a | 2021-01-17 11:06:57 -0500 | [diff] [blame] | 12 | ], |
| 13 | pluginFor: ["soong_build"] |
| 14 | } |
| 15 | |
| 16 | libminuitwrp_defaults { |
| 17 | name: "libminuitwrp_defaults" |
| 18 | } |
| 19 | |
| 20 | cc_library_shared { |
| 21 | name: "libminuitwrp", |
| 22 | defaults: ["libminuitwrp_defaults"], |
| 23 | cflags: [ |
| 24 | "-DTWRES=\"/twres/\"" |
| 25 | ], |
| 26 | include_dirs: [ |
| 27 | "external/libpng", |
| 28 | "external/zlib", |
| 29 | "system/core/include", |
| 30 | "external/freetype/include", |
| 31 | "external/libcxx/include", |
| 32 | "bootable/recovery/twrpinstall/include", |
| 33 | "bootable/recovery/libpixelflinger/include", |
| 34 | "bootable/recovery/minuitwrp/include", |
| 35 | "bootable/recovery/gui/include" |
| 36 | ], |
| 37 | srcs: [ |
| 38 | "graphics.cpp", |
| 39 | "graphics_fbdev.cpp", |
| 40 | "resources.cpp", |
| 41 | "truetype.cpp", |
| 42 | "graphics_utils.cpp", |
| 43 | "events.cpp" |
| 44 | ], |
| 45 | shared_libs: [ |
| 46 | "libft2", |
| 47 | "libz", |
| 48 | "libc", |
| 49 | "libcutils", |
| 50 | "libpng", |
| 51 | "libutils", |
| 52 | "libc++", |
| 53 | "libcutils", |
| 54 | "liblog", |
| 55 | "libbase", |
nebrassy | 76224bd | 2021-04-05 11:52:44 +0200 | [diff] [blame] | 56 | "libsync", |
| 57 | "libbinder_ndk" |
bigbiff | d81833a | 2021-01-17 11:06:57 -0500 | [diff] [blame] | 58 | ], |
| 59 | static_libs: ["libpixelflinger_twrp"] |
| 60 | } |