From b10c452940dc40efad8d203cdb5cd15bb263e273 Mon Sep 17 00:00:00 2001 From: DarthJabba9 Date: Mon, 2 Aug 2021 18:37:20 +0100 Subject: [PATCH] Empty the vts makefile so that there is no need to run 'repo sync' twice Change-Id: I1070d7cb93e48b458a1d719490d3c527c7c316f1 --- build/envsetup.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/envsetup.sh b/build/envsetup.sh index 5c2ce9c..6c91704 100755 --- a/build/envsetup.sh +++ b/build/envsetup.sh @@ -145,3 +145,8 @@ if [ -d $(gettop)/vendor/qcom/sdclang ]; then export SDCLANG_CONFIG="vendor/qcom/sdclang/sdclang.json" export SDCLANG_AE_CONFIG="vendor/qcom/sdclang/sdclangAE.json" fi + +# Empty the vts makefile +if [ -s $(gettop)/frameworks/base/services/core/xsd/vts/Android.mk ]; then + echo -n "" > $(gettop)/frameworks/base/services/core/xsd/vts/Android.mk +fi