commit | 696bb33676f0cabcfa64ccec2536d1ff45e1d218 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Fri Aug 17 16:27:01 2018 -0700 |
committer | Tao Bao <tbao@google.com> | Tue Aug 21 10:30:49 2018 -0700 |
tree | 832ea70a8832b53fd222172c64c5ceb7a0c5dc45 | |
parent | e56d112bd0afcd7b3371161accd02a3af7972521 [diff] |
Install recovery etc files to recovery/root/system/etc. They used to be installed under recovery/root/etc. This CL moves the files to the new location and creates a symlink from /etc to /system/etc (done by the rule in system/core/rootdir). This gives similar layout between normal boot and recovery, and allows installing prebuilt_etc files with Soong (`recovery_available: true`). As part of the change, we no longer need the whitelisting rule for mke2fs.conf. Bug: 112780007 Test: Build with other changes in the topic (aosp_taimen-userdebug). Check the generated files under recovery (/etc being a symlink to /system/etc). Test: Boot into recovery. Verify basic functionalities (`adb shell` and `adb sideload`, factory reset). Test: `build/soong/build_test.bash --dist` Change-Id: Ibb6dea6f179a339f0c2d0fd8ba05ec0085b79a12
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.