summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2023-10-03 11:24:06 -0700
committer Colin Cross <ccross@android.com> 2023-10-03 18:27:28 +0000
commit8484082fadf858afbadf7919ac60af047dc01145 (patch)
tree31454a287804799f49f5e9fd3b9b911716a01dbf /java/java_test.go
parentb716ceb832680df341f1644bb7c8c6b18862ff99 (diff)
Don't create withres-withoutdex files for R8
The withres-withoutdex files were added in b/195558228 because D8 produced errors when given an input jar that contained both class and dex files: Error: com.android.tools.r8.internal.Cc: Cannot create android app from an archive 'out/soong/.intermediates/libcore/libcore-crypto-tests/android_common/withres/libcore-crypto-tests.jar' containing both DEX and Java-bytecode content It turns out R8 doesn't have this problem, it defaults to ignoring *.dex files unless the com.android.tools.r8.allowDexInputToR8 system property is set. Remove the withres-withoutdex files when using R8, but keep it in place for D8 for now. Bug: 302573555 Bug: 303264288 Bug: 303064127 Test: m checkbuild Test: m Calendar && m Calendar Test: m framework-minus-apex && m framework-minus-apex Change-Id: Ib6410f7fef6faf5913476c6423cdd27215c68c45
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions