commit | 8bfd3c7483ec611f12316a42bed28421e9a4efeb | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Fri Jul 20 15:20:28 2018 -0700 |
committer | Tao Bao <tbao@google.com> | Fri Jul 20 16:05:36 2018 -0700 |
tree | dc673e7d25e5594b243d86a5cd226b0fa853e679 | |
parent | 80810b9d367d843ac6b8acd54f275481c54ae67c [diff] |
releasetools: Rename the ramdisk_dir in prop dict to root_dir. This property indicates the path to the root directory (i.e. TARGET_ROOT_OUT at build time, or ROOT/ in a target_files.zip). build_image.py will only use this property when building a target using system_root_image. Under such a configuration, files under this dir never land into a ramdisk, but as part of system.img. This CL renames the property name to avoid confusion. Note that with this change releasetools keeps working with older target_files zips that contain 'ramdisk_dir'. Because common.py doesn't read the value of that property, but sets it to ROOT/ directly. Test: `m dist` on aosp_marlin-userdebug. Test: `m dist` on aosp_angler-userdebug. Test: Run add_img_to_target_files.py with a new target_files.zip and an old target_files.zip respectively. Change-Id: Ie9e19dd17d8c2abb4c4a97449e436774d5dd2a36
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.