commit | 2bf587713ba1a8e157c6d3b37f92ae58a64e8cac | [log] [tgz] |
---|---|---|
author | Ulya Trafimovich <skvadrik@google.com> | Tue Mar 16 11:51:37 2021 +0000 |
committer | Ulya Trafimovich <skvadrik@google.com> | Fri Mar 19 11:00:51 2021 +0000 |
tree | 1a1c8e9375ff844f2175fcb13242df5bd1ce2e20 | |
parent | 5dcd959a90bc710e91b3e113c44d42b1c926f51e [diff] |
Consolidate manifest_check for different module types. Move manifest_check (a.k.a. verify_uses_libraries check) from makefiles for specific module types to common makefile dex_preopt_odex_install.mk, which is included by all Java modules that may require dexpreopt. If a modules locally disables dexpreopt, it still goes through manifest_check (unless dexpreopt is globally disabled or the module has no Java code). This CL allows to have manifest_check and dexpreopt in the same makefile (which is needed for a follow-up CL that will reuse dexpreopt variables for manifest_check). Bug: 132357300 Test: lunch cf_x86_64_phone-userdebug && m Change-Id: Ia217cfc247ae43d8fc716bfc1fe9dcce1d00aa7f
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.