dotnet/runtime

[Android] Implement post-build symbol stripping

Open

#115.717 geöffnet am 19. Mai 2025

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (1 zugewiesene Person)C# (17.886 Stars) (5.445 Forks)batch import
area-Infrastructuregood first issueos-android

Beschreibung

Description

Build machines run out of disk space without symbol stripping. However, enabling symbol stripping removes debug symbols, which makes the app non-debuggable and breaks adb shell run-as access to internal storage. For test infrastructure, we need both: debuggable builds and stripped binaries.

Tasks

  • Keep the app debuggable during build
  • Strip debug symbols from native libraries after the build step

Contributor Guide