Repository navigation
build: Node 26 danmu lite ICU profile and stripped Android runtime - #7
Merged
Merged
Conversation
Keep GBK/Big5 decoding, Chinese collation and NFKC normalization in both flavors. Remove optional features unused by the core, align iOS linking and boot smokes, and regenerate the recipe with verified tree hashes. Assisted-by: Codex Signed-off-by: fogtape <lilixu3210@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The previous lite configuration disabled ICU, breaking danmu_api's GBK/Big5 decoding, NFKC normalization and Chinese sorting. Full now embeds complete ICU data; lite keeps the complete ICU API mode but embeds a reviewed danmu data profile that retains the needed locale families and every Node TextDecoder web encoding. Node 26 lite also removes Temporal and FFI.
Lite also removes Amaro, Inspector, SQLite/Web Storage, SEA packaging and native object-print helpers. Keep networking/TLS/crypto, fetch/Undici native WASM, compression, filesystem/module loading and the existing Worker/child-process APIs. The profile retains en/zh/yue/ja/ko regional families, Unicode normalization and IDNA for all scripts, all time zones and segmentation data; other locale formatting may fall back. Future dependencies requesting additional locale-specific behavior must extend the profile.
Android lite SDK copies remove non-runtime symbols/debug data with the NDK's llvm-strip. The helper verifies all dynamic symbols remain identical and requires node::Start; it runs for direct builds and CI cache hits. Full's symbol policy stays unchanged. ICU package generation fails if required resources or converter dependencies disappear. The bundled host genrb buffer accessor is corrected so the newly required host tool compiles.
Validation:
No published release assets or either app's pinned URL/checksum are changed.