Commit Graph

23 Commits

Author SHA1 Message Date
Nick Alexander
f2c9cdeaf9 Bug 1258760 - Allow re-signing already signed APK files. r=gps
Gradle produces signed, unaligned APK files.  We expect unsigned,
unaligned APK files.  This change discards any existing signature,
turning a signed, unaligned APK into an unsigned, unaligned APK.

Sadly |zip -q| does not silence a warning message about "nothing to
do" so we pipe to /dev/null.

MozReview-Commit-ID: DnSGJCvHsym

--HG--
extra : rebase_source : ee7884847767c0a075e3cfd404ba695d07f47e93
extra : histedit_source : 6aaa07eac03d69668f8556b84d1c1bae51c8ea22
2016-03-15 16:01:44 -07:00
Nick Alexander
c8ee8a09cf 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.

--HG--
extra : commitid : 25Ft0BFs88O
extra : rebase_source : 05e3d1da8d42fa89d06ef48baee17bb77df5bd59
extra : histedit_source : 95b82309aca15c5a3c5f5a0eafbdcf75c5e8dfc0
2015-08-31 13:35:05 -07:00
Nick Alexander
1d426f4614 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
a3726b7f2e Bug 1056128: Enable JDK source level 1.7 for Android Java code. r=nalexander 2014-08-29 03:44:27 -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
Mike Hommey
ca1b5bf42a Bug 926906 - Kill core_abspath, core_realpath and core_winabspath. r=gps 2013-10-17 07:55:16 +09: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
Nick Alexander
72e9d59e80 Bug 885951 - Find jarsigner and keytool during configure. r=gps 2013-06-26 11:49:27 -07:00
Nick Alexander
dc310122de 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
8bf1a1594f Backed out changeset 3a4c1a113154 (Bug 874132) for jarsigner "Please specify alias name" errors. 2013-06-19 08:21:15 -07:00
Nick Alexander
ab45bf0afe 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
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
Wes Johnston
a3cbbff917 Bug 759041 - Bring in Android compatibility libraries. r=blassey 2012-11-08 07:45:29 -08:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Matt Brubeck
f207b2e4b8 Back out 1d4d44ecd75c and 823cd2815483 (bug 709230) on suspicion of causing intermittent startup crashes 2012-01-30 16:53:14 -08:00
Chris Peterson
059dae79c1 Bug 709230 part 2 - Optimize Java .class files with ProGuard. r=dougt 2012-01-26 10:50:37 -08:00
Chris Peterson
d033a61dab 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
bed00e8d44 Bug 721888 - Turn on the warnings-as-errors flag. r=blassey 2012-01-27 22:37:05 -05:00
Chris Peterson
043eb9f603 Bug 714874 - Fix some Java warnings. r=dougt a=dougt 2012-01-05 10:49:33 -08:00
Michael Kohler
c9d645ceeb Bug 702724 - Avoid compiler error when JDK version >= 7 [r=kats] 2011-11-16 00:49:21 +01:00
Matt Brubeck
c74436b2b1 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
a81d410131 Bug 567945 Import of sutagent code for Android 2010-06-21 14:26:56 -07:00
Clint Talbert
6ebe6803b1 Bug 567945 Android agent needs to build in mozilla-central r=ted 2010-06-21 14:26:55 -07:00