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

Distinguish between usage during AOSP build, as system compiler or as an app asset #16

Closed schrnz closed 6 years ago

schrnz commented 6 years ago

Distinguishing whether the current compilation is happening as a part of the AOSP build (creating the initial boot.oat and boot.art), during system boot (first & after OS upgrade) or at regular system runtime for app compilation (the ArtistGui path) is required for the filesystem helper to provide the appropriate paths (see TODO in this commit that closed Project-ARTist/ARTist#16). While it is obvious that the paths on an AOSP build machine and on the actual Android device differ, we also need to differentiate between system compiler and ArtistGui compilation because at boot time not all directories are accessible and we cannot assume that ArtistGui and its folder structure is created already.

Affected Projects