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.
Distinguishing whether the current compilation is happening as a part of the AOSP build (creating the initial
boot.oat
andboot.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