Project-ARTist / meta

Meta repository for matters related to more than one repository or even the whole project as such.
2 stars 0 forks source link

`boot.oat` compilation support (AOSP build time) #17

Closed schrnz closed 6 years ago

schrnz commented 6 years ago

This issue aims for supporting the compilation of the boot.oat and boot.art files that resemble the Zygote pre-loaded classes since the introduction of ART.

To the best of my knowledge, the two image files are compiled in two different scenarios:

  1. when compiling AOSP, the initial boot files are created
  2. after a system upgrade

In this issue, we are focusing on the system-centric deployment path here where we compile AOSP with art and ARTist replacing the original art repository at build time (scenario 1). Chances are scenario 2 will follow naturally and is omitted here (harder to test). If you feel this is something you require for using ARTist for your project(s), feel free to open an own issue for that.

Distinguishing whether dex2oat is invoked at compile time or on the device (#16) is a blocker because of the filesystem helper that requires proper paths to be set up.

Affected Projects