Skip to content

Commit

Permalink
Update build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
imbroglius authored Aug 16, 2024
1 parent d3f7e95 commit db26e71
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,16 @@ BB=android-14.0.0_r61

initRepos() {
echo "--> Initializing workspace"
repo init -u https://android.googlesource.com/platform/manifest -b android-14.0.0_r61 --git-lfs
repo init -u https://android.googlesource.com/platform/manifest -b android-14.0.0_r55 --git-lfs
echo

#echo "--> Preparing local manifest"
#if [ -d "$LMD" ]; then
#echo "Deleting old local manifests"
#rm -r $LMD
#fi

echo "Fetching new local manifests"
echo "--> Preparing local manifest"
mkdir -p .repo/local_manifests
cp $BL/build/default.xml .repo/local_manifests/default.xml
cp $BL/build/remove.xml .repo/local_manifests/remove.xml
echo

}

syncRepos() {
echo "--> Syncing repos"
repo sync -c --force-sync --no-clone-bundle --no-tags -j4 || repo sync -c --force-sync --no-clone-bundle --no-tags -j4
Expand Down

0 comments on commit db26e71

Please sign in to comment.