Remove empty rules for hostname and build_number These files are created by soong_ui and not by the primary ninja execution. Empty rules are currently added to the ninja file to prevent "Test for dangling rules" from flagging this as an error. In preparation for turning on "Test for dangling rules" check in `m --soong-only`, these files will be added to an allowlist in soong_ui's test_build.go. Therefore, we can clean these up now. Test: m checkbuild --soong-only Test: presubmits Bug: 394096939 Change-Id: I6fd3717fa52ff2461965c3d401860edfbc0cf57d
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.