Skip to content

Commit

Permalink
Enable Displaying lunch menu for A15
Browse files Browse the repository at this point in the history
This patch will set the TARGET_RELEASE version and
enable lunch menu options list.
TARGET_RELEASE needs to be updated based on new AOSP
updates.

Tests Done: source and lunch

Tracked-On: OAM-121983
Signed-off-by: Tanuj Tekriwal <[email protected]>
  • Loading branch information
tanujtekriwal authored and sysopenci committed Sep 17, 2024
1 parent 1e12f1a commit 94f7554
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions vendorsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,12 @@ function lunch
}

# Get the exact value of a build variable.
function get_build_var()
function _get_build_var_cached()
{
# Set the TARGET_RELEASE variable to the release_config for
# which we want to build CELADON. It should be one among
# $(TOP)/build/release/release_configs/*
TARGET_RELEASE=ap3a
if [ "$1" = "COMMON_LUNCH_CHOICES" ]
then
valid_targets=`mixinup -t`
Expand All @@ -46,7 +50,8 @@ function get_build_var()
array=(${t/-/ })
target=${array[0]}
if [[ "${valid_targets}" =~ "$target" ]]; then
LUNCH_MENU_CHOICES+=($t)
tgt=$target-$TARGET_RELEASE-${array[1]}
LUNCH_MENU_CHOICES+=($tgt)
fi
done
echo ${LUNCH_MENU_CHOICES[@]}
Expand Down

0 comments on commit 94f7554

Please sign in to comment.