From 4d7763209a9a20ef5fc15f525df675235cc985bb Mon Sep 17 00:00:00 2001 From: Homa Games <12762121+homa-games@users.noreply.github.com> Date: Sun, 4 Oct 2026 20:40:34 +0400 Subject: [PATCH] build: reduce Android artifact size strip symbol and DWARF tables from Android artifacts --- build/app/android.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/app/android.py b/build/app/android.py index 4d62b7f7..7be74dca 100644 --- a/build/app/android.py +++ b/build/app/android.py @@ -28,7 +28,9 @@ def build(self): "android", "-androidapi", "21", - "-ldflags=-checklinkname=0 -extldflags=-Wl,-z,max-page-size=16384", + "-trimpath", + "-ldflags=-checklinkname=0 -s -w -buildid= " + "-extldflags=-Wl,-z,max-page-size=16384", ] ) if ret.returncode != 0: