commit | 379f7f0ef66eea13854566feed4573454f5b7235 | [log] [tgz] |
---|---|---|
author | patricktu <patricktu@google.com> | Mon May 27 18:48:21 2019 +0800 |
committer | patricktu <patricktu@google.com> | Fri Jun 14 10:47:18 2019 +0800 |
tree | 3d0196b5f81dff98be77dd86e9fa0cc97b9a7138 | |
parent | 56bfae640280ed73126f98cb7204e7c2e7b3d7ea [diff] |
AIDEGen: Collect the classes.jar of the prebuilt modules into module-info.json Current information is not enough if the prebuilt modules are depend on AAR libs Therefore, AIDEGen has to collect the classes.jar of the prebuilt modules from build system. Build module-info.json without this change: Build time: 1m55.001s File size: 14,918,354 Bytes Build module-info.json with this change: Build time: 1m56.292s File size: 15,577,031 Bytes Bug: 132768299 Test: 1. Checkout the internal master branch 2. Patch this CL 3. m -j out/target/product/generic_x86_64/module-info.json 4. Open the module-info.json 5. For verifying soong_java_prebuilt.mk, check the classes.jar of module prebuilt-google-play-* exists. e.g. "prebuilt-google-play-...": { ... "classes_jar": [ "out/target/common/obj/JAVA_LIBRARIES/ prebuilt-google-..._intermediates/classes.jar" ] } 5. For verifying java_prebuilt_internal.mk, check the classes.jar of module ink exists. e.g. "ink": { ... "classes_jar": [ "out/target/common/obj/JAVA_LIBRARIES/ink_intermediates/ classes.jar" ] } Change-Id: I09518c92260db47d2686493fa13951f316159d13
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.