From a336069ba1eb87370c80f9bc250a7c76990b298b Mon Sep 17 00:00:00 2001 From: Matan Lurey Date: Thu, 9 Jan 2025 13:14:38 -0800 Subject: [PATCH] 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). --- dev/bots/accept_android_sdk_licenses.sh | 23 ----------------------- dev/bots/analyze.dart | 1 - 2 files changed, 24 deletions(-) delete mode 100755 dev/bots/accept_android_sdk_licenses.sh diff --git a/dev/bots/accept_android_sdk_licenses.sh b/dev/bots/accept_android_sdk_licenses.sh deleted file mode 100755 index 92161b81686..00000000000 --- a/dev/bots/accept_android_sdk_licenses.sh +++ /dev/null @@ -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) diff --git a/dev/bots/analyze.dart b/dev/bots/analyze.dart index 5f52765f6f7..66198a54fff 100644 --- a/dev/bots/analyze.dart +++ b/dev/bots/analyze.dart @@ -2553,7 +2553,6 @@ const Set kExecutableAllowlist = { 'bin/internal/update_dart_sdk.sh', 'bin/internal/update_engine_version.sh', - 'dev/bots/accept_android_sdk_licenses.sh', 'dev/bots/codelabs_build_test.sh', 'dev/bots/docs.sh',