commit | a94e4ca2c619930e94e41abb94e4cdd3bfda8a0b | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Tue Jul 03 15:59:48 2018 +0100 |
committer | David Brazdil <dbrazdil@google.com> | Tue Jul 03 17:10:54 2018 +0100 |
tree | 0ea489ff8b063cdcddc913f4e70e5b27edb9e771 | |
parent | a9966c7c60e5f2e266b61821d392abff3af2a7e3 [diff] |
Make classes.jar the output of uninstallable Soong Java modules The soong_java_prebuilt.mk file used to assume that if a Soong module defines a dex jar, it is the output of the module and the module is installable. This may now not be true if the module uses 'compile_dex' to define a secondary build rule for a dex jar. If the module is not installable (LOCAL_UNINSTALLABLE_MODULE=true), do not attempt to preopt and copy classes.jar to the modules output destination. Bug: 79409988 Test: on related CL Change-Id: Ica958ac793e09a0e52125448b44e7cd36e7f35d5
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.