commit | 667c7534ed1ec0a2f91cee280c2d16205b62932c | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Fri Jul 06 10:13:59 2018 -0700 |
committer | Tao Bao <tbao@google.com> | Fri Jul 06 10:15:13 2018 -0700 |
tree | 18adddcaf2d2f99024c8cb11191425ed9803ed32 | |
parent | 8c01b71e2d32f642bdf225dc5725d3e22da9a8b8 [diff] |
releasetools: Add dict-like setter to BuildInfo. BuildInfo already has dict-like getters. This CL adds the matching setter method to keep it backward compatible with device-specific scripts that expect a dict. It also adds items() method that allows iterating the items. Bug: 111087332 Test: python -m unittest test_ota_from_target_files.BuildInfoTest Test: Generate an incremental OTA that sets info_dict in device-specific releasetools script. Change-Id: Idd033f98a9186740f9da1a300d4c2bdddd9c1345
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.