Commit Graph
5079 Commits
Author SHA1 Message Date
Geoff Brown 60ca7d92b1 Bug 945975 - Add mach support for Android xpcshell tests; r=ted 2013-12-13 21:20:39 -07:00
Mike Hommey b7d9fed971 Bug 949334 - Use FINAL_LIBRARY for webrtc. r=gps 2013-12-14 11:38:53 +09:00
Gregory Szorc f8bbd36a6f Bug 949304 - Print Makefile counts during config.status; r=glandium
We now capture and print the number of Makefile.in and the number of
generated Makefile as part of config.status. This should give us a nice,
easy to extract metric going forward.

Pushing on a CLOSED TREE because this patch didn't deserve to get backed
out.
2013-12-13 00:03:55 +09:00
Carsten "Tomcat" Book cdfc43374a Backed out changeset 273e7ed05fa3 (bug 949304) for Windows Bustage on a CLOSED TREE 2013-12-13 12:46:03 +01:00
Gregory Szorc b74f148f41 Bug 949906 - Add a callback to modify evaluated moz.build sandboxes, fix Sphinx docs; r=glandium 2013-12-13 16:06:53 +09:00
Gregory Szorc 307c8d756b Bug 949304 - Print Makefile counts during config.status; r=glandium
We now capture and print the number of Makefile.in and the number of
generated Makefile as part of config.status. This should give us a nice,
easy to extract metric going forward.
2013-12-13 00:03:55 +09:00
Gregory Szorc c75ffc75a9 Bug 928195 - Part 4: Rewrite WebIDL build system integration; r=bz, r=glandium
WebIDL build system integration has been rewritten from the ground up.
Changes:

* GlobalGen.py, BindingGen.py, and ExampleGen.py have been removed in
  favor of mozwebidl.py.

* Static .webidl files are now processed directly in their original location
  and aren't copied to the object directory.

* Generated events <stem>.cpp files are now compiled into the unified
  sources. Previously, only the <stem>Binding.cpp files were compiled
  into unified sources.

* Exported .h files are now generated directly into their final location.
  Previously, they were generated into the local directory then
  installed in their final location.

* The list of globalgen-generated files now lives in Python and isn't
  duplicated in 3 places.

* The make dependencies are much simpler as a result of using a single
  command to perform all code generation. The auto-generated .pp file from
  code generation sets up all dependencies necessary to reinvoke code
  generation and Python takes care of dependency management.
2013-12-12 16:26:38 +09:00
Mike Hommey f5178a5829 Bug 778236 - Remove EXTERNAL_MAKE_DIRS and PARALLEL_EXTERNAL_MAKE_DIRS. r=gps 2013-12-12 23:41:06 +09:00
Mike Hommey cfa40576c9 Bug 778236 - Treat gyp files as if their content was defined in moz.build files. r=gps 2013-12-12 23:41:05 +09:00
Nick Alexander 8cb08d8060 Bug 934646 - Part 3: Declare Android resource directories relative to $SRCDIR. r=glandium,gps,mfinkle 2013-12-11 21:20:07 -08:00
Gregory Szorc 71001b1f06 Bug 939367 - Allow Sphinx docs to come from all over the tree; r=glandium 2013-11-20 12:37:22 -08:00
Gregory Szorc 7f670ac533 Bug 941245 - Allow FileFinder to ignore patterns; r=glandium 2013-11-20 13:12:21 -08:00
Mike Hommey 0d566eb96e Bug 949265 - Use contextual topsrcdir/topobjdir for preprocessed files during config.status. r=gps 2013-12-12 13:32:30 +09:00
Gregory Szorc 8b3e6be4fe Bug 948787 - Print diffs during config.status; r=glandium
Build system developers commonly need to see what changes have on the
generated build files. We often put our objdir under version control and
diff commits before and after running config.status.

This patch adds a --diff option to config.status that will print diffs
of changes made during config.status. This functionality is implemented
on top of FileAvoidWrite, using Python's built-in diffing library.

