Remove accept_android_sdk_licenses.sh, which appears unused. (#161388)

Towards https://github.com/flutter/flutter/issues/161387.

From what I can tell, this is no longer referenced or used (I
cross-checked `flutter/recipes` as well).
This commit is contained in:
Matan Lurey 2025-01-09 13:14:38 -08:00 committed by GitHub
parent da6343150b
commit a336069ba1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 24 deletions

View File

@ -1,23 +0,0 @@
#!/usr/bin/env bash
# Copyright 2014 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
set -e
# This script is only meant to be run by the Cirrus CI system, not locally.
# It must be run from the root of the Flutter repo.
function error() {
echo "$@" 1>&2
}
function accept_android_licenses() {
yes "y" | flutter doctor --android-licenses
}
echo "Flutter SDK directory is: $PWD"
# Accept licenses.
echo "Accepting Android licenses."
accept_android_licenses || (error "Accepting Android licenses failed." && false)

View File

@ -2553,7 +2553,6 @@ const Set<String> kExecutableAllowlist = <String>{
'bin/internal/update_dart_sdk.sh', 'bin/internal/update_dart_sdk.sh',
'bin/internal/update_engine_version.sh', 'bin/internal/update_engine_version.sh',
'dev/bots/accept_android_sdk_licenses.sh',
'dev/bots/codelabs_build_test.sh', 'dev/bots/codelabs_build_test.sh',
'dev/bots/docs.sh', 'dev/bots/docs.sh',