Commit Graph
2707 Commits
Author SHA1 Message Date
Mike Hommey c986e22410 Bug 1241022 - Move JAR_MANIFESTS. r=gps
JAR_MANIFESTS affects the libs tiers through config/rules.mk rules.
While we could move the rules in the backend, they are too complex to
just do that now.
2016-01-21 13:54:03 +09:00
Mike Hommey d7e0ba04ff Bug 1241022 - Move GENERATED_FILES. r=gps
GENERATED_FILES impacts the export tier through the config/rules.mk
definitions, now moved to the backend itself, so that everything is
close to each other.
2016-01-21 13:54:03 +09:00
Mike Hommey 793b7740f2 Bug 1241022 - Move ANDROID_*_DIRS, ANDROID_EXTRA_PACKAGES, ANDROID_ECLIPSE_PROJECT_TARGETS and JAVA_JAR_TARGETS. r=gps
Those are non-passthru variables with the same property as
ANDROID_GENERATED_RESFILES, ANDROID_APK_NAME and ANDROID_APK_PACKAGE, in
that they don't affect tiers through the backend code itself, but from
the Makefile.in along the moz.build they are defined in.
2016-01-21 13:54:03 +09:00
Mike Hommey c0df1e2fb8 Bug 1241022 - Move ANDROID_GENERATED_RESFILES, ANDROID_APK_NAME, ANDROID_APK_PACKAGE. r=gps
The are passthru variables that don't actually affect any tier per the
backend itself. They do affect the `export` tier by way of the Makefile.in
along the moz.build defining them, and the existence of those
Makefile.in already guarantees those directories not to be skipped for
`export`.
2016-01-21 13:54:03 +09:00
Mike Hommey 06acfc0e36 Bug 1241022 - Do not handle HAS_MISC_RULE with affected_tiers. r=gps
This initiates a move off affected_tiers in VARIABLES definition to
explicit in-backend handling, which will hopfully make things clearer.

HAS_MISC_RULE is currently used to opt-in to the misc tier in a few
directories with a misc:: rule.  It is, in fact, mostly used for custom
xpi creation, which will be separately addressed in bug 1240676, so it
will eventually go away entirely, but in the meantime, we send it as a
throwaway passthru.
2016-01-21 13:54:03 +09:00
Mike Hommey bde79210cc Bug 1241022 - Handle all tiers as opt-in in the recursive make backend. r=gps
Historically, all tiers were handled as opt-out (may_skip), until we
added the first opt-in tier (no_skip). It doesn't make much sense to
differentiate them anymore, so handle them all as opt-in.
2016-01-21 13:54:03 +09:00
Mike Hommey 55280a9ebe Bug 1240990 - Define all backends in one place. r=gps
When adding a backend, we currently have to add them in three different
places so that they appear in the right places.

