commit | c63a2b36d74dadb51a9cdcc71ad470111ebe3f02 | [log] [tgz] |
---|---|---|
author | Jiakai Zhang <jiakaiz@google.com> | Mon Jun 12 11:18:12 2023 +0100 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Mon Jun 12 16:28:51 2023 +0000 |
tree | 6a6d589d1f46193b2cb6d9738dca1747b4e714ef | |
parent | dac9d66a75c83c5aafb43a9bbd4df8db59c3132a [diff] |
Avoid using soong_zip's "-e" flag for boot.zip. aosp/23658853 changes boot.zip, which need to be cherry-picked to UDC. It uses soong_zip's "-e" flag to specify the filename to use in boot.zip for METADATA.txt. However, the "-e" flag doesn't exist on UDC. This change uses an alternative approach to avoid using the "-e" flag. Before this change, the contents were written to out/dist/boot.zip.METADATA.txt and then passed to soong_zip with "-e" to rename to file to "METADATA.txt". After this change, the contents are written to out/dist/boot_zip/METADATA.txt and then passed to soong_zip with "-j" to remove the directory name. Bug: 286381070 Test: m dist out/dist/boot.zip (on udc-dev) (cherry picked from https://android-review.googlesource.com/q/commit:34914f620bcc0339104ef0360f6a30492f407409) Merged-In: I769de5194b5716f05e5352f4efd635a70ba0b891 Change-Id: I769de5194b5716f05e5352f4efd635a70ba0b891
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.