Commit Graph

585 Commits

Author SHA1 Message Date
Nick Alexander
19db3a26ae Bug 923950 - Fix Android single locale repacks. r=glandium
There are two parts to this.  The first is to add AndroidManifest.xml
as a dependency to the "no dependencies" ap_ built during packaging.
The aapt call requires it.  So "no dependencies" is more accurately
"no *resource* dependencies".

The second is to avoid including the Android res/ directory in the
language repack step.  What happens is that the l10n.py script sees
the Android res/ files left in the dist/ directory after unpacking and
expects to find them in the objdir.  They're not there, so the script
fails.  To avoid this, we delete them after unpacking.  See the
comments in packager.mk describing this process.

--HG--
extra : rebase_source : 35c3c125dddcd575c1a5e8ad58f9aa13ff2db4c3
2013-12-14 15:36:17 -08:00
Nick Alexander
6fade1ad27 Bug 934646 - Part 3: Declare Android resource directories relative to $SRCDIR. r=glandium,gps,mfinkle
--HG--
rename : mobile/android/base/resources/drawable-mdpi/crash_reporter.png => mobile/android/base/crashreporter/res/drawable-mdpi/crash_reporter.png
rename : mobile/android/base/resources/layout/crash_reporter.xml => mobile/android/base/crashreporter/res/layout/crash_reporter.xml
rename : mobile/android/branding/aurora/content/fennec_72x72.png => mobile/android/branding/aurora/res/drawable-hdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_48x48.png => mobile/android/branding/aurora/res/drawable-mdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_96x96.png => mobile/android/branding/aurora/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_144x144.png => mobile/android/branding/aurora/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_72x72.png => mobile/android/branding/beta/res/drawable-hdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_48x48.png => mobile/android/branding/beta/res/drawable-mdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_96x96.png => mobile/android/branding/beta/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_144x144.png => mobile/android/branding/beta/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_72x72.png => mobile/android/branding/nightly/res/drawable-hdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_48x48.png => mobile/android/branding/nightly/res/drawable-mdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_96x96.png => mobile/android/branding/nightly/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_144x144.png => mobile/android/branding/nightly/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/official/content/fennec_72x72.png => mobile/android/branding/official/res/drawable-hdpi/icon.png
rename : mobile/android/branding/official/content/fennec_48x48.png => mobile/android/branding/official/res/drawable-mdpi/icon.png
rename : mobile/android/branding/official/content/fennec_96x96.png => mobile/android/branding/official/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/official/content/fennec_144x144.png => mobile/android/branding/official/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_72x72.png => mobile/android/branding/unofficial/res/drawable-hdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_48x48.png => mobile/android/branding/unofficial/res/drawable-mdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_96x96.png => mobile/android/branding/unofficial/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_144x144.png => mobile/android/branding/unofficial/res/drawable-xxhdpi/icon.png
extra : rebase_source : f6ec8a38594e70520b10202c735dc019f8c856fd
2013-12-11 21:20:07 -08:00
Mark Finkle
af612934e1 Bug 927128 - Keep GeckoView limited to Nightly only (part 2) r=glandium 2013-12-10 01:07:43 -05:00
Ryan VanderMeulen
e384e116bb Merge fx-team to m-c. 2013-12-06 16:03:56 -05:00
Mark Finkle
b14919adcd Bug 927128 - Keep GeckoView limited to Nightly only r=glandium 2013-12-06 10:05:02 -05:00
Mike Hommey
e5a9d37fc8 Bug 946605 - Fix typo from bug 943728 in packager.mk breaking mac l10n builds. r=mshal 2013-12-06 08:45:30 +09:00
Ehsan Akhgari
1adec124cd Bug 915735 - Build ICU as a shared library where JS is built as a shared library; r=glandium 2013-12-06 08:08:52 -05:00
Carsten "Tomcat" Book
72db98e70d Backed out changeset 099f65a712a8 (bug 915735) Windows Build Bustage on a CLOSED TREE 2013-12-06 14:48:13 +01:00
Ehsan Akhgari
905395bdd0 Bug 915735 - Build ICU as a shared library where JS is built as a shared library; r=glandium 2013-12-06 08:08:52 -05:00
Mike Hommey
bf60896454 Bug 943728 - Replace double quotes with single quotes in Makefiles (or remove them when it makes sense). r=mshal 2013-12-03 06:34:21 +09:00
Mike Hommey
a4d185c026 Bug 942375 - Don't use $(shell pwd). r=mshal 2013-11-26 11:49:34 +09:00
Robert Strong
407f465af2 Bug 941397 - Progress message on Firefox Stub install for Japanese and other languages that don't break words with spaces. r=bbondy 2013-11-22 13:28:24 -08:00
Camilo Viecco
1779a62ab0 Bug 938805 - Create standalone oscpResponseGenerator for testing. r=keeler 2013-10-29 14:02:35 -07:00
Mike Hommey
8f10c67fbb Bug 935305 - Move preprocessor to mozbuild.action. r=gps
--HG--
rename : config/Preprocessor.py => python/mozbuild/mozbuild/preprocessor.py
rename : config/tests/unit-Expression.py => python/mozbuild/mozbuild/test/test_expression.py
rename : config/tests/unit-LineEndings.py => python/mozbuild/mozbuild/test/test_line_endings.py
rename : config/tests/unit-Preprocessor.py => python/mozbuild/mozbuild/test/test_preprocessor.py
2013-11-09 10:35:44 +09:00
Dan Minor
c700277be8 Bug 929569 - jsshell package needs msvcp dll; r=glandium 2013-10-25 08:14:51 -04:00
Mike Hommey
6aeae2f437 Bug 926906 - Kill core_abspath, core_realpath and core_winabspath. r=gps 2013-10-17 07:55:16 +09:00
Brad Lassey
b201669cf0 bug 922145 - publish nightly builds of GeckoView library and assets r=ted 2013-10-08 14:00:37 -04:00
Nathan Froyd
4358187c3f Backout 8a4946c07c92 (bug 922145) for Android bustage on a CLOSED TREE 2013-10-08 21:12:21 -04:00
Brad Lassey
d64187c020 bug 922145 - publish nightly builds of GeckoView library and assets r=ted 2013-10-08 14:00:37 -04:00
Nick Alexander
9fd472da4b Bug 903534 - Part 2: Build and release-sign background.apk. r=glandium 2013-10-01 12:43:31 -07:00
Mark Finkle
19777831a9 Bug 880118 - Add support for disabling geckoview packaging r=glandium 2013-09-05 00:26:26 -04:00
Shane Tully
6574780c00 Bug 880118 - Integrate the GeckoView library into the build system r=cpeterson 2013-08-23 16:36:01 -07:00
Mike Hommey
4ee54d7eeb Bug 912377 - Fix build without MOZ_ENABLE_SZIP. r=ted 2013-09-04 23:46:09 +09:00
Chris Double
875f6fd955 Bug 888786 - Part 3: Remove Sony ICS device OMX workarounds in toolkit - r=khuey 2013-09-03 14:36:20 +12:00
Chris Double
02ba54ca86 Bug 812680 - Part 3: Remove HTC One X workarounds in toolkit - r=khuey 2013-09-03 14:35:10 +12:00
Chris Peterson
847bd93113 Back out 39ee92c06d6b (Bug 880118) because GeckoView breaks Android's l10n repacks 2013-08-28 15:41:12 -07:00
Shane Tully
231abf2e3a Bug 880118 - Integrate the GeckoView library into the build system. r=glandium 2013-08-23 16:36:01 -07:00
Ms2ger
8ccdba4aa0 Bug 906412 - Cleanup some random parts of the build system; r=mshal 2013-08-22 08:55:59 +02:00
Axel Hecht
049f495018 bug 848830, fix regression in app updater localization, r=glandium, rstrong
--HG--
extra : rebase_source : 66b4e3e55a05d4b74bd39a40c4768c620b74062a
2013-08-13 17:15:42 +02:00
Ed Morley
553e29c238 Bug 901898 - Remove codesighs now that it's no longer run in automation; r=gps 2013-08-12 13:10:41 +01:00
Bobby Holley
ea7a9f6f09 Bug 889911 - Switch xpcshell to SystemErrorReporter with a little bit of special magic. r=mrbkap
XPCShell currently overrides all the JSContexts whose creation it observes with
its own custom error reporter. This reporter does all sorts of funny things which
we try to clean up for the most part. But there are a few very intricate
considerations at play.

First, the old xpcshell error reporter does some mumbo jumbo with the
XPCCallContext stack to try to guess whether some other code might catch the
exception. This is total garbage on a number of fronts, particularly because
the XPCCallContext stack has no concept of saved frame chains, nested event
loops, sandbox boundaries, origin boundaries, or any of the myriad of
complicating factors that determine whether or not an exception will propagate.

So we get rid of it. But this causes some crazy debugger tests to fail, because
they rely on an exception from uriloader/exthandler/nsHandlerService.js getting
squelched, and can't handle anybody reporting errors to the console service at
the particular moment of contortionism when the exception is raised. So we need
to introduce an explicit mechanism to disable the error reporter here to keep
things running.

Second, we have to be very careful about tracking the return status of the
xpcshell binary. The old code would simply flag an error code if the error
handler was invoked, and we can mostly continue to do that. But there are some
complications. See the comments.

Finally, we don't anything analogous in XPCShellEnvironment, because I have
patches in bug 889714 to remove its state-dependence on the error reporter.
I'll switch it to SystemErrorReporter in that bug.
2013-07-16 20:38:44 -07:00
Ryan VanderMeulen
ec49bf763f Backed out 10 changesets (bug 889911, bug 889714) due to merge conflicts on a CLOSED TREE.
Backed out changeset 1a1a536121da (bug 889714)
Backed out changeset 2cd88ef9eea5 (bug 889714)
Backed out changeset 489723887eca (bug 889714)
Backed out changeset 2b38ce22cf97 (bug 889714)
Backed out changeset 87b0a59a5d51 (bug 889714)
Backed out changeset 13229bab2ba4 (bug 889714)
Backed out changeset 234bd6d1fbed (bug 889714)
Backed out changeset 4f5f62284917 (bug 889714)
Backed out changeset 18537c4436c7 (bug 889911)
Backed out changeset ca7060ab1588 (bug 889911)
2013-07-16 21:16:31 -04:00
Bobby Holley
b5be668356 Bug 889911 - Switch xpcshell to SystemErrorReporter with a little bit of special magic. r=mrbkap
XPCShell currently overrides all the JSContexts whose creation it observes with
its own custom error reporter. This reporter does all sorts of funny things which
we try to clean up for the most part. But there are a few very intricate
considerations at play.