While display of diffs is opt-in, diffs are always being captured when
config.status runs. There could be an unwanted performance regression
from this. Because diffs are only computed if files change and most
files don't change during most config.status runs, this greatly reduces
the surface area of the concern. The area for largest concern is clobber
builds. On my machine, I measured an increase of 0.2 to 0.3s from 2.0s.
While this is 10-15%, the total time is so small that I don't feel
snaking a "capture diff" flag through the build system is worth the
effort. This would make a decent followup bug if this turns out to be a
problem in the future.

I also snuck in a change to reindent all-tests.json because displaying
diffs for this massive 11MB all-in-one-line JSON file results in an
extremely large string being printed to my terminal.
2013-12-11 13:06:56 +09:00
Gregory Szorc 6220bdc9c6 Bug 948272 - Report more timings from moz.build; r=glandium
The big change is we now explicitly record time spent in emitter.py. We
also report how much untracked time was measured.
2013-12-10 14:26:10 +09:00
James Willcox 7778b5c256 Bug 948599 - Add lldb support to 'mach debug' r=ehsan,gps 2013-12-11 09:09:50 -06:00
Gregory Szorc 6f1c2eb244 Bug 944842 - Record and warn about swapping during builds; r=glandium 2013-12-09 18:58:13 +09:00
Mike Hommey 5b17d83902 Fixup for bug 948275 fixing windows bustage and avoiding a forced clobber. r=gps 2013-12-11 16:02:27 +09:00
Mike Hommey 092356c60d Bug 948275 - Refactor handling of CONFIGURE_SUBST_FILES and CONFIGURE_DEFINE_FILES. r=gps 2013-12-11 15:20:38 +09:00
Mike Hommey acfa733d9c Bug 948275 - Use mozpack.path instead of os.path in mozbuild.frontend and mozbuild.backend modules. r=gps 2013-12-11 15:20:31 +09:00
Mike Hommey e3b2ae3438 Bug 948275 - Keep track of backend files by objdir instead of by srcdir. r=gps 2013-12-11 15:19:58 +09:00
Mike Hommey 5d00468c8d Bug 948209 - Remove mozbuild.config. r=gps 2013-12-11 10:59:02 +09:00
Mike Hommey 01e98b6834 Bug 947804 - Finish to kill BOTH_MANIFESTS. r=gps 2013-12-09 16:30:06 +09:00
Gregory Szorc 04662b5d33 Bug 934739 - Part 2: Add pattern matches to install manifests; r=glandium
This patch adds pattern matching entries to install manifests. We store
metadata necessary to construct a pattern match at a later point in
time. When we convert the install manifest to a file registry, we
resolve the patterns using FileFinder.

The build config logic has been updated to store support-files values as
pattern entries. This should resolve the clobber needed issue and make
the local development experience more pleasant as well.
2013-12-09 19:02:35 +09:00
Ryan VanderMeulen b9ac3ccfd0 Backed out changesets 572624d76edf and 17a5f2e554e8 (bug 934739) for causing bug 947879. 2013-12-09 17:24:14 -05:00
Ryan VanderMeulen 029053669a Merge inbound to m-c. 2013-12-09 16:45:25 -05:00
Mike Hommey 885edfdc90 Bug 945042 - Add moz.build infrastructure to replace NO_PROFILE_GUIDED_OPTIMIZE from Makefile.in. r=gps 2013-12-09 13:39:16 +09:00
Mike Hommey b1aa1de98f Bug 946175 - Forbid assigning over a value previously set in moz.build. r=gps 2013-12-09 13:34:00 +09:00
Mike Hommey 5862e08ff3 Bug 946175 - Make all sandbox variables default to an instance of their class type. r=gps 2013-12-09 13:27:58 +09:00
Gregory Szorc 2d96100395 Bug 934739 - Part 2b: Fix build bustage; r=glandium on a CLOSED TREE 2013-12-09 19:02:35 +09:00
Gregory Szorc 789bbfaee5 Bug 934739 - Part 2: Add pattern matches to install manifests; r=glandium
This patch adds pattern matching entries to install manifests. We store
metadata necessary to construct a pattern match at a later point in
time. When we convert the install manifest to a file registry, we
resolve the patterns using FileFinder.

