commit | 2404c4a30eb70ccef23d3798192c4681ba50af82 | [log] [tgz] |
---|---|---|
author | Sam Lewis <samclewis@google.com> | Mon Sep 23 20:06:02 2024 +0000 |
committer | Sam Lewis <samclewis@google.com> | Mon Sep 23 20:06:02 2024 +0000 |
tree | 2adc3b47ffed3063e4cbe86e1c7eb15ec3362360 | |
parent | 4c068a1b6703dd50ae1167ebf479b530b4ac0879 [diff] |
Move cog setup logic into shell_utils so it can be used when any of these commands are run: - `m` - `lunch` - `source build/envsetup.sh` this will set up the symlink properly regardless of the order of commands so users don't get stuck with a broken build Bug: 362337892 Change-Id: Ibd3b262107dfc1024cd83ab8aeb33a299fb0ffb2
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.