diff options
author | 2023-10-25 15:17:11 +0000 | |
---|---|---|
committer | 2023-10-25 16:50:41 +0000 | |
commit | 4b9f618a76f016513b744eab99afb694a15c1df3 (patch) | |
tree | b6b95b482a62431e8c2014797ac5d82556060614 /java/resourceshrinker_test.go | |
parent | c2d3ffcae3a91871d3e0bb5ac8b1ffbdd76cd46c (diff) |
Don't minimize debug information if module explicitly asks for it
In some configurations (for ex: go, auto) we minimize debug information
to reduce disk and memory usage. However some tests need the debug
information to work as expected. If a test explicitly requests for debug
information by passing "-g" to javac flags don't add "-g:source,lines"
to minimize debug information. Javac gives priority to -g:source,lines
and doesn't respect the order. So check if there is a -g flag before
adding flags to minimize debug information.
Test: atest CtsJvmtiRunTest1912HostTestCases android.jvmti.cts.JvmtiHostTest1912#testJvmti
Change-Id: I45e0f5fa9e79c16c2ff6e9413941a9a637753653
Diffstat (limited to 'java/resourceshrinker_test.go')
0 files changed, 0 insertions, 0 deletions