commit | 8cbb845e37c559e79dc37d91a631a133e1a6d8f9 | [log] [tgz] |
---|---|---|
author | Bob Badour <bbadour@google.com> | Tue Feb 08 21:51:41 2022 -0800 |
committer | Bob Badour <bbadour@google.com> | Fri Feb 11 14:10:06 2022 -0800 |
tree | c222dcc92ce317d935e2bd78058e77712e94bf05 | |
parent | bcb81e74fe61950e2d1a8820af031c0055113120 [diff] |
Add macros for declaring copied file licenses. The PRODUCT_COPY_FILES is populated before definitions.mk mapping source files to installed files that get copied unchanged. Need to be able to declare license metadata for the copied files such that similarly named files in different projects can have different licenses. Need a macro to convert target names to their corresponding license metadata. Bug: 68860345 Bug: 151177513 Bug: 151953481 Bug: 213388645 Bug: 210912771 Test: m nothing Change-Id: Ic244b3525e72b6cd8c4c4305bf5ad430d6e24ccb
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.