Files
build_soong/java
Colin Cross 8484082fad 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
2023-10-03 18:27:28 +00:00
..
2023-07-14 11:24:54 -07:00
2023-03-21 08:13:25 -07:00
2023-09-26 15:06:50 -04:00
2023-08-18 15:43:56 +00:00
2022-08-17 10:43:13 -07:00
2023-05-19 20:31:32 +00:00
2023-01-20 17:05:14 -05:00
2023-09-20 09:53:39 -07:00
2023-09-29 10:24:13 +10:00