Establish native Linux ARM64 Android CI and verification gates (#94)
Android ARM verification / rust (push) Successful in 50m6s
Android ARM verification / android (push) Successful in 1h33m57s
Dependency security audit / rustsec (push) Successful in 21s

This commit is contained in:
hugo committed 2026-10-09 05:02:59 +02:00
1 parent 1abd75282e
commit 66b1d4a4c4
29 files changed
+1882 -56

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env python3
"""Adapt AGP's map argument to the pinned native ARM64 AAPT2 syntax."""
import os
from pathlib import Path
import sys
def arguments(args):
result = []
for arg in args:
if arg.startswith("--resource-path-shortening-map="):
option, value = arg.split("=", 1)
result.extend((option, value))
else:
result.append(arg)
return result
if __name__ == "__main__":
binary = Path(os.environ["ANDROID_HOME"]) / "native-arm64/build-tools/aapt2"
os.execv(binary, [str(binary), *arguments(sys.argv[1:])])