commit | eae45315cd3b3511e681eb808ac81f70ba4ba737 | [log] [tgz] |
---|---|---|
author | weisu <weisu@google.com> | Mon Dec 13 17:56:12 2021 +0000 |
committer | weisu <weisu@google.com> | Wed Dec 22 00:06:14 2021 +0000 |
tree | 99839dd4c6c8c85db7fa17fcb64df165d0a7e3db | |
parent | 3aec887b7eb2d89d6180895f334b4e2c146f5ed5 [diff] |
Write files in a temporary directory Avoid writing test files in the build output directory which fails when run with Bazel. This happens because Bazel's sandboxing environment ensures that the test's working directory is unwritable. See https://docs.bazel.build/versions/main/sandboxing.html for more information. Bug: 209687942 Test: atest --bazel-mode zipalign_tests Test: atest zipalign_tests Change-Id: Ie22f464830c1ffe4d38a94a16dbd39dafa7fe317
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.