Closed Bug 1266263 Opened 8 years ago Closed 4 years ago

Bump minimum Android NDK version to 15 since minimum Android SDK version is 16

Categories

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

Unspecified
Android
defect
Not set
normal

Tracking

(firefox48 affected)

RESOLVED WORKSFORME
Tracking Status
firefox48 --- affected

People

(Reporter: m_kato, Unassigned)

Details

In http://mxr.mozilla.org/mozilla-central/source/build/autoconf/android.m4, MIN_ANDROID_VERSION is 9.

And mozconfig (http://mxr.mozilla.org/mozilla-central/source/mobile/android/config/mozconfigs/common) still uses "ac_add_options --with-android-version=9"

Since we set "ac_add_options --with-android-min-sdk=15", we should also set --with-android-version=15.
Last time this came up, I recall that it was more complicated than it seems, and perhaps not valuable to do so. Sebastian might remember.
Flags: needinfo?(s.kaspari)
See Bug 1133459 Comment 4. We explicitly didn't bump this in Bug 1237342.
(In reply to Richard Newman [:rnewman] from comment #1)
> Last time this came up, I recall that it was more complicated than it seems,
> and perhaps not valuable to do so. Sebastian might remember.

I only remember having problems with the target sdk version. If I read the linked bugs correctly --with-android-version is only used for configuring/using the NDK.

@snorp: Do we need to update this?
Flags: needinfo?(s.kaspari) → needinfo?(snorp)
I don't think there is really any benefit to updating this. The NDK version we use is independent of the SDK, and we've had problems trying to use a newer NDK platform version in the past. We will eventually have to do this for 64-bit support, but right now there is no need.
Flags: needinfo?(snorp)
Android NDK r17 removes anroid-9, so we should bump to 16 when supporting NDK r17.
Summary: Bump android version to 15 since minimum of SDK is 15 → Bump minimum Android NDK version to 15 since minimum Android SDK version is 16
Product: Firefox for Android → Firefox Build System

The minimum NDK version is 20 now (minimum Android version is 16 on 32-bit platforms, 21 on 64-bit platforms), so I think we can close this as WORKSFORME.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.