commit | 928fc2c1ef0c9e005f1a41c239027f1795924449 | [log] [tgz] |
---|---|---|
author | Ulya Trafimovich <skvadrik@google.com> | Tue Mar 16 12:14:22 2021 +0000 |
committer | Ulya Trafimovich <skvadrik@google.com> | Fri Mar 19 11:01:39 2021 +0000 |
tree | 9bc99a7add47e98df46a05ac5ccdba477dd1cf96 | |
parent | 2bf587713ba1a8e157c6d3b37f92ae58a64e8cac [diff] |
manifest_check.py: translate library names using dexpreopt configs. Java modules that are defined in makefiles are not processed in topological order, so it is necessary to communicate information from dependencies via dexpreopt.config files. This has already been done in make/core/dex_preopt_config_merger.py, and now manifest_check.py also needs to get library names from their dexpreopt.config files. This is to accommodate Java libraries which name differs from their modules name. Soong properties `uses_libs`/`optional_uses_libs` and makefile vars `LOCAL_USES_LIBRARIES`/`LOCAL_OPTIONAL_USES_LIBRARIES` contain module names, not library names, so it is necessary to translate them when comparing against library names in the manifest. Bug: 132357300 Test: lunch cf_x86_64_phone-userdebug && m Change-Id: I769b508a927d87a5ffbabf9aa45eebfb954b8bd2
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.