Closed Bug 828660 Opened 8 years ago Closed 8 years ago

Automatically try to use the 4.6 toolchain on android

Categories

(Firefox Build System :: General, defect)

21 Branch
All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla21

People

(Reporter: kats, Assigned: kats)

Details

Attachments

(1 file)

The build/autoconf/android.m4 file defaults to using 4.4.3 as the android_gnu_compiler_version. As all the android builds are now on NDK r8c and using gcc-4.6, we should change this to 4.6 and provide fallback to 4.4.3 for users who have not yet upgraded their NDKs.
This will obey with-android-gnu-compiler-version if it is set, and fail if it is set and wrong. If it is not set, it will try 4.6 and 4.4.3 (in that order) and pick the first that is found.

I tested the various combinations locally, and also pushed to try at https://tbpl.mozilla.org/?tree=Try&rev=49900f089284
Attachment #701330 - Flags: review?(mh+mozilla)
Attachment #701330 - Flags: review?(mh+mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/a712a8e5434f
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.