commit | 54b325df14e72e7fc8e3f3449e8f7fbec731c2f2 | [log] [tgz] |
---|---|---|
author | Bob Badour <bbadour@google.com> | Mon Sep 12 19:53:23 2022 -0700 |
committer | Bob Badour <bbadour@google.com> | Tue Sep 13 17:21:40 2022 +0000 |
tree | 43033f34ec28c7123ed87e6d92c7c957d9448d5d | |
parent | 28078172fe4ea52e5cf46239bb4fec8561ce5346 [diff] |
Normalize target path for license dependencies. If not normalized the same as declare-license-metadata, two rules get generated instead of one rule with both license text and deps. Test: m droid dist Test: build/soong/soong_ui.bash --make-mode TARGET_PRODUCT=sdk TARGET_BUILD_VARIANT=userdebug sdk dist sdk_repo Change-Id: I3a8f2d3825c8c0183049fa12b14ace9b54066a01 Merged-in: I3a8f2d3825c8c0183049fa12b14ace9b54066a01
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.