Instead, keep the list in a single place.
2016-01-21 13:54:03 +09:00
Mike Hommey 795cb104f9 Bug 1240945 - Add a --verbose option to mach package. r=mshal 2016-01-21 13:54:03 +09:00
Chris Manchester 5a076b05ca Bug 1240530 - Bump the taskcluster version installed by |./mach artifact| to avoid installing an out-dated requests. r=nalexander
Currently |./mach artifact| installs an old version of the taskcluster client,
which installs an old version of requests that's incompatible with commonly
installed python versions. This bumps to a version of taskcluster client that
accepts and requests version < 3, so we pick up the in-tree version instead of
installing 2.4.3.
2016-01-19 16:00:11 -08:00
Carsten "Tomcat" Book c765b529cf merge mozilla-inbound to mozilla-central a=merge 2016-01-20 15:34:34 +01:00
Mike Hommey abeab36d00 Backout changeset de0a7a1cdc4a from bug 1240660 for make package bustage on a CLOSED TREE 2016-01-20 08:03:58 +09:00
Mike Hommey 584ba4ea00 Bug 1240671 - Move FINAL_TARGET_PP_FILES and TEST_HARNESS_FILES to the misc tier. r=gps 2016-01-20 07:24:40 +09:00
Mike Hommey f50765043a Bug 1240660 - Move jar_maker to the misc tier, now that ordering does't matter. r=gps 2016-01-20 07:24:40 +09:00
Mike Hommey 38337556d8 Bug 1240660 - Remove support for the "+" prefix in jar manifests. r=gps 2016-01-20 07:24:40 +09:00
Mike Hommey ab5bb6ed55 Bug 1237140 - Add support for local defines in generate_symbols_file. r=gps
generate_symbols_file only supports the global defines, and completely
ignores DEFINES from the same moz.build the SYMBOLS_FILE is defined.
This fixes this misfeature.
2016-01-20 07:24:40 +09:00
Mike Hommey 64892a56ae Bug 1237140 - Allow file_generate scripts to take additional flags. r=gps
Currently, file_generate scripts can only accept input and output file
name, but sometimes, one would like for them to take additional flags.
2016-01-20 07:24:40 +09:00
Mike Hommey d1edb50fb4 Bug 1237140 - Move DefinesAction from mozbuild.action.process_install_manifest to mozbuild.util. r=gps 2016-01-20 07:24:40 +09:00
Panos Astithas 59690dfb64 Bug 1143698 - Selecting macports on Yosemite fails out. r=gps 2016-01-20 00:00:41 +02:00
Panos Astithas 043e8aa8f9 Bug 1114382 - Implement |mach bootstrap| for mobile/android on OS X with macports package manager. r=nalexander 2016-01-19 14:19:55 +02:00
Jim Chen 998d117a81 Bug 1240082 - Remove ant requirements; r=nalexander 2016-01-13 13:19:23 -05:00
Chris Manchester 3aa8103769 Bug 1240323 - Fix installation of binary components in a subdir of dist/bin for linux artifact builds. r=nalexander
A recent change regressed this behavior -- while an artifact build runs, it
doesn't load certain "about:" pages due to missing libraries in subdirectories
of dist/bin.
2016-01-16 18:13:47 -08:00
Gregory Szorc fa10ec9092 Bug 1239880 - Don't copy thousands of web-platform test files to objdir; r=chmanchester
AFAICT, we don't actually access web-platform test files from the
objdir for anything except test packaging. And we already have
a mechanism for creating test archives from files directly in the
source directory. So, let's stop copying them to the objdir and
package them directly from the source directory!

The _tests install manifest reports the following change:

before: 41,977 files installed
after:  24,537 files installed
delta: -17,440 files

We still copy some WPT files to the objdir. We might be able to
eliminate these as well. However, since there are only ~200 files,
I'm not too concerned.

I manually compared the resulting web-platform zip archives from before
and after. No files were removed from the archive. However, the new
archive does gain several hundred empty directories with .gitkeep
files. This feels weird, but it shouldn't break anything (I would
think). I'm inclined to leave them for now. I'll file a follow-up
bug to deal with them (preferably by removing them from version
control).
2016-01-15 20:09:12 -08:00
Wes Kocher 8d0045f6d4 Merge m-c to inbound, a=merge CLOSED TREE 2016-01-15 15:13:21 -08:00
Mike Hommey b78cec1917 Bug 1239872 - Prevent jar maker from installing the same file twice. r=gps
The faster make backend cannot support such things, so it's better to
avoid unsupported things to slip in because it happens that doesn't
break what automation runs.
2016-01-16 07:19:08 +09:00
Mike Hommey 9b753545f6 Bug 1239169 - Check that files exist before marking them for removal during install manifest processing. r=gps 2016-01-16 07:19:08 +09:00
Carsten "Tomcat" Book 7b5057fbf1 Backed out changeset a87a27864bb8 (bug 1223385) 2016-01-15 13:51:54 +01:00
Carsten "Tomcat" Book e27a7ede7f merge mozilla-inbound to mozilla-central a=merge 2016-01-15 11:46:47 +01:00
Jim Chen ce4d025e2a Bug 1223209 - Clean up old GeckoView library files; r=nalexander
Right now, each incremental build produces a new set of GeckoView
library files, but the previous files don't get cleaned up, and you end
up with a bunch of old libraries in your objdir. This patch cleans up
the old files before producing new ones.
2016-01-14 18:20:02 -05:00
Nick Alexander fb0f6a6460 Bug 1239738 - Handle artifact builds with no test binaries cleanly. r=ahunt
DONTBUILD NPOTB on a CLOSED TREE
2016-01-14 09:38:48 -08:00
Gijs Kruitbosch 4a882b16b4 Bug 1239678 - fix dll inclusion pattern on Windows and the placement of nested dlls like browsercomps and clearkey, r=nalexander 2016-01-14 14:56:59 +00:00
Chris Manchester 26dfa37616 Bug 1238320 - Part 3 (Windows): Download test binaries necessary to run xpcshell tests and mochitests in artifact builds. r=nalexander 2016-01-13 21:56:36 -08:00
Chris Manchester 9d5ee12daa Bug 1238320 - Part 2 (Mac): Download test binaries necessary to run xpcshell tests and mochitests in artifact builds. r=nalexander 2016-01-13 21:56:36 -08:00
Chris Manchester 91cb683aba Bug 1238320 - Part 1 (Linux): Download test binaries necessary to run xpcshell tests and mochitests in artifact builds. r=nalexander 2016-01-13 21:56:36 -08:00
Ryan VanderMeulen 9a01760695 Merge m-c to inbound. a=merge 2016-01-13 20:27:12 -05:00
Ryan VanderMeulen b9c83e5361 Merge inbound to m-c. a=merge 2016-01-13 20:25:33 -05:00
Gregory Szorc 47e2b05b1e Bug 1232580 - Install py27-readline on MacPorts; r=Yoric
See https://trac.macports.org/ticket/48807. Without it, reading
input can break terminals.
2016-01-12 12:25:52 -08:00
Carsten "Tomcat" Book 6c62528bc7 Merge mozilla-central to fx-team 2016-01-13 11:59:17 +01:00
Carsten "Tomcat" Book 199e3c64bc merge mozilla-inbound to mozilla-central a=merge 2016-01-13 11:57:15 +01:00
Axel Hecht 7c94ac1c8f Bug 1223385 - use in-tree compare-locales in Makefiles, r=gps
Also fix that the default merge dir in the mach command creates a directory
that's the merge make target, and thus keeps that make target from actually
running.
2016-01-08 16:37:52 +01:00
Axel Hecht f976354802 Bug 1237678 - update compare-locales to version 1.0. r=mathjazz
changeset: 300933:aa4e0275bb3c
tag: tip
user: Axel Hecht <[email protected]>
summary: bug 1237678, update compare-locales to version 1.0, r=mathjazz
2016-01-09 17:13:13 +01:00
Bryce Van Dyk 1763ec7710 Bug 1239096 - Improve English is artifacts.py comments. r=me 2016-01-13 10:46:28 +13:00
Dan Minor e2edf2d876 bug 1237619: Record build objects in resource_usage.json r=gps
Collecting the list of object files compiled, while not ideal, will give us
some indication of how much work was involved in the build. This will help
with analyzing the data.
2016-01-12 14:00:24 -05:00
Dan Minor 88bc2c3be9 bug 1237619: Add system and command metadata to resouce_usage.json r=gps
This adds metadata about the local system to resource_usage.json that will
be useful for analysis when we start collecting these results. Some of it
is redundant with data collected for individual tiers, but having it
available at a top level should make analysis easier.
2016-01-13 06:42:51 -05:00
Dan Minor 0df72a818e bug 1237619: save resource usage for "what" builds r=gps
This moves monitor start/end recording so it also occurs for "what"
builds rather than only for full builds.
2016-01-07 14:18:36 -05:00
Nick Alexander f24b104f73 Bug 1234912 - Check for mozext and pushlog entries after |mach artifact install| hg failure. r=gps
Pushing on a CLOSED TREE after network errors.
2016-01-06 21:19:49 -08:00
Nick Alexander 6b11d83bad Bug 1236110 - Extend mach artifact to handle Linux Desktop builds. r=gps 2016-01-06 20:15:21 -08:00
Gijs Kruitbosch 08828441f7 Bug 1236111 - part 4: actually add Windows support to artifact code, r=nalexander,gps 2016-01-05 14:58:22 +00:00
Gijs Kruitbosch e5c378c5ed Bug 1236111 - part 3: ensure calls to hg and mach work on Windows, and that we use the right file mode when writing artifacts, r=nalexander,gps 2016-01-05 14:57:24 +00:00
Gijs Kruitbosch 61015c6e6b Bug 1236111 - part 2: fix mozbuild to use the file mode modifiers specified for opening when writing a FileAvoidWrite, r=gps,nalexander 2016-01-05 14:46:24 +00:00
Gijs Kruitbosch 8033b5e500 Bug 1236111 - part 0: improve logging from process mixin, r=gps 2016-01-05 11:13:05 +00:00