The build config logic has been updated to store support-files values as
pattern entries. This should resolve the clobber needed issue and make
the local development experience more pleasant as well.
2013-12-09 16:43:55 +09:00
Gregory Szorc 2551a1ad9a Bug 934739 - Part 1: Make moz.build backend generation depend on all Python modules; r=glandium 2013-12-09 15:23:29 +09:00
Andrew Halberstadt 03bc411bbe Bug 942275 - Add support for setuptools' entry points to mach, r=gps
* * *
Bug 942275 - Ignore load_from_entry_point if setuptools not present, r=gps
2013-12-06 09:24:09 -05:00
Mike Hommey e4eea92ecb Bug 932596 - Avoid link_deps error when srcdir and objdir are not on the same drive. r=gps 2013-12-06 18:26:37 +09:00
Mike Hommey 8bd49f8da6 Bug 941506 - Output a message on tbpl summary box when autoclobbering. r=gps 2013-11-22 08:16:21 +09:00
Ryan VanderMeulen d1f788c340 Backed out changeset 5cb5fdb72e55 (bug 942275) for mach bustage.
CLOSED TREE DONTBUILD
2013-12-03 11:13:26 -05:00
Andrew Halberstadt b8f10bbcfe Bug 942275 - Add support for setuptools' entry points to mach, r=gps 2013-12-03 10:37:20 -05:00
Gregory Szorc d9d9997c1e Bug 943874 - Update Git URL printed during mach bootstrap; r=ehsan
DONTBUILD (NPOTB)
2013-11-28 13:03:04 +07:00
Mike Hommey eb7770452e Bug 944265 - Do proper quoting of DEFINES, and do the same for ACDEFINES. r=gps 2013-11-28 17:08:22 +09:00
Ehsan Akhgari 238fad78ac Bug 943554 - Extend the checks added in bug 941854 to all unified files; r=gps 2013-11-26 21:29:44 -05:00
Ehsan Akhgari 1dc1382b9f Bug 941854 - Protect against two known bad patterns for unified builds; r=glandium 2013-11-25 20:38:30 -05:00
Mike Hommey 029edc886a Bug 940407 - Kill GTEST_SOURCES. r=gps 2013-11-26 11:48:58 +09:00
Matt Brubeck 2d0e6701e2 Back out 5d5a9bb4cd6c (bug 941854) because of build errors on a CLOSED TREE 2013-11-25 18:04:14 -08:00
Ehsan Akhgari 611d8a2e95 Bug 941854 - Protect against two known bad patterns for unified builds; r=glandium 2013-11-25 20:38:30 -05:00
Mike Hommey 100f0a3eee Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps 2013-11-22 08:16:18 +09:00
Ed Morley a9e888809d Backed out changeset c30371a66429 (bug 941450) 2013-11-22 15:59:22 +00:00
Mike Hommey 24b4855d17 Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps 2013-11-22 08:16:18 +09:00
Gregory Szorc 13fca93a5e Bug 941833 - mach mercurial-setup should define host fingerprints during repo operations; r=nalexander
DONTBUILD (NPOTB)
2013-11-21 12:19:32 -08:00
Ehsan Akhgari 66b13e4bd0 Bug 941824 - #define MOZ_UNIFIED_BUILD for everything that is compiled in unified mode; r=gps 2013-11-21 15:39:44 -05:00
Trevor Saunders d82dd7678c bug 941365 - allow moz.build files to control how many files get unified together r=glandium 2013-11-20 18:45:59 -05:00