dotnet/runtime

[Android] Implement post-build symbol stripping

Ouverte

#115 717 ouverte le 19 mai 2025

 (3 commentaires) (0 réaction) (1 personne assignée)C# (5 445 forks)batch import
area-Infrastructuregood first issueos-android

Métriques du dépôt

Stars
 (17 886 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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

Guide contributeur