ANDROID: GKI: Add support for a GKI_BUILD_CONFIG_FRAGMENT

To provide more flexibility in debugging GKI builds, create a mechanism
for adding an optional file which may override some of the build vars,
such as POST_DEFCONFIG_CMDS.

Bug: 171343315
Signed-off-by: J. Avila <elavila@google.com>
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
Change-Id: I9f4a7bad2c19bcdb3b494c97d7c1eea5c7f311ba
This commit is contained in:
J. Avila 2020-10-22 20:35:41 +00:00 committed by Jeevan Shriram
parent 6bc1235c7a
commit e32ef04390

View File

@ -1,3 +1,6 @@
DEFCONFIG=gki_defconfig
POST_DEFCONFIG_CMDS="check_defconfig"
if [ -n "${GKI_BUILD_CONFIG_FRAGMENT}" ]; then
source ${GKI_BUILD_CONFIG_FRAGMENT}
fi