First, the old xpcshell error reporter does some mumbo jumbo with the
XPCCallContext stack to try to guess whether some other code might catch the
exception. This is total garbage on a number of fronts, particularly because
the XPCCallContext stack has no concept of saved frame chains, nested event
loops, sandbox boundaries, origin boundaries, or any of the myriad of
complicating factors that determine whether or not an exception will propagate.

So we get rid of it. But this causes some crazy debugger tests to fail, because
they rely on an exception from uriloader/exthandler/nsHandlerService.js getting
squelched, and can't handle anybody reporting errors to the console service at
the particular moment of contortionism when the exception is raised. So we need
to introduce an explicit mechanism to disable the error reporter here to keep
things running.

Second, we have to be very careful about tracking the return status of the
xpcshell binary. The old code would simply flag an error code if the error
handler was invoked, and we can mostly continue to do that. But there are some
complications. See the comments.

Finally, we don't anything analogous in XPCShellEnvironment, because I have
patches in bug 889714 to remove its state-dependence on the error reporter.
I'll switch it to SystemErrorReporter in that bug.
2013-07-16 18:04:49 -07:00
Xavier Fung
221217ebbf Bug 888158 - Make configure to detect Visual Studio 2013 compiler. r=ted 2013-07-03 10:52:32 +09:00
Nick Alexander
eb3d11a9d7 Bug 887115 - Make Android packager expect omnijar in root directory. r=glandium 2013-07-02 12:00:34 -07:00
Nick Alexander
3f84ff17ac Bug 888646 - Update missed use of SimpleManifestSink API. r=trivial
This is a simple follow-up to Bug 887121.
2013-06-29 20:15:08 -07:00
Nick Alexander
8865454ccd Bug 887121 - Make packager install and szip .so libraries in assets/ directly. r=glandium
This adds a Component type to the mozbuild.mozpack package manifest
parser, and teaches the packager to accept components of the form
[name destdir="dir"].  Then we update the Android package manifest and
simplify the packager code.

I would have liked to make the packager put mozglue.so and
MOZ_CHILD_PROCESS_NAME in lib/$(ABI_DIR) directly, but this turned out
to be awkward.  Since MOZ_CHILD_PROCESS_NAME needs to have lib/ in its
name to load successfully on Android, we would have to add notation in
package manifests to install bin/lib/*plugin-container* to
lib/$(ABI_DIR)/*plugin-container*.
2013-06-28 09:10:57 -07:00
Ryan VanderMeulen
69faa42ffb Merge m-c and inbound. 2013-06-24 14:02:59 -04:00
Nick Alexander
5dea3e088b Bug 873569 - Follow-up: don't delete assets/omni.ja during unpack. r=me
The issue is that in INNER_UNMAKE_PACKAGE I was deleting
assets/omni.ja, which is needed in INNER_MAKE_PACKAGE.  This breaks
language repacks.  This fix should at least allow repacks to proceed
further.
2013-06-24 09:55:21 -07:00
David Keeler
ad7bcb2bf7 bug 700693 - OCSP stapling testing r=bsmith 2013-06-20 11:41:41 -07:00
Ryan VanderMeulen
211dccca9c Backed out changesets 448ba56d9ba4 and 8cea4b4646ef (bug 700693) for intermittent failures. 2013-06-20 19:50:13 -04: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
David Keeler
bd2a95a26c bug 700693 - OCSP stapling testing r=bsmith 2013-06-20 11:41:41 -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
Masatoshi Kimura
92f12ba5ea Bug 883855 - Add "delete" value support to AddHandlerValues and AddDDEHandlerValues. r=bbondy 2013-06-18 23:02:53 +09:00
Masatoshi Kimura
0ca1460845 Bug 882624 - Update comments. r=bbondy 2013-06-18 20:37:28 +09:00
Masatoshi Kimura
3d9f7a3b04 Bug 882624 - Remove "URL Protocol" from FirefoxURL key. r=bbondy 2013-06-17 23:08:55 +09:00
Nick Alexander
684cc56c32 Bug 873569 - Part 2: Move Gecko .so libraries into assets/ directory of Android APK. r=glandium 2013-06-12 13:24:30 -07:00
Martin Stransky
9386e8c35b Bug 877626 - Port GTK2 to GTK3 - build config - xpcom, toolkit, accessible, xulrunner dirs. r=ted, r=karlt 2013-06-10 08:36:26 -04:00