Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@blasten
Copy link

@blasten blasten commented Jul 14, 2021

Bumps Android's build-tools, platform-tools, and platforms packages.

Also, adds a bit more info to the script to help the next person doing the upgrade.

@blasten blasten requested review from GaryQian and dnfield July 14, 2021 21:27
@google-cla google-cla bot added the cla: yes label Jul 14, 2021
echo "* When you change REPO_OS_OVERRIDE, you would also need to delete the directory from the"
echo "Android SDK location, so sdkmanager tries to download the binaries for the new platform."
echo ""
echo "For more see: https://developer.android.com/studio/command-line/sdkmanager"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we just create a script that does this?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's durable, although a better approach is to create a script similar to https://github.com/google/android-emulator-container-scripts/blob/318c3c2b73c66f91a77aef90aa8ded71649901f5/emu/emu_downloads_menu.py that parses the XML files with the assets, and then downloads the right stuff in the right place.

Given that this only occurs once a year, I'm not sure if we need this automation at the moment.

Emmanuel Garcia added 2 commits July 14, 2021 16:18
@blasten
Copy link
Author

blasten commented Jul 15, 2021

This change will need to wait for #27376 as bumping the version requires an update to the buildroot repo as well.

@GaryQian
Copy link
Contributor

The 31 SDK is still considered beta/first revision, do we have any guidelines/policies on what level of maturity is acceptable to upgrade Flutter to?

@blasten
Copy link
Author

blasten commented Jul 15, 2021

If a feature is available on Android S only (e.g bold text) and the API changes in a way that it requires a patch, we can roll a new SDK and apply the patch. Similar to a Skia breaking change, etc.

This is unlikely, but I don’t think it should block the implementation of the Android S features.

Copy link
Contributor

@GaryQian GaryQian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, that sgtm, this LGTM then, pending buildroot merge.

Copy link
Contributor

@dnfield dnfield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as long as tests pass

@dnfield
Copy link
Contributor

dnfield commented Jul 21, 2021

Looks like there are linting issues at the least

@blasten
Copy link
Author

blasten commented Jul 22, 2021

This is currently blocked on getting JDK 11 installed on the LUCI bots

@blasten blasten added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Aug 18, 2021
@blasten blasten removed the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Aug 18, 2021
@blasten
Copy link
Author

blasten commented Aug 18, 2021

The engine now depends on the JDK directly via gn dependencies.

@blasten blasten added waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. and removed waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. labels Aug 18, 2021
@blasten blasten added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Aug 19, 2021
@fluttergithubbot fluttergithubbot merged commit 033363c into flutter:master Aug 19, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 19, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 19, 2021
@blasten blasten deleted the bump_android_deps branch August 19, 2021 18:56
chriscraws pushed a commit to chriscraws/engine that referenced this pull request Aug 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants