Commit Graph

22 Commits

Author SHA1 Message Date
Nick Alexander
19cfacbf3c Bug 1108782 - Part 1: straighten out Java classpaths. r=glandium
This commit is us getting out of our own way.  We were specifying
-classpath twice, once in $(JAVAC) and once in java-build.mk.  Only
the latter of these is active.  This a problem for ANDROID_EXTRA_JARS
-- those JARs should be on the classpath and input to $(DX) -- and
JARs that should be on the classpath but *not* input to $(DX).  This
commit removes the global flags to $(JAVAC) and adds
JAVA_{BOOT}CLASSPATH_JARS.  This required some hijinkery moving
wildcards to moz.build files, but everything seems to work.

As well as clarifying some parts of the build, part 2 uses this work
to modify the classpath.
2015-08-31 13:35:05 -07:00
Nick Alexander
5fc39be7e5 Bug 1065773 - Part 1: Extract Android release signing bits into config/android-common.mk. r=mshal 2014-09-19 13:52:54 -07:00
Chris Kitching
4dbfee00cc Bug 1056128: Enable JDK source level 1.7 for Android Java code. r=nalexander 2014-08-29 03:44:27 -07:00
Wes Johnston
f33f467131 Bug 1006158 - Add ability to pull in v7 libraries and google support libraries. r=nalexander 2014-06-11 11:00:17 -07:00
Mike Hommey
6aeae2f437 Bug 926906 - Kill core_abspath, core_realpath and core_winabspath. r=gps 2013-10-17 07:55:16 +09:00
Nick Alexander
15d0c3f988 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
Nick Alexander
64b1acd71e Bug 885951 - Find jarsigner and keytool during configure. r=gps 2013-06-26 11:49:27 -07:00
Nick Alexander
e797d0b7b5 Bug 874132 - Second reland Part 3: Replace uses of apkbuilder with zip and custom debug signing tool. r=jmaher,mfinkle
This incorporates follow-ups including: rename the debug key; check if
key alias exists rather than just testing for keystore existence; set
$(AIDL).

Renaming the debug key works around an un-confirmed JDK bug in
jarsigner, where '-debug' and 'debug' compare the same.
2013-06-20 11:50:28 -07:00
Nick Alexander
966d17128b Backed out changeset 3a4c1a113154 (Bug 874132) for jarsigner "Please specify alias name" errors. 2013-06-19 08:21:15 -07:00
Nick Alexander
5852bb6287 Bug 874132 - Part 3: Replace uses of apkbuilder with zip and custom debug signing tool. r=jmaher
--HG--
extra : rebase_source : cf6601c6591921397f96fd1011db43de962ee8ed
2013-06-18 09:25:16 -07:00
Nathan Froyd
0534491630 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
Wes Johnston
7e7639ef9e Bug 759041 - Bring in Android compatibility libraries. r=blassey 2012-11-08 07:45:29 -08:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Matt Brubeck
bd0a768eb7 Back out 1d4d44ecd75c and 823cd2815483 (bug 709230) on suspicion of causing intermittent startup crashes 2012-01-30 16:53:14 -08:00
Chris Peterson
4442b0aee8 Bug 709230 part 2 - Optimize Java .class files with ProGuard. r=dougt 2012-01-26 10:50:37 -08:00
Chris Peterson
2e90aac2df Bug 709170 - Don't bother generating Java debug symbols for local variables. Saves 70 KB. r=dougt 2012-01-30 10:45:23 -08:00
Kartikaya Gupta
ad9516da9a Bug 721888 - Turn on the warnings-as-errors flag. r=blassey 2012-01-27 22:37:05 -05:00
Chris Peterson
b576548e57 Bug 714874 - Fix some Java warnings. r=dougt a=dougt 2012-01-05 10:49:33 -08:00
Michael Kohler
81e2e3ed4e Bug 702724 - Avoid compiler error when JDK version >= 7 [r=kats] 2011-11-16 00:49:21 +01:00
Matt Brubeck
67b16b7df9 bug 617074 - Fix for building with Android 2.3 SDK (android-9 platform) r=mwu,khuey a2.0=dougt 2010-12-15 11:22:16 -08:00
Clint Talbert
c1eab73fd3 Bug 567945 Import of sutagent code for Android 2010-06-21 14:26:56 -07:00
Clint Talbert
7ee47c2f86 Bug 567945 Android agent needs to build in mozilla-central r=ted 2010-06-21 14:26:55 -07:00