Граф коммитов

107 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari 17aef44cfc Bug 1117028 - Try to look for zipalign in all of Android build tools; r=nalexander
Some Android SDK installations do not have the zipalign program in
the same directory as other Android build tools.  For example,
zipalign may be found in /build-tools/21.1.2 whereas the
rest of the build tools are in /build-tools/android-4.4.
2015-01-06 23:33:48 -05:00
Nick Alexander 3cab90a5de Bug 1099501 - Export and use ANDROID_TOOLS where appropriate. r=snorp,bnicholson
In certain configurations, in particular when installing the Android SDK
using HomeBrew, one sees a configuration with symlinks like:

    [brian@brian-macbook git]$ ls -l /usr/local/Cellar/android-sdk/23.0.2/
    total 72
    ...
    lrwxr-xr-x   1 brian  admin    38 Nov 14 16:39 platforms -> ../../../var/lib/android-sdk/platforms
    ...
    drwxr-xr-x  26 brian  admin   884 Nov 14 17:43 tools

In this case, we have
ANDROID_SDK=/usr/local/Cellar/android-sdk/23.0.2/platforms/android-21.

It is an anti-pattern to use ANDORID_SDK/.. to find other paths in the
tree.  This pattern is used in at least two places:

1) When we try to find
/usr/local/Cellar/android-sdk/23.0.2/platforms/android-21/../../tools,
we end up in the /usr/local/var/lib subtree.  This patch works around
that by exporting and using ANDROID_TOOLS; ANDROID_TOOLS itself is
extracted using path matching, rather than following .. through the
filesystem.

2) We also need to use ANDROID_SDK_ROOT rather than
ANDROID_SDK/../.. through-out.

--HG--
extra : rebase_source : 5e0323a94f2b80550f17a624e16f338cdeec406d
2014-11-17 11:12:00 -08:00
Nick Alexander 452c901e08 Bug 1091087 - Disable MOZ_NATIVE_DEVICES when MOZ_ANDROID_RESOURCE_CONSTRAINED is set. r=glandium
This saves dexing and shipping the Google Play Services and other Google
libraries, which add resources and about 3megs of code.

Due to ordering issues, the relevant flags and toggles were moved to
configure.in and exposed early enough to be used by confvars.sh.
2014-11-03 20:04:19 -08:00
Mike Hommey deb5d056a6 Bug 1090107 - Define stlport dependencies in moz.build. r=mshal 2014-10-29 13:29:42 +09:00
Jim Chen 52a3b4cf21 Bug 1067018 - Always specify throw() for nothrow placement new/delete; r=glandium 2014-09-26 15:45:45 -04:00
Richard Newman 3f46878e67 Bug 1063868 - Allow exclusion of fonts from constrained APKs. r=nalexander 2014-09-09 11:57:55 -07:00
Richard Newman c6cdef09e8 Bug 1063643 - Allow for building Fennec with a limited set of resources. r=nalexander 2014-09-06 08:25:20 -07:00
Richard Newman b5e2830b25 Bug 1063109 - Allow for aapt to be invoked with max-res-version argument. r=nalexander 2014-09-05 21:10:23 -07:00
Nathan Toone dfb824bdec Bug 1055909 - Check for google play services after loading configure.sh from branding. r=glandium 2014-09-04 08:01:00 +02:00
Mike Hommey 9be788de2f Bug 1050037 - Remove STLPORT_LIBS/STLPORT_LDFLAGS from Makefiles. r=mshal 2014-08-07 13:48:10 +09:00
Richard Newman 6858470513 Bug 1042382 - Follow-up: remove broken use of $1 as minimum SDK version, because that's not what it means. r=trivial 2014-07-25 14:39:14 -07:00
Richard Newman 9834a6db65 Bug 1042382 - Part 1: configure.in changes to allow Android SDK ranges to be specified. r=glandium 2014-07-25 13:27:49 -07:00
Richard Newman d024d6279f Backed out changeset cb8ca90a354d, 894afa1b44ae (bug 1042382) 2014-07-25 13:45:03 -07:00
Richard Newman 0dc8562a92 Bug 1042382 - Part 1: configure.in changes to allow Android SDK ranges to be specified. r=glandium 2014-07-25 13:27:49 -07:00
Nick Alexander 099acdb8e1 Bug 1032756 - Look for Android {build-,platform-}tools in all possible locations. r=glandium
Google has a history of moving the Android tools around.  We don't care
where they are, so let's try to find them anywhere we can.
2014-07-04 09:05:56 -07:00
Wes Johnston 475bb7bb3a Bug 1006158 - Add ability to pull in v7 libraries and google support libraries. r=nalexander 2014-06-11 11:00:17 -07:00
Jim Chen a1d02e6a5e Bug 1013478 - Use GCC 4.8 on Android if available. r=glandium 2014-05-22 10:44:00 +02:00
Nick Alexander 5c164c923e Bug 960640 - Make finding Android build-tools future-proof. r=glandium
This lists the directories in build-tools/*, sorts them by
version (favouring new-style 'android-*' directories), and then takes
the newest version in which aapt exists.
2014-04-17 12:07:26 -07:00
Brad Lassey 34443c56ed bug 979438 - Unify android target SDK versions, follow up to address nits r=nalexander
--HG--
extra : rebase_source : 841e8eece32e10d6d2c3443d5bcbf7ac935dd157
2014-03-28 19:47:32 -04:00
Brad Lassey eade3f50ca bug 979438 - Unify android target SDK versions r=nalexander
--HG--
rename : embedding/android/geckoview_example/AndroidManifest.xml => embedding/android/geckoview_example/AndroidManifest.xml.in
rename : mobile/android/geckoview_library/AndroidManifest.xml => mobile/android/geckoview_library/AndroidManifest.xml.in
rename : mobile/android/geckoview_library/project.properties => mobile/android/geckoview_library/project.properties.in
2014-03-25 23:27:16 -04:00
Jim Chen 40b81f6874 Bug 983730 - Support Android SDK build tools v19.0.3. r=mshal 2014-03-15 17:20:06 -04:00
Trevor Saunders ebd5906b4c bug 933189 - teach android.m4 about build tools v 19.0.2 r=mshal 2014-02-26 14:50:53 -05:00
Mike Hommey 80e79be833 Bug 462427 - Stop requiring CROSS_COMPILE being set. r=ted 2014-02-11 10:37:46 +09:00
Wes Johnston f244dbda1d Bug 962764 - Support Android 4.4 sdk. r=blassey,gps 2014-01-27 14:59:25 -08:00
James Gilbertson 7219ddd9c8 Bug 949314 - Use shell expansion instead of a relative path to get the path for ANDROID_SDK_ROOT. r=glandium
--HG--
extra : rebase_source : 0e8f1881be639678eb80915cfb70aa08a68a7a13
2013-12-17 10:59:04 -05:00
Trevor Saunders aeba5a1b72 bug 900797 - fix warnings as errors with gcc 4.8 from ndk r9 r=glandium 2013-11-20 20:00:05 -05:00
Chris Kitching dfe4a3a964 Bug 709230 - Part 5: activate Proguard. r=gbrown,rnewman 2013-11-18 17:30:00 -08:00
retornam cfec5f4428 Bug 941889 - Make configure recognize Android 19 tools. r=nalexander 2013-11-21 20:19:20 -08:00
Makoto Kato a03f26ded3 Bug 891718 - Can override CPP/CC/CXX on Android. r=glandium 2013-11-07 17:39:13 +09:00
Mike Hommey ea2492b720 Bug 930454 - Remove --with-android-platform. r=ted 2013-10-25 08:23:40 +09:00
Panos Astithas 3ef77d9f54 Search for Android SDK build tools version 18.1.0 (bug 919466). r=glandium 2013-09-24 10:14:33 +03:00
Makoto Kato ddd3243c20 Bug 911893 - cannot use --enable-android-libstdcxx configure option. r=glandium 2013-09-06 14:40:48 +09:00
Irving Reid 3a4427f7dd Bug 905315: Work around android ADT path naming scheme change; r=nalexander 2013-08-26 11:16:18 -04:00
Jeff Muizelaar 6b7fa6d4fb Bug 900594. Support Android SDK v18.0.1 r=glandium
This makes configure use build-tools instead of platform-tools

--HG--
extra : rebase_source : 7cf330f178b81dc30dc1cc15af52a03329330c3a
2013-08-01 20:41:19 -04:00
Nick Alexander d5417217be Bug 898296 - Search for Android SDK build tools version 18.0.0. r=gps
This patch also tries to verify that the tools are actually found
early in the configure process, rather than failing with difficult to
parse errors at the end of the build.

Since the Android developer tools are defined earlier in the build
process, we can remove a work-around needed for |make install|.
2013-07-30 09:15:50 -07:00
Mike Hommey 6932c7388c Bug 850576 - Statically link stlport on b2g and android, and always use a custom built stlport for that. r=ted 2013-07-15 18:48:39 +09:00
Mike Hommey ccd0a074bb Bug 892361 - Default to gcc 4.7 from the NDK if it's there. r=ted 2013-07-12 09:16:11 +09:00
Nathan Froyd 9243c80784 Bug 874132 - Part 1: Handle SDK layout differences in the Android r22 SDK. r=nalexander
Author:    Nathan Froyd <froydnj@gmail.com>

--HG--
extra : rebase_source : 614b386efc0a2b13c6570c99d09d6ec99146c3e1
2013-06-18 09:25:15 -07:00
Mike Hommey 803e59e01a Bug 850332 - Use jemalloc inside mozglue. r=kats,r=mwu 2013-03-17 08:03:05 +01:00
Chris Peterson 53193b70f7 Bug 861073 - Add configure check that --with-android-version is at least 9. r=glandium 2013-04-11 23:07:27 -07:00
Vicamo Yang f8906b8557 Bug 859830: determine Android API level through android/api-leve.h instead. r=glandium 2013-04-12 13:39:42 +08:00
Mike Hommey 222d704113 Bug 860184 - Automatically use the x86-64 NDK toolchain when possible. r=ted 2013-04-10 16:12:57 +02:00
Paul Adenot 50b59f2b0b Bug 850713 - Bump the required NDK version to 9. r=blassey.bugs,mh+mozilla 2013-03-15 16:28:07 +13:00
Phil Ringnalda d0d78e1063 Back out 0044e4c2dc53 (bug 851149), 3080f18ba53d (bug 698328), 0b147c3f682b (bug 850713) for Android bustage
CLOSED TREE
2013-03-14 21:19:40 -07:00
Paul Adenot 80dcb414f4 Bug 850713 - Bump the required NDK version to 9. r=blassey.bugs,mh+mozilla
--HG--
extra : rebase_source : d6886dcfe87747e77c3828289b1184a58e6a0c09
2013-03-15 16:28:07 +13:00
Kartikaya Gupta 875807e9db Bug 828660 - Try to autodetect the compiler version in the android NDK. r=glandium 2013-01-14 09:35:40 -05:00
Makoto Kato 9a7ebf8914 Bug 802527 - Support Android NDK r8b for x86 android build. r=glandium 2012-12-19 11:49:44 +09:00
Surith Thekkiam cabc76aba3 Bug 807423 - Support use of GNU libstdc++ on Android. r=ted
* For android-ndk versions r7, r7b, r8, r8b
 * std::ifstream broken in earlier versions of ndk
 * ... used in jscntxt.cpp by ComputeIsJITBroken()
 * Default gnu_compiler_version is 4.4.3
 * If android_toolchain is not set, attempt to infer it from gnu_compiler_version.
 * Copy changes from js/src/build/autoconf/android.m4 to build/autoconf/android.m4
2012-11-06 09:41:16 -08:00
Vladimir Vukicevic 4b3c2a973e no bug; fix configure.in message on Android to not be lies and give useful info; r=sparky 2012-11-13 14:20:54 -05:00
Wes Johnston 0c2cb7022e Bug 810398 - Update support library error message to be clearer. r=blassey 2012-11-09 11:07:40 -08:00
Wes Johnston a3cbbff917 Bug 759041 - Bring in Android compatibility libraries. r=blassey 2012-11-08 07:45:29 -08:00
Gregory Szorc 5bca2c570a Bug 795499 - Export ANDROID_CPU_ARCH via AC_SUBST. r=glandium 2012-09-29 00:49:24 -07:00
Makoto Kato 80fa2135af Bug 780072 - default value of android api version should be 9 on x86 or mipsel. r=glandium 2012-08-06 12:06:30 +09:00
Mike Hommey 4f54c3b9c9 Bug 767024 - Allow dependentlibs.py to work when cross-compiling for Android on OSX. r=khuey 2012-06-22 18:33:17 +02:00
Mike Hommey ba21415d70 Bug 759115 - Move Android SDK/NDK checks in build/autoconf/android.m4, and bump minimum Android SDK API level we require to 14 for mobile/android. r=ted 2012-06-11 08:10:28 +02:00
Mike Hommey 3459e353ed Backout changeset a78601d88586 (bug 759115) because of B2G bustage 2012-06-11 08:23:29 +02:00
Mike Hommey 215721bd12 Bug 759115 - Move Android SDK/NDK checks in build/autoconf/android.m4, and bump minimum Android SDK API level we require to 14 for mobile/android. r=ted 2012-06-11 08:10:28 +02:00