commit | 1ded0a1b189fd750375eb675fbbb775405ceffd4 | [log] [tgz] |
---|---|---|
author | Bob Badour <bbadour@google.com> | Fri Dec 03 17:16:14 2021 -0800 |
committer | Bob Badour <bbadour@google.com> | Mon Dec 06 16:38:08 2021 -0800 |
tree | 81b7c839ac9c63fd234b4930d48c40573b776e4a | |
parent | fa739da0202fd42ac05032084ee6ce210cb3992d [diff] |
compliance package: dumpresolutions package to read, consume, and analyze license metadata and dependency graph. Includes the below command-line tool: dumpresolutions outputs the resulting set of resolutions after the bottom-up and top-down resolves, or after joining 1 or more condition walks. Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Test: m systemlicense Test: m dumpgraph; out/soong/host/linux-x86/dumpgraph ... Test: m dumpresolutions; out/soong/host/linux-x86/dumpresolutions ... where ... is the path to the .meta_lic file for the system image. In my case if $ export PRODUCT=$(realpath $ANDROID_PRODUCT_OUT --relative-to=$PWD) ... can be expressed as: ${PRODUCT}/gen/META/lic_intermediates/${PRODUCT}/system.img.meta_lic Change-Id: I9869400126cd7ad4b7376b0bab31b46aad732f5d
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.