Bug 1880792, 1880801, 1880805 - Compile Focus, Fenix, AC and GV with SDK 35. r=android-reviewers,geckoview-reviewers,ohall

Differential Revision: https://phabricator.services.mozilla.com/D217428
This commit is contained in:
mcarare
2024-08-06 17:38:52 +00:00
parent 2cafd5dbb0
commit 9c0704c7b3
7 changed files with 12 additions and 7 deletions

View File

@@ -125,7 +125,7 @@ allprojects {
buildId = getBuildId()
buildToolsVersion = mozconfig.substs.ANDROID_BUILD_TOOLS_VERSION
compileSdkVersion = tryInt(mozconfig.substs.ANDROID_TARGET_SDK)
compileSdkVersion = tryInt(mozconfig.substs.ANDROID_COMPILE_SDK)
targetSdkVersion = tryInt(mozconfig.substs.ANDROID_TARGET_SDK)
minSdkVersion = tryInt(mozconfig.substs.MOZ_ANDROID_MIN_SDK_VERSION)
manifestPlaceholders = [

View File

@@ -58,7 +58,8 @@ def android_sdk_version():
# If you think you can't handle the whole set of changes, please reach out to the Release
# Engineering team.
return namespace(
build_tools_version="34.0.0",
build_tools_version="35.0.0",
compile_sdk_version="35",
target_sdk_version="34",
min_sdk_version="21",
)
@@ -155,3 +156,4 @@ set_config("ANDROID_SDK_ROOT", android_sdk_root)
set_config("ANDROID_BUILD_TOOLS_VERSION", android_sdk_version.build_tools_version)
set_config("ANDROID_TARGET_SDK", android_sdk_version.target_sdk_version)
set_config("ANDROID_COMPILE_SDK", android_sdk_version.compile_sdk_version)

View File

@@ -3,6 +3,6 @@ componentsGroupId: "org.mozilla.components"
# Synchronized build configuration for all modules
jvmTargetCompatibility: 17
compileSdkVersion: 34
compileSdkVersion: 35
minSdkVersion: 21
targetSdkVersion: 34

View File

@@ -5,6 +5,8 @@ permalink: /changelog/
---
# 131.0 (In Development)
* **All components**
*Increased `compileSdkVersion` to 35 (Android 15)
# 130.0

View File

@@ -16,6 +16,7 @@ exclude: true
## v131
- Added [`GeckoDisplay.windowInsetsChanged`][131.1].
- Added [`GeckoView.addWindowInsetsListener`][131.2] and [`GeckoView.removeWindowInsetsListener`][131.3] to allow listening WindowInsets changes of Activity's root window with multiple listeners.
-Increased `compileSdkVersion` to 35 (Android 15)
[131.1]: {{javadoc_uri}}/GeckoDisplay.html#windowInsetsChanged
[131.2]: {{javadoc_uri}}/GeckoView.html#addWindowInsetsListener

View File

@@ -1,4 +1,4 @@
emulator
platform-tools
build-tools;34.0.0
platforms;android-34
build-tools;35.0.0
platforms;android-35

View File

@@ -288,8 +288,8 @@ def install(logger, dest=None, reinstall=False, prompt=True):
if new_install:
packages = ["platform-tools",
"build-tools;34.0.0",
"platforms;android-34",
"build-tools;35.0.0",
"platforms;android-35",
"emulator"]
install_android_packages(logger, paths, packages, prompt=prompt)