diff --git a/tools/android_sdk/create_cipd_packages.sh b/tools/android_sdk/create_cipd_packages.sh index d88bd736ba320..99ee5140727ad 100755 --- a/tools/android_sdk/create_cipd_packages.sh +++ b/tools/android_sdk/create_cipd_packages.sh @@ -9,7 +9,7 @@ print_usage () { echo " - PATH_TO_SDK_DIR is the path to the sdk folder. If omitted, this defaults to" echo " your ANDROID_SDK_ROOT environment variable." echo "" - echo "This script downloads the packages specified in android_sdk_packages.txt and uploads" + echo "This script downloads the packages specified in packages.txt and uploads" echo "them to CIPD for linux, mac, and windows." echo "" echo "Manage the packages to download in 'packages.txt'. You can use" diff --git a/tools/create_ndk_cipd_package.sh b/tools/create_ndk_cipd_package.sh deleted file mode 100755 index 7651b195735c4..0000000000000 --- a/tools/create_ndk_cipd_package.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash - -# This script requires depot_tools to be on path. - -print_usage () { - echo "Usage: create_ndk_cipd_package.sh " - echo " where:" - echo " - PATH_TO_NDK_ASSETS is the path to the unzipped NDK folder" - echo " - PLATFORM_NAME is one of linux-amd64, mac-amd64, or windows-amd64" - echo " - VERSION_TAG is the version of the NDK, e.g. r19b" -} - -if [[ $3 == "" ]]; then - print_usage - exit 1 -fi - -if [[ ! -d "$1" ]]; then - echo "Directory $1 not found." - print_usage - exit 1 -fi - -if [[ $2 != "linux-amd64" && $2 != "mac-amd64" && $2 != "windows-amd64" ]]; then - echo "Unsupported platform $2." - echo "Valid options are linux-amd64, mac-amd64, windows-amd64." - print_usage - exit 1 -fi - -cipd create -in $1 -name flutter/android/ndk/$2 -install-mode copy -tag version:$3