commit | d855a72ebe9f77a3c32e45228d339b98a85d3b0b | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Tue Feb 12 15:52:36 2019 -0800 |
committer | Dan Willemsen <dwillemsen@google.com> | Tue Feb 12 15:52:36 2019 -0800 |
tree | ac130f969f1d77b77940e658f64d47720beadf9e | |
parent | 5436c7e5833c9df14f3f8dcd3c49f9a48418e8b5 [diff] |
Support loading only approved vendorsetup.sh files Very few vendorsetup.sh files are needed anymore, since add_lunch_combo has been deprecated. So add a way so that only approved vendorsetup.sh files can be loaded into the shell, and others will be skipped. This further limits the amount of code that can run outside the build sandbox, and makes this list more visible to tree maintainers before they're used instead of after. Test: no allowed-vendorsetup_sh-files Test: empty allowed-vendorsetup_sh-files Test: one file in allowed-vendorsetup_sh-files Test: two files in allowed-vendorsetup_sh-files Test: non-present file in allowed-vendorsetup_sh-files Change-Id: Ia23d1c9d11a7295d5be5abd10cf56edbdec80483
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.