Commit Graph
11 Commits
Author SHA1 Message Date
kevinjeon-g b6a13df431 Update Android compilers (D8, dex2oat) (#6506)
D8: 8.2.47, 8.3.36, 8.3.37
dex2oat: 34.13, 34.14, 34.15, 34.16
2024-06-07 20:37:30 -05:00
kevinjeon-g bf91208c97 Support Android API stubs (#6514)
Updates the d8 and dex2oat compiler implementations so that android.jar
is included in the classpath for javac/kotlinc.
2024-06-07 19:18:46 -05:00
kevinjeon-g b94781ab48 Add profile support for dex2oat. (#6382)
dex2oat supports profile-guided compilation. In addition to taking dex
code as an input, it can take a profile as another input, to guide the
compilation. The profile determines which methods need to be compiled,
how calls can be inlined, and so on.

Because Compiler Explorer doesn't support multiple input files, the
profile is added as a comment block in the Java/Kotlin source code. A
post-processor extracts the profile from the comment block into a
separate file, in order to input it to dex2oat.
2024-04-29 20:17:24 -05:00
kevinjeon-g 137ed94704 Simplify Android compiler properties (#6334)
updates intermediate compiler exe input to refer to the compiler's
getInfo().exe so that paths don't need to be hardcoded in properties.
2024-04-13 10:35:21 -05:00
kevinjeon-g 5cabe8af72 Update dex2oat (34.11) (#6174) 2024-02-24 19:11:26 +01:00
kevinjeon-g e5313c77f9 Update D8 versions (up to 8.2.42) (#6138)
This change adds recent D8 versions (8.1.72, 8.2.33, 8.2.42). Properties
for D8 have been reformatted to use groups in order to avoid duplication
of java/kotlin references.
2024-02-19 17:56:47 -06:00
Patrick Quist 3ea8205fb6 mark dex2oat latest as nightly 2024-01-24 14:07:30 +01:00
kevinjeon-g 6c31805a94 Add artArtifactDir to Android config files (#6011)
This was present in the default properties files for android-java and
android-kotlin but missing for the amazon properties files.
2024-01-16 22:12:35 -06:00
kevinjeon-g 2f6a7328b2 Add support for dex2oat (latest) (#5916)
Adds Dex2OatCompiler, which applies to the Android Java and Android
Kotlin languages. Dex2OatCompiler runs on .dex files output by
D8Compiler, which in turn runs on .class files output by JavaCompiler or
KotlinCompiler. A parser has been added for dex2oat optimization passes.
2024-01-15 15:15:05 -06:00
Patrick Quist 6579ff999b fix android-d8 compiler ids (#5931) 2024-01-01 20:56:36 +01:00
kevinjeon-g 7efe253f5f Add support for Android D8 (8.1.56) (#5756)
Adds D8Compiler, which applies to the Android Java and Android Kotlin
languages. D8Compiler instantiates a JavaCompiler or KotlinCompiler
using the java/kotlin dependencies' paths for D8 in the infra repo.

compiler-finder.ts has been updated to allow for duplicate compiler IDs
for 'android-java' and 'android-kotlin', as it is expected that the
compilers used for these languages is the same.
2023-12-04 19:35:56 -06:00