49a4e9b52e
and shared libs. If a prebuilt module file is a symlink in the .intermediates tree it is preserved when copied to the final install location. This preserves symlinks to prebuilt binaries, so that they are run from their prebuilt source location and can find libraries in relative paths from there. Symlinks are converted to absolute, to not fail if they are relative in the source tree. Test: m clean && m droid dist checkbuild with and without the change, then compare the lists of symlinks in the out/ trees Test: build/soong/soong_ui.bash --make-mode \ TARGET_PRODUCT=crosshatch_hwasan TARGET_BUILD_VARIANT=userdebug \ droid SANITIZE_TARGET=hwaddress \ continuous_instrumentation_tests_api_coverage \ continuous_native_tests device-tests platform_tests check that libclang_rt.hwasan_static-aarch64-android.a isn't a symlink in out/target/product/crosshatch/obj Bug: 145934348 Change-Id: I7600e5b0754f8ea6cd0ffc8e1ba6d39153f182aa |
||
---|---|---|
common | ||
core | ||
packaging | ||
target | ||
tests | ||
tools | ||
.gitignore | ||
Changes.md | ||
CleanSpec.mk | ||
Deprecation.md | ||
OWNERS | ||
README.md | ||
Usage.txt | ||
buildspec.mk.default | ||
envsetup.sh | ||
help.sh | ||
navbar.md | ||
rbesetup.sh | ||
tapasHelp.sh |
README.md
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.