commit | ffa1d578192c541c0919c79137aae73997dabe0f | [log] [tgz] |
---|---|---|
author | Huang Jianan <huangjianan@oppo.com> | Wed Sep 08 18:11:22 2021 +0800 |
committer | Huang Jianan <huangjianan@oppo.com> | Thu Sep 09 14:18:59 2021 +0800 |
tree | 8ef3ce9f6f82ccb3b9fcb52fc0ef764e7120bad3 | |
parent | c01c341b6ae631028295299cf79168a12ae4f680 [diff] |
Avoid repeated building of erofs image The image size of erofs is only affected by the content of the input file, so it doesn't care about the input image_size. In addition, the build time of erofs image is longer than ext4 due to compression. Only execute mkfs once to reduce unnecessary time consumption. Bug: 199248596 Test: erofs image build faster than before Signed-off-by: Huang Jianan <huangjianan@oppo.com> Change-Id: I23a4e640d5066485de3fea0f808998045e716d1f
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.