summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jared Duke <jdduke@google.com> 2023-09-22 16:49:22 +0000
committer Jared Duke <jdduke@google.com> 2023-09-22 17:19:43 +0000
commitfb64d4454bccba98897f517dc854c01b72dab0fe (patch)
treef192d52f982b609fc610d109b50f761638f666d7 /libs/androidfw/StringPool.cpp
parent0466da7abb1df092c41f8d0d3d67266f1f748a41 (diff)
Preserve debug info for unoptimized services.jar
A recent change enabled very basic stripping of services.jar for the unoptimized path where OPTIMIZE_SYSTEM_JAVA=false, avoiding some unnecessary bloat from permissions deps. However, by enabling R8 for this path, it implicitly enabled compilation with `--release`, which strips debug info. Explicitly set `--debug` for this scenario to ensure debug info is kept. Also update the associated comments to reflect more recent changes to this condition. Test: OPTIMIZE_SYSTEM_JAVA=false m services Bug: 298311479 Change-Id: If04075c9bb7d4200b26ec8dc622f42500a312f80
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions