Commit Graph

943 Commits

Author SHA1 Message Date
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
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Ted Mielczarek
e939eeb1b1 bug 1203573 - add a MOZ_SIMPLE_PACKAGE_NAME variable to simplify package naming for taskcluster's benefit. r=gps
--HG--
extra : commitid : CMb2NHCjHCw
extra : rebase_source : 5f1e994da6283c43076d12b524b17c40dbd57a88
2015-09-10 15:46:18 -04:00
Julien Pagès
e86114031c Bug 787200 - Move the Talos code into mozilla-central: create the talos test .zip file. r=ted 2015-08-27 10:51:32 +02:00
Mike Shal
66d8bc270e Bug 1198179 - Kill gen_mach_buildprops.py; r=ted 2015-08-25 11:42:44 -04:00
Wes Kocher
2c5f95092c Backed out changeset e1833c2684f0 (bug 1079858) for windows xpcshell failures CLOSED TREE 2015-09-08 12:58:03 -07:00
Ben Hearsum
176963d18e bug 1079858: switch to SHA-2 authenticode signatures. r=catlee 2015-09-08 10:44:17 -04:00
Nick Alexander
f9c8f1d6cb Bug 1180461 - Part 2: Package gaia into b2gdroid APK. r=glandium
--HG--
extra : commitid : 7KfiNO72sIb
extra : rebase_source : 956738992293b75182d452734c08a50a03f31c17
2015-08-25 13:23:51 -07:00
Mike Shal
f8b5cc7df3 Bug 1118778 - Write upload properties from upload.py; r=glandium 2015-08-05 15:43:15 -04:00
Ryan VanderMeulen
efce95618e Merge fx-team to m-c. a=merge 2015-08-13 11:00:54 -04:00
Edwin Flores
b587e1f835 Bug 1135320 - Re-enable voucher.bin generation on Win64 - r=cpearce 2015-08-13 16:08:46 -07:00
Nick Alexander
61a6ae674e Bug 1160563 - Part 2: Make ANDROID_ASSETS_DIRS a moz.build variable. r=gps
We have had singular ANDROID_ASSETS_DIR in Makefile.in for a while.
Fennec itself does not use the existing Makefile.in Android code, for
complicated historical reasons.

This makes the existing variable moz.build-only; generalizes the
existing variable to an ordered list; and adds the equivalent use of
the new list to the Fennec build, with a simple example asset.

This patch also updates the packager to include assets packed into the
gecko.ap_.  Without the packager change, the assets/ directory in the
ap_ gets left out of the final apk.  This whole approach is totally
non-standard but is more or less required to support our single-locale
repack scheme.

--HG--
extra : commitid : 4EAh1UNGNWT
extra : rebase_source : 5e5b4c4a120c3b4cc776c9f9380ddd2f9b63587e
extra : source : 0ddce3eb833e6d6180a19928a9b45d5d12f1d7fa
2015-08-12 11:04:03 -07:00
Ted Mielczarek
de9027084a bug 1190522 - Rewrite pkg-dmg as a Python script. r=gps
--HG--
extra : commitid : 8CKCtjFc6wl
extra : rebase_source : bc51508f3708a7a7af8fe48bdbcb0d787bf77362
extra : source : bca1ad6cc3781af4b8c8667ccb3c29e5bcb50ea9
2015-08-03 15:40:04 -04:00
Mike Shal
115ca1ae64 Bug 1192068 - Use long hg revision for sourcestamp in mozharness; r=gps,jlund 2015-08-06 15:39:38 -04:00
Ryan VanderMeulen
e65de54860 Backed out revision bca1ad6cc378 (bug 1190522) for breaking OSX B2G Desktop builds.
--HG--
extra : rebase_source : 5f17fac55c77c9566e68c0de4658947034cfdc0f
2015-08-06 15:43:45 -04:00
Ted Mielczarek
109add737e bug 1190522 - Rewrite pkg-dmg as a Python script. r=gps
--HG--
extra : commitid : 4xZjKDFBFp1
extra : rebase_source : 01fa275cd594a66c523b04857b180ec7fde5b3c8
2015-08-03 15:40:04 -04:00
Nick Alexander
06a15a258d Bug 1189459 - Allow generating geckoview AAR files when MOZ_APP_NAME is not 'fennec'. r=gps
This just allows a little versatility for consumers such as b2gdroid,
which are Fennec-like but don't have MOZ_APP_NAME=fennec.

I elected to pass appname as a parameter rather than modify the
existing distdir because I expect to want to differentiate, in some
way, the output AAR files based on the underlying name.  That is, in
future we might generate geckoview-fennec-VERSION.aar and
geckolibs-b2gdroid-VERSION.aar, or stuff the name into the Ivy version
information, or...

This also fixes a typo in one of the JarFinder instantiations.

--HG--
extra : commitid : CnJKouGgkh1
extra : rebase_source : 5767e66ea53e14dd6468adec741773a02a6e2d3a
2015-07-30 11:50:44 -07:00
David Keeler
59ef11f506 bug 1188100 - fold PSM's test_client_cert.js into necko's test_tls_server.js r=mcmanus
--HG--
rename : security/manager/ssl/tests/unit/test_client_cert/cert_dialog.js => netwerk/test/unit/client_cert_chooser.js
rename : security/manager/ssl/tests/unit/test_client_cert/cert_dialog.manifest => netwerk/test/unit/client_cert_chooser.manifest
extra : amend_source : 249efd8e1bc537cf14b3199865df18b8aba62d10
2015-07-29 14:27:54 -07:00
Mike Hommey
6314baa69b Bug 1165512 - Generate one SDK per universal-build architecture. r=mshal 2015-07-30 08:49:31 +09:00
Rail Aliiev
e2513278b2 Bug 1184087 - L10N nightly repacks should not upload mar tools. Fix en-US typo. r=mshal 2015-07-18 14:48:22 -04:00
Mike Hommey
0d6cf23aa9 Bug 1184446 - Remove manual package manifest preprocessing. r=mshal
packager.py itself has been able to do preprocessing since the beginning.
For some reason, Makefile.in-driven preprocessing was kept back then, and
never was removed, and even worse, concatenation was added on top of it.

There is however a downside to the current way of doing things: error
reporting is given relative to the given manifest, which in the current
case is the preprocessed/concatenated file, so line numbers don't match
what is in the file in the source tree. However, when packager.py does
preprocessing itself, line numbers are reported properly.

Thus, switch all package manifests to packager.py-driven preprocessing.
2015-07-17 06:45:14 +09:00
Rail Aliiev
36a4c5504c Bug 1184087 - L10N nightly repacks should not upload mar tools. r=mshal 2015-07-15 13:49:46 -04:00
Chris Manchester
520c336650 Bug 1181255 - Turn off tsan checking during packaging. r=glandium
--HG--
extra : commitid : 1vBQaP9xtp4
2015-07-14 18:45:54 -07:00
Kyle Machulis
8058218a2d Bug 1176300 - Add lgpllibs library to build system; r=glandium 2015-07-07 21:17:08 -07:00
Rail Aliiev
ccac184650 Bug 1179289 - Source package should use consistent prefix directory. r=glandium 2015-07-02 07:19:25 -04:00
Chris Manchester
45d89ea4b0 Bug 917999 - Part 3.1 - Prepare taskcluster for a split test package.;r=jlal
--HG--
extra : commitid : 5oxFfiP3bQ0
2015-06-29 11:16:51 -07:00
Chris Manchester
10708b0069 Bug 917999 - Part 3 - Split tests into harness specific zips.;r=ted
--HG--
extra : commitid : Fa3NZirrZVY
2015-06-29 11:16:50 -07:00
Nick Alexander
f2870bd3a6 Bug 1174757 - Pre: Don't archive geckoview resources when not necessary. r=glandium
This is a small optimization that will also make it easier to flip the
MOZ_DISABLE_GECKOVIEW conditional.  We don't currently package
geckolibs without geckoview, and it's reasonable to do both if we want
one.

--HG--
extra : commitid : FcLlG6E3PRQ
extra : rebase_source : ea22994bfa6815468763128995d41c0d6c625d60
extra : histedit_source : a25e0c5c4b5a97bde8871b5e4139e0f0fd4f6a36
2015-06-25 16:48:15 -07:00
Nick Alexander
0a6017a1af Bug 1162191 - Add |mach artifact| for installing downloaded Fennec binaries. r=gps
DONTBUILD ON A CLOSED TREE: Android-only and the build changes are cosmetic.

Very much a first cut, but I'd like to get some Fennec early adopters testing.

This adds:

* |mach artifact install| to fetch and install Fennec binaries;
* |mach artifact last| to print details about what was last installed;
* |mach artifact {print,clear}-caches|, for debugging.

This code is exposed as a new mozbuild.artifacts Python but it's not
particularly general.  My intention was to get things out of the mach command
more than produce a general artifact fetching API.  We can leave that bike
shed to Bug 1124378.

I've been testing this with --disable-compile-environment and it works well
locally, although there's no reason a knowledgeable developer couldn't use
this in conjunction with a fully-built tree.  (I don't know when such a
situation would arise, but I know of no technical impediment.)

