commit | 206971459d4c2dbbc050a289ed121a79e13a881c | [log] [tgz] |
---|---|---|
author | Cole Faust <colefaust@google.com> | Wed Sep 06 18:10:43 2023 -0700 |
committer | Cole Faust <colefaust@google.com> | Wed Sep 06 18:13:27 2023 -0700 |
tree | 8204ff68cd65277be47d61401ccc832a5befa417 | |
parent | 2462269f1ffd2f0a2c8da4932309b21bc2baabb3 [diff] |
Fix $(PROGUARD_DICT_ZIP) builds Previously, when building the proguard dict zip, we got a lot of warnings like these, and the files were always rebuilt: ``` [ 39% 9/23] Copy symbols with mapping: out/target/common/obj/APPS/HTMLViewer_intermediates/proguard_dictionary ninja: Missing `restat`? An output file is older than the most recent input: output: out/target/common/obj/APPS/HTMLViewer_intermediates/proguard_dictionary.textproto input: out/soong/.intermediates/packages/apps/HTMLViewer/HTMLViewer/android_common/e10894d3da5db41239526c9048962355/proguard_dictionary ``` For some reason kati wasn't adding `restat=true` on these ninja rules. Adding $(4) to KATI_RESTAT fixes it for some reason. Test: m dist repeatedly doesn't give the restat warnings Change-Id: Ie02526b3ab127f42bdc2db350d2dc468e7888fe2
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.