commit | 5277d1015fa9b5b5e185d8f5eacf44b8094bb55b | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Tue Apr 17 23:47:21 2018 -0700 |
committer | Tao Bao <tbao@google.com> | Fri Apr 20 10:20:42 2018 -0700 |
tree | 8e00375561c11b9e941a90a917d04793055e1354 | |
parent | f4b893165d72e62353b1328c82b9b77fa0076e87 [diff] |
releasetools: Stop copying images from RADIO/ to IMAGES/. We've added support in brillo_update_payload that allows additionally looking for images under RADIO/ in the given target_files zips [1]. This avoids having duplicate radio images in target_files zips. Also adjust the unittest in test_ota_from_target_files.py to cover this path. As a result of this CL, the radio images will no longer appear in the image archive (i.e. <target>-img.zip) as well - they are less useful anyway because we have packed only the _updatable_ pieces that are part of full bootloader/radio images. Bug: 77218220 Test: `python -m unittest test_ota_from_target_files` Test: `python -m unittest test_add_img_to_target_files` Test: `m dist` produces the same full OTA package Test: Build marlin-userdebug in internal branch. Check the image zip. Change-Id: I05579480f0bb9ab90aaeecf75969ee29b6904ad6
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.