commit | a7bb8532f6592419082c2ee97a3a35b9ad6c7678 | [log] [tgz] |
---|---|---|
author | Jooyung Han <jooyung@google.com> | Fri Dec 01 16:39:48 2023 +0900 |
committer | Jooyung Han <jooyung@google.com> | Fri Dec 01 16:39:48 2023 +0900 |
tree | 65ab9ed68bb568f36cb7a1e1978b635ff1121219 | |
parent | 1a9dd1c7def9c01c41d9e53c42916e60c3fab89e [diff] |
Use SOONG_STUB_VENDOR_LIBRARIES for vendor linker.config.pb STUB_LIBRARIES lists all stub libraries including "system" libraries. There can be a library that provides "stub" only for "system" variant while its vendor variant doesn't. (e.g. libz). In such cases, using STUB_LIBRARIES will result a wrong "provide" list in vendor/etc/linker.config.pb. So, instead, use SOONG_STUB_VENDOR_LIBRARIES which only lists stub libraries that are installed in /vendor. Bug: 313806237 Test: m & cvd start Test: $OUT/vendor/etc/linker.config.pb doesn't list libz.so Change-Id: If0f2089594bda5f799fd495f80a27493553cb4e1
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.