Closed Bug 1627354 Opened 5 years ago Closed 5 years ago

Upgrade Android compilerSdkVersion and build tools version to 29

Categories

(Firefox Build System :: Android Studio and Gradle Integration, task, P1)

Unspecified
Android
task

Tracking

(firefox77 fixed)

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: bugzilla, Assigned: bugzilla)

References

Details

Attachments

(5 files)

No description provided.
  • We change the SDK version to use build tools 29.0.3;
  • We change build_tools_version from a list to a string;
  • We convert android_build_tools to work correctly with the above change;
  • We set the build tools version in configure, as gradle needs to access it
    in a subsequent patch.

Per https://developer.android.com/studio/releases/build-tools, the default
version of the build tools used is internal to the Gradle plugin for Android,
which in the current version of Gradle is 28. To use 29, we need to explicitly
specify that in .gradle files using buildToolsVersion.

We also change the specification of compileSdkVersion to obtain that
information from the build configuration.

Depends on D69631

Thanks for wading through some hijinks, aklotz! Always pleased to see folks bump dependencies like this.

Pushed by aklotz@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/746913239a06 Part 1 - Modify android-sdk.configure to use build tools 29.0.3; r=nalexander https://hg.mozilla.org/integration/autoland/rev/e9582985649f Part 2 - Update gradle files to set buildToolsVersion; r=nalexander https://hg.mozilla.org/integration/autoland/rev/292249884e46 Part 3 - Update mozboot and wpt SDK dependencies; r=jgraham,nalexander https://hg.mozilla.org/integration/autoland/rev/1a93b70549c2 Part 4 - Update junit tests to reflect changes caused by the upgrade to platform 29; r=agi https://hg.mozilla.org/integration/autoland/rev/c98499d204fb Part 5 - Update wrench to build using Android 29; r=kats
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/22729 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: