commit | 60c664493242a1eeb7516f81682d54b94b27750d | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Tue May 01 19:07:27 2018 -0700 |
committer | Dan Willemsen <dwillemsen@google.com> | Tue May 01 21:15:35 2018 -0700 |
tree | 00e78044ee232ce5f68846de8936a09e7c2d86e2 | |
parent | 36bf0df48f916f4a64468ffaf6cb5f6b76dae2e5 [diff] |
Speed up a slow find command find .... -name oem\*.prop Kati can't emulate this command -- it can't currently handle backslashes in the middle of an argument, only at the beginning or end. So this falls back to actually calling find, which can take a few seconds if you've got a large vendor tree. Just switch all of these over to quoted arguments instead of escaping the *. Bug: 78020936 Test: Check out/soong.log for timing info Test: out/build-taimen.ninja is identical Change-Id: Ifde75948f677ad95107d9419a462649024f544b8
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.