commit | c817845ea5da2686a192a1a29f8bf98ae460c980 | [log] [tgz] |
---|---|---|
author | Bob Badour <bbadour@google.com> | Mon Jan 31 13:05:53 2022 -0800 |
committer | Bob Badour <bbadour@google.com> | Mon Jan 31 14:16:23 2022 -0800 |
tree | 82d75cd904e0bd232f6af78dfe14a8ff6af6c16b | |
parent | 91af68b1e10daa8ca1cf2433430eafe5c079a36f [diff] |
license metadata reverse trace Introduce the below command-line tool: rtrace outputs a list of targets and conditions causing one or more projects or target nodes to require sharing to resolve a restricted condition. Bug: 68860345 Bug: 151177513 Bug: 151953481 Bug: 213388645 Bug: 210912771 Test: m all Test: m systemlicense Test: m rtrace; out/soong/host/linux-x85/rtrace -rtrace=... where ... is a project or license metadata file followed by 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: system/core ${PRODUCT}/gen/META/lic_intermediates/${PRODUCT}/system.img.meta_lic or ${PRODUCT}/gen/META/lic_intermediates/${PRODUCT}/system.img.meta_lic ${PRODUCT}/gen/META/lic_intermediates/${PRODUCT}/system.img.meta_lic Change-Id: I40a0586699d9b8a8dd2bd4ba26756c9649ebf964
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.