Closed
Bug 802527
Opened 12 years ago
Closed 12 years ago
Support Android NDK r8b for x86 android build
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla20
People
(Reporter: m_kato, Assigned: m_kato)
References
Details
Attachments
(1 file)
3.46 KB,
patch
|
glandium
:
review+
|
Details | Diff | Splinter Review |
the prefix of toolchain is changed by NDK r8b...
I built it successfully. Here's the "trivial" fix:
diff -r aa367b01df3f build/autoconf/android.m4
--- a/build/autoconf/android.m4 Sun Oct 28 13:11:28 2012 -0700
+++ b/build/autoconf/android.m4 Mon Oct 29 07:45:32 2012 +0000
@@ -40,7 +40,7 @@
android_tool_prefix="arm-linux-androideabi"
;;
i?86-*android*)
- android_tool_prefix="i686-android-linux"
+ android_tool_prefix="i686-linux-android"
;;
mipsel-*android*)
android_tool_prefix="mipsel-linux-android"
diff -r aa367b01df3f js/src/build/autoconf/android.m4
--- a/js/src/build/autoconf/android.m4 Sun Oct 28 13:11:28 2012 -0700
+++ b/js/src/build/autoconf/android.m4 Mon Oct 29 07:45:32 2012 +0000
@@ -40,7 +40,7 @@
android_tool_prefix="arm-linux-androideabi"
;;
i?86-*android*)
- android_tool_prefix="i686-android-linux"
+ android_tool_prefix="i686-linux-android"
;;
mipsel-*android*)
android_tool_prefix="mipsel-linux-android"
diff -r aa367b01df3f nsprpub/configure
--- a/nsprpub/configure Sun Oct 28 13:11:28 2012 -0700
+++ b/nsprpub/configure Mon Oct 29 07:45:32 2012 +0000
@@ -878,7 +878,7 @@
android_tool_prefix="arm-linux-androideabi"
;;
i?86-*android*)
- android_tool_prefix="i686-android-linux"
+ android_tool_prefix="i686-linux-android"
;;
mipsel-*android*)
android_tool_prefix="mipsel-linux-android"
diff -r aa367b01df3f nsprpub/configure.in
--- a/nsprpub/configure.in Sun Oct 28 13:11:28 2012 -0700
+++ b/nsprpub/configure.in Mon Oct 29 07:45:32 2012 +0000
@@ -127,7 +127,7 @@
android_tool_prefix="arm-linux-androideabi"
;;
i?86-*android*)
- android_tool_prefix="i686-android-linux"
+ android_tool_prefix="i686-linux-android"
;;
mipsel-*android*)
android_tool_prefix="mipsel-linux-android"
Comment 2•12 years ago
|
||
(In reply to Aissen from comment #1)
> I built it successfully. Here's the "trivial" fix:
Unfortunately, that would break building with an older NDK.
I'm new here, so I don't know how this works. I'm guessing an overnight switch to the new NDK is out of the question ?
Comment 4•12 years ago
|
||
Supporting both is not hard.
Assignee | ||
Comment 5•12 years ago
|
||
Attachment #692881 -
Flags: review?(mh+mozilla)
Comment 6•12 years ago
|
||
Comment on attachment 692881 [details] [diff] [review]
fix
Review of attachment 692881 [details] [diff] [review]:
-----------------------------------------------------------------
Don't you need the same thing for nspr?
::: build/autoconf/android.m4
@@ +118,5 @@
> AC_MSG_ERROR([not found. You have to specify --with-android-platform=/path/to/ndk/platform.])
> fi
> fi
>
> + dnl Old NDK support. If minimum requrement is changed to NDK r8b,
requirement
Attachment #692881 -
Flags: review?(mh+mozilla) → review+
Assignee | ||
Comment 7•12 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #6)
> Comment on attachment 692881 [details] [diff] [review]
> fix
>
> Review of attachment 692881 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Don't you need the same thing for nspr?
It is necessary for NSPR too, so I will file/handle a bug for NSPR.
Assignee | ||
Comment 8•12 years ago
|
||
Target Milestone: --- → mozilla20
Comment 9•12 years ago
|
||
Assignee: nobody → m_kato
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•