[android, tools] remove unused XML strings; add script to find unused XML strings (#2777)

Signed-off-by: lizzie <lizzie@eden-emu.dev>
Co-authored-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2777
Reviewed-by: crueter <crueter@eden-emu.dev>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie 2025-10-19 04:57:47 +02:00 committed by crueter
parent a53823646c
commit df653d6ca4
No known key found for this signature in database
GPG key ID: 425ACD2D4830EBC6
27 changed files with 89 additions and 1800 deletions

View file

@ -8,6 +8,7 @@ Tools for Eden and other subprojects.
## Eden
- `find-unused-strings.pl`: Find unused strings (for Android XML files).
- `shellcheck.sh`: Ensure POSIX compliance (and syntax sanity) for all tools in this directory and subdirectories.
- `llvmpipe-run.sh`: Sets environment variables needed to run any command (or Eden) with llvmpipe.
- `optimize-assets.sh`: Optimize PNG assets with OptiPng.
@ -20,6 +21,12 @@ Tools for Eden and other subprojects.
- `clang-format.sh`: Runs `clang-format` on the entire codebase.
* Requires: clang
## Android
It's recommended to run these scritps after almost any Android change, as they are relatively fast and important both for APK bloat and CI.
- `unused-strings.sh`: Finds unused strings in `strings.xml` files.
- `stale-translations.sh`: Finds translated strings that aren't present in the source `strings.xml` file.
## Translations
- [Translation Scripts](./translations)