--HG--
extra : commitid : 1T28aVfArqF
extra : rebase_source : b8c11244de8be0a14d605853f30cd47312d0a4ba
extra : histedit_source : 78a224501cd3cf0f86707c9c9549b61b4b248ba7
2015-06-24 23:12:00 -07:00
Mike Hommey
d4a77c946b Bug 1173681 - Remove winEmbed. r=bsmedberg 2015-06-23 08:54:04 -07:00
"Chris AtLee"
75893d5579 Bug 807637: Use xz to compress source tarballs r=mshal
DONTBUILD because NPTOB

--HG--
extra : rebase_source : fdef1de7652edde8ae0a028bb8d14ac6d5405734
2015-06-16 14:59:58 -04:00
Nick Thomas
4fbffd3aca Bug 1160514: Use osslsigncode for 32-bit signing r=ted 2015-06-05 12:05:14 +12:00
Bobby Holley
4b34155f9f Bug 1162187 - Remove ignoreReportedErrors. r=glandium
Now that we don't have to worry about XPCShellErrorReporter being invoked at
weird times, we can get rid of this nastiness - though it unfortunately means
getting rid of one of my best comments in the tree. :-(
2015-05-26 13:51:49 -07:00
Bobby Holley
84b3f3d11f Bug 1162187 - Fix up precompile_cache. r=glandium 2015-05-26 13:51:46 -07:00
Mike Hommey
622e7d63a3 Bug 1166538 - Use zip py_action in a few places. r=gps 2015-05-21 15:17:02 +09:00
Mike Hommey
4a4cc01c62 Bug 1166538 - Make it more straightforward, path-wise, to change $(ZIP) uses to the zip py_action. r=gps 2015-05-21 15:17:01 +09:00
Mike Hommey
aa8f7a51f7 Bug 1166538 - Make dozip.py a py_action. r=gps
--HG--
rename : toolkit/mozapps/installer/dozip.py => python/mozbuild/mozbuild/action/zip.py
2015-05-21 15:17:00 +09:00
Mike Taylor
f7fb518e7a Bug 1162099 - Add ua-update.json to the package manifest + DIST_FILES. r=mfinkle, r=nalexander 2015-05-13 21:57:00 -04:00
Chris Manchester
95c63446e0 Bug 917999 - Part 1 - Write out and upload a manifest of test archives and the harnesses that depend on them.;r=ted 2015-05-15 11:30:24 -07:00
Wes Kocher
aaf453abe1 Merge m-c to inbound a=merge CLOSED TREE 2015-05-13 11:31:27 -07:00
Mike Shal
24bf2e48f0 Bug 1146713 - Don't export NO_PKG_FILES (fix ssltunnel in b2g); r=glandium 2015-05-12 11:26:19 -04:00
Robert Strong
5ef206b47a Followup for Bug 1161661 - Provide progress and state feedback via the stub installer taskbar icon. r=spohl 2015-05-12 19:40:23 -07:00
Robert Strong
3095c1966b Bug 1161661 - Provide progress and state feedback via the stub installer taskbar icon. r=bbondy 2015-05-12 19:40:15 -07:00
Phil Ringnalda
5b66441580 Back out 39fdaf04c690 (bug 1161661) for Windows nightly bustage building the stub installer 2015-05-09 08:00:10 -07:00
Robert Strong
7221302f38 Bug 1161661 - Provide progress and state feedback via the stub installer taskbar icon. r=bbondy 2015-05-07 10:35:00 -07:00
Kartikaya Gupta
cd5b55f8d6 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Mike Hommey
082f551b9a Bug 1147207 - Allow to give extra l10n directories to l10n-repack.py. r=gps
This allows to use separate l10n staging directories for e.g. addons.
2015-03-31 12:32:53 +09:00
Mike Hommey
525ae5030d Bug 1147283 - Replace mozpack.path with mozpath. r=mshal
Back when mozpack.path was added, it was used as:

  import mozpack.path
  mozpack.path.func()

Nowadays, the common idiom is:

  import mozpack.path as mozpath
  mozpath.func()

because it's shorter.

$ git grep mozpath\\. | wc -l
423
$ git grep mozpack.path\\. | wc -l
123

This change was done with:
$ git grep -l mozpack.path\\. | xargs sed -i 's/mozpack\.path\./mozpath./g'
$ git grep -l 'import mozpack.path$' | xargs sed -i 's/import mozpack.path$/\0 as mozpath/'
$ (pat='import mozpack.path as mozpath'; git grep -l "$pat" | xargs sed -i "1,/$pat/b;/$pat/d")
2015-03-27 08:13:16 +09:00
Mike Hommey
3bf6773d2f Bug 910660 - Make the SimplePackager emit a separate base for addons. r=gps
Addons are detected by the presence of an install.rdf file in their base.
2015-03-24 09:10:33 +09:00
Mike Shal
47434653c0 Bug 1137000 - Enable SDK building on nightlies; r=glandium 2015-03-17 15:29:07 -04:00