Closed Bug 780072 Opened 12 years ago Closed 12 years ago

default value of android version should be 9 on x86 or mipsel

Categories

(Firefox Build System :: General, defect)

x86
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla17

People

(Reporter: m_kato, Assigned: m_kato)

Details

Attachments

(1 file)

min version of NDK is 9 on x86 or mips.
(In reply to Makoto Kato from comment #0)
> min version of NDK is 9 on x86 or mips.

Why? I've build for both with a earlier NDKs. (r6 or r7 for x86, and r8 for mips)
(In reply to Mike Hommey [:glandium] from comment #1)
> (In reply to Makoto Kato from comment #0)
> > min version of NDK is 9 on x86 or mips.
> 
> Why? I've build for both with a earlier NDKs. (r6 or r7 for x86, and r8 for
> mips)

This means that android 2.3.4 or later, not NDK version.
x86 and mips is API 9 or later.  (platforms/android-<android api version> in NDK)
Ah, android_version, not NDK version.
Attached patch fixSplinter Review
Attachment #648636 - Flags: review?(mh+mozilla)
Comment on attachment 648636 [details] [diff] [review]
fix

Review of attachment 648636 [details] [diff] [review]:
-----------------------------------------------------------------

::: build/autoconf/android.m4
@@ +19,5 @@
> +case "$target_cpu" in
> +arm)
> +    android_version=5
> +    ;;
> +i?86)

Make that i?86|mipsel)

@@ +30,4 @@
>  
>  MOZ_ARG_WITH_STRING(android-version,
>  [  --with-android-version=VER
>                            android platform version, default 5],

Please change the help string (note you can't use the variable there, so just put something like "5 for arm, 9 for x86/mips")

r+ with these changes.
Attachment #648636 - Flags: review?(mh+mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/9ae5f9ed9a33
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: