| commit | 49706bf71706afbea6e38318ef01c26ad9f1497f | [log] [tgz] |
|---|---|---|
| author | Martin Simard <msimard@google.com> | Mon Jul 07 10:27:00 2025 -0700 |
| committer | Martin Simard <msimard@google.com> | Mon Jul 07 10:27:00 2025 -0700 |
| tree | c6a8e9a0a27ceed3ecad3d0c034dd93eafe25b69 | |
| parent | 209d53ee9a1f721d63cfe55c6f9fda6d1a22498e [diff] |
Change the path of the Android output directory on creation when Cartfs is running. When Cartfs is running, the output directory will be created under /google/cartfs/mount/<worksapce name>/out. Additionally, lookup existing folders in cartfs and verify if the workspace still exists. If not, delete the folder in cartfs. This is needed until we have a better solution that will work for everyone. This is needed as part of the CoG acceleration plan, which uses Cartfs as the output directory to resolve some of the issues. Relevant docs: * go/cog-acceleration * go/cartfs * go/bescet-artfs-as-cog-symlink-target * Launch plan: go/buildhive-artfs-cog-out-dir-launch-plan BUG: 418985556 TESTED=Tested on cloud top with Cartfs running and not running. Change-Id: I3d761660ea15eb355e9e75ca5996f593b27f8dd0
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.