Slightly modified build_make env
Go to file
Luca Farsi c18da79d3f Determine if the build is in presubmit using build id
The current logic to determine if a build is pre or postsubmit is the
existence of the change_info file but this file also exists in
postsubmit, causing the build to break. Use the build ID as the
heuristic instead which should be more reliable.

Test: abtd run
Bug: 314171817
Change-Id: I9871eee71c0574583b528135dadd42e3f485a780
2024-01-22 14:56:13 -08:00
ci Determine if the build is in presubmit using build id 2024-01-22 14:56:13 -08:00
common math.mk supports larger number comparison 2023-10-30 10:58:25 +09:00
core Merge "Revert "symlink_outputs: Add .KATI_SYMLINK_OUTPUTS to build/make..."" into main 2024-01-19 19:38:57 +00:00
packaging
target Revert^2 "[CrashRecovery] Add module to BCP and SSCP" 2024-01-17 15:01:24 +00:00
tests Add test for b failing 2023-07-05 12:26:55 -07:00
tools Merge "Fix signing failures on targets with >4GB target_files" into main 2024-01-19 20:06:07 +00:00
.gitignore
banchanHelp.sh
buildspec.mk.default
Changes.md Revert^2 "Enable genrule sandboxing by default" 2023-10-18 22:50:28 +00:00
CleanSpec.mk Clean out old rustc compiler intermediates 2023-10-03 10:35:32 -07:00
cogsetup.sh Copy reclient binaries into the out directory itself 2023-09-28 17:46:59 +00:00
Deprecation.md
envsetup.sh Add banner announcing adevice when running builds. 2024-01-17 21:56:30 +00:00
help.sh
METADATA
navbar.md
OWNERS Remove lberki@google.com from OWNERS 2023-11-30 16:41:22 +00:00
PREUPLOAD.cfg
rbesetup.sh fix RE for metalava actions 2023-11-15 20:39:45 +00:00
README.md
shell_utils.sh
tapasHelp.sh
Usage.txt

Android Make Build System

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.