commit | 36b5d1cd47c5f54406c0e01dbf04af649d42f0df | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Fri Feb 15 12:59:09 2019 -0800 |
committer | Colin Cross <ccross@android.com> | Wed Feb 20 21:46:15 2019 -0800 |
tree | efbfab97b17d00592860dc417f2ba424a09b8c7b | |
parent | 5b8e3837d2f7da8713d112437904b1f1c9eae14a [diff] |
Update calls to dexpreopt_gen dexpreopt_gen now requires a -out_dir argument, and does not need DexPath, StripInputPath and StripOutputPath set. Also use paths to Soong binaries for dex2oat, profman and aapt so that they can be loaded as Path objects in Soong, and let Soong handle the default for BootImageProfiles. This reapplies I97b1865fd98d5108d9c63ff7a90a5591c7622526 with fixes to disable preopt for Soong-only builds when the global dexpreopt.config doesn't exist. Test: m checkbuild Change-Id: I5af9b749235823b7e1cfcfc55e121bfec413fb2f
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.