Files
oxmc f6176009b1 Add recovery_ui and recovery_toolkit scaffolding (first draft, not build-tested)
Stages TWRP's GUI engine and standalone tooling as PawletOS-owned modules
instead of a bootable/recovery fork, per the plugin-architecture finding in
NOTES-ota-recovery-ab.md: stock recovery_main.cpp already dlopen()s
librecovery_ui_ext.so and dlsym()s make_device() from it at runtime, so the
UI layer doesn't require touching stock bootable/recovery at all. Confirmed
via source grep that recovery.cpp/install.cpp have zero references into the
partition manager/backup engine/GUI code and vice versa.

recovery_ui/: TWRP's gui/, minuitwrp/, libpixelflinger/ (copied verbatim,
GPL-3.0), plus a new device/ providing PawletTwrpUI (a ScreenRecoveryUI
subclass) and make_device() — written from scratch against stock's
RecoveryUI/ScreenRecoveryUI virtual-method contract, since TWRP's own fork
never ships a make_device() (every real TWRP device provides its own, and
no reference device tree was available to copy from). Top-level Android.bp
defines librecovery_ui_pawlet_twrp, the module TARGET_RECOVERY_UI_LIB should
point at. gui/Android.bp and minuitwrp/Android.bp had their include_dirs
rewritten for the new paths.

recovery_toolkit/: partition manager, backup engine (tar/digest/adbbu/apex),
filesystem/format support (exfat/dosfstools/gpt/fuse/mtp/crypto), scripting
(openrecoveryscript/orscmd/twrpinstall), shared helpers. Source only, no
Android.bp yet for any of it.

Known gap blocking recovery_ui from actually linking: gui/'s libguitwrp
depends on libaosprecovery, built from recovery_toolkit/helpers/twrp.cpp via
a Go Soong plugin (libaosprecovery_defaults.go) not yet ported. Neither repo
has been build-tested — no local AOSP build environment available in this
workspace. See each directory's README.md for a precise done/not-done
breakdown.
2026-07-11 16:34:35 -07:00

189 lines
5.1 KiB
C

/* config.h. Generated by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define if your system has a working basename */
/* #undef HAVE_BASENAME */
/* Define to 1 if you have the <ctype.h> header file. */
/* #undef HAVE_CTYPE_H */
/* Define to 1 if the system has the type `dev_t'. */
#define HAVE_DEV_T 1
/* Define if your system has a working dirname */
/* #undef HAVE_DIRNAME */
/* Define to 1 if your system has a working POSIX `fnmatch' function. */
#define HAVE_FNMATCH 1
/* Define to 1 if you have the <fnmatch.h> header file. */
#define HAVE_FNMATCH_H 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define to 1 if you have the `lchown' function. */
#define HAVE_LCHOWN 1
/* Define to 1 if you have the <libgen.h> header file. */
#define HAVE_LIBGEN_H 1
/* Define to 1 if you have the `z' library (-lz). */
#define HAVE_LIBZ 1
/* Define to 1 if the system has the type `major_t'. */
/* #undef HAVE_MAJOR_T */
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define to 1 if the system has the type `minor_t'. */
/* #undef HAVE_MINOR_T */
/* Define to 1 if the system has the type `nlink_t'. */
#define HAVE_NLINK_T 1
/* Define if your system has a working snprintf */
#define HAVE_SNPRINTF 1
/* Define to 1 if the system has the type `socklen_t'. */
#define HAVE_SOCKLEN_T 1
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define if you have the strdup function */
#define HAVE_STRDUP 1
/* Define to 1 if you have the `strftime' function. */
#define HAVE_STRFTIME 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define if you have the strlcpy function */
/* #undef HAVE_STRLCPY */
/* Define if you have the strmode function */
/* #undef HAVE_STRMODE */
/* Define if you have the strsep function */
#define HAVE_STRSEP 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if the system has the type `uint64_t'. */
#define HAVE_UINT64_T 1
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
*/
/* #undef MAJOR_IN_MKDEV */
/* Define to 1 if `major', `minor', and `makedev' are declared in
<sysmacros.h>. */
/* #undef MAJOR_IN_SYSMACROS */
/* Define as 1 if makedev expects three arguments */
/* #undef MAKEDEV_THREE_ARGS */
/* Define if you want to use the basename function */
#define NEED_BASENAME 1
/* Define if you want to use the dirname function */
#define NEED_DIRNAME 1
/* Define if you want to use the fnmatch function */
#define NEED_FNMATCH 1
/* Define if you want to use the makedev function */
#define NEED_MAKEDEV 1
/* Define if you want to use the snprintf function */
#define NEED_SNPRINTF 1
/* Define if you want to use the strdup function */
#define NEED_STRDUP 1
/* Define if you want to use the strlcpy function */
#define NEED_STRLCPY 1
/* Define if you want to use the strmode function */
#define NEED_STRMODE 1
/* Define if you want to use the strsep function */
#define NEED_STRSEP 1
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT ""
/* Define to the full name of this package. */
#define PACKAGE_NAME "libtar"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "libtar 1.2.11"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "libtar"
/* Define to the version of this package. */
#define PACKAGE_VERSION "1.2.11"
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define to 1 if on AIX 3.
System headers sometimes define this.
We just want to avoid a redefinition error message. */
#ifndef _ALL_SOURCE
/* # undef _ALL_SOURCE */
#endif
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
/* Define to `unsigned long' if not defined in system header files. */
/* #undef dev_t */
/* Define to `int' if <sys/types.h> doesn't define. */
/* #undef gid_t */
/* Define to `unsigned int' if not defined in system header files. */
#define major_t unsigned int
/* Define to `unsigned int' if not defined in system header files. */
#define minor_t unsigned int
/* Define to `int' if <sys/types.h> does not define. */
/* #undef mode_t */
/* Define to `unsigned short' if not defined in system header files. */
/* #undef nlink_t */
/* Define to `long' if <sys/types.h> does not define. */
/* #undef off_t */
/* Define to `unsigned' if <sys/types.h> does not define. */
/* #undef size_t */
/* Define to `unsigned long' if not defined in system header files. */
/* #undef socklen_t */
/* Define to `int' if <sys/types.h> doesn't define. */
/* #undef uid_t */
/* Define to `long long' if not defined in system header files. */
/* #undef uint64_t */