Commit Graph

811 Commits

Author SHA1 Message Date
Mike Hommey
62542a3d51 Bug 948275 - Refactor handling of CONFIGURE_SUBST_FILES and CONFIGURE_DEFINE_FILES. r=gps 2013-12-11 15:20:38 +09:00
Mike Hommey
24410c166c 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
0c183d2d65 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
0229da7a2b Bug 948209 - Remove mozbuild.config. r=gps 2013-12-11 10:59:02 +09:00
Mike Hommey
1c4d921f3f Bug 947804 - Finish to kill BOTH_MANIFESTS. r=gps 2013-12-09 16:30:06 +09:00
Gregory Szorc
1357acd2f5 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.

--HG--
extra : amend_source : 3fe659f7ad6930ef54316b5babac6b83bee240af
2013-12-09 19:02:35 +09:00
Ryan VanderMeulen
2e2e4c92ee Backed out changesets 572624d76edf and 17a5f2e554e8 (bug 934739) for causing bug 947879. 2013-12-09 17:24:14 -05:00
Ryan VanderMeulen
16d5e8a26b Merge inbound to m-c. 2013-12-09 16:45:25 -05:00
Mike Hommey
94c83e6426 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
211d8bd0de Bug 946175 - Forbid assigning over a value previously set in moz.build. r=gps 2013-12-09 13:34:00 +09:00
Mike Hommey
10f157bdfb 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
1d2bfcdfb5 Bug 934739 - Part 2b: Fix build bustage; r=glandium on a CLOSED TREE 2013-12-09 19:02:35 +09:00
Gregory Szorc
af45120c60 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.

--HG--
extra : rebase_source : 1a89d397beffb75be6c7fe431003d10924c33cf0
2013-12-09 16:43:55 +09:00
Gregory Szorc
379d593cce Bug 934739 - Part 1: Make moz.build backend generation depend on all Python modules; r=glandium
--HG--
extra : rebase_source : 267c6f50dd1aa683bb425b3e82dc73f5f3c7a7bb
2013-12-09 15:23:29 +09:00
Andrew Halberstadt
63c53ee123 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
14c800bb2b 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
b13ff78b7c Bug 941506 - Output a message on tbpl summary box when autoclobbering. r=gps 2013-11-22 08:16:21 +09:00
Ryan VanderMeulen
4fb543fa21 Backed out changeset 5cb5fdb72e55 (bug 942275) for mach bustage.
CLOSED TREE DONTBUILD
2013-12-03 11:13:26 -05:00
Andrew Halberstadt
d51a9f0774 Bug 942275 - Add support for setuptools' entry points to mach, r=gps 2013-12-03 10:37:20 -05:00
Gregory Szorc
eca243a6d2 Bug 943874 - Update Git URL printed during mach bootstrap; r=ehsan
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : e9d0f626803c2d9326f646b31f3f7bbc58a29bde
extra : amend_source : 39a4efa6ad8fd0c1d30a7d1970037edb281a471c
2013-11-28 13:03:04 +07:00
Mike Hommey
b69bae938f 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
f4f02fe347 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
731d73f703 Bug 941854 - Protect against two known bad patterns for unified builds; r=glandium 2013-11-25 20:38:30 -05:00
Mike Hommey
43d177307e Bug 940407 - Kill GTEST_SOURCES. r=gps 2013-11-26 11:48:58 +09:00
Matt Brubeck
946b35b919 Back out 5d5a9bb4cd6c (bug 941854) because of build errors on a CLOSED TREE 2013-11-25 18:04:14 -08:00
Ehsan Akhgari
bf72c08a5f Bug 941854 - Protect against two known bad patterns for unified builds; r=glandium 2013-11-25 20:38:30 -05:00
Mike Hommey
aaacc118f4 Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps 2013-11-22 08:16:18 +09:00
Ed Morley
1a9ee1c710 Backed out changeset c30371a66429 (bug 941450) 2013-11-22 15:59:22 +00:00
Mike Hommey
2f9d386e67 Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps 2013-11-22 08:16:18 +09:00
Gregory Szorc
f3d929fdf3 Bug 941833 - mach mercurial-setup should define host fingerprints during repo operations; r=nalexander
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 64bfe02d9f27009ab896b09c54fe7e48953a280d
2013-11-21 12:19:32 -08:00
Ehsan Akhgari
0b5b0a8cdc 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
1d1b048e67 bug 941365 - allow moz.build files to control how many files get unified together r=glandium 2013-11-20 18:45:59 -05:00
Gregory Szorc
18841b539d Bug 935987 - Part 0b: Convert DOS line endings to UNIX; r=dos2unix
--HG--
extra : rebase_source : f9974e065c7dcddcf069952fd7500639379dc5fb
2013-11-21 11:39:57 -08:00
Ryan VanderMeulen
c27c94f281 Backed out changeset 2a89253c22cc (bug 939080) for Desktop B2G bustage. 2013-11-21 14:15:27 -05:00
Brian O'Keefe
5a265f0e2c Bug 935987 - Part 0: Fix preprocessor.py indentation rs=gps
--HG--
extra : rebase_source : 93ee9b1f6a5c133e84b5ecc00b371c5f5603d457
2013-11-12 09:14:30 -05:00
Gregory Szorc
3451c65ca8 Bug 941097 - Add --disable-unified-compilation configure flag; r=glandium
--HG--
extra : rebase_source : 05fe6864d3115ddfcb7d14cd3cd3ddaf13b70da3
2013-11-20 12:18:32 -08:00
Gregory Szorc
9e11e4a10e Bug 939080 - Allow support-files in manifests to exist in parent paths; r=ted
--HG--
extra : rebase_source : bfc18cc5daf4a3e08b21c45203cb9a9c53e868a9
2013-11-18 11:55:33 -08:00
Andrew Sutherland
84f6ad151c Bug 933807 - Allow easily disabling TriggerOperationCallbackFor(Ion|AsmJS)Code. Set the environment variable by default in "mach debug", allow disabling. r=gps 2013-11-20 20:07:42 -05:00
Gregory Szorc
43bc4980f2 NO BUG - Make bad path message in bootstrap more clear
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 9160c66118e23ef2aec8c74a7830cd45c9ca265c
2013-11-20 16:43:38 -08:00
Carsten "Tomcat" Book
b35c0e3a73 Backed out changeset a829f4d2584a (bug 934646) Android Nightlies Build Bustage
--HG--
rename : mobile/android/branding/aurora/res/drawable-xxhdpi/icon.png => mobile/android/branding/aurora/content/fennec_144x144.png
rename : mobile/android/branding/aurora/res/drawable-mdpi/icon.png => mobile/android/branding/aurora/content/fennec_48x48.png
rename : mobile/android/branding/aurora/res/drawable-hdpi/icon.png => mobile/android/branding/aurora/content/fennec_72x72.png
rename : mobile/android/branding/aurora/res/drawable-xhdpi/icon.png => mobile/android/branding/aurora/content/fennec_96x96.png
rename : mobile/android/branding/beta/res/drawable-xxhdpi/icon.png => mobile/android/branding/beta/content/fennec_144x144.png
rename : mobile/android/branding/beta/res/drawable-mdpi/icon.png => mobile/android/branding/beta/content/fennec_48x48.png
rename : mobile/android/branding/beta/res/drawable-hdpi/icon.png => mobile/android/branding/beta/content/fennec_72x72.png
rename : mobile/android/branding/beta/res/drawable-xhdpi/icon.png => mobile/android/branding/beta/content/fennec_96x96.png
rename : mobile/android/branding/nightly/res/drawable-xxhdpi/icon.png => mobile/android/branding/nightly/content/fennec_144x144.png
rename : mobile/android/branding/nightly/res/drawable-mdpi/icon.png => mobile/android/branding/nightly/content/fennec_48x48.png
rename : mobile/android/branding/nightly/res/drawable-hdpi/icon.png => mobile/android/branding/nightly/content/fennec_72x72.png
rename : mobile/android/branding/nightly/res/drawable-xhdpi/icon.png => mobile/android/branding/nightly/content/fennec_96x96.png
rename : mobile/android/branding/official/res/drawable-xxhdpi/icon.png => mobile/android/branding/official/content/fennec_144x144.png
rename : mobile/android/branding/official/res/drawable-mdpi/icon.png => mobile/android/branding/official/content/fennec_48x48.png
rename : mobile/android/branding/official/res/drawable-hdpi/icon.png => mobile/android/branding/official/content/fennec_72x72.png
rename : mobile/android/branding/official/res/drawable-xhdpi/icon.png => mobile/android/branding/official/content/fennec_96x96.png
rename : mobile/android/branding/unofficial/res/drawable-xxhdpi/icon.png => mobile/android/branding/unofficial/content/fennec_144x144.png
rename : mobile/android/branding/unofficial/res/drawable-mdpi/icon.png => mobile/android/branding/unofficial/content/fennec_48x48.png
rename : mobile/android/branding/unofficial/res/drawable-hdpi/icon.png => mobile/android/branding/unofficial/content/fennec_72x72.png
rename : mobile/android/branding/unofficial/res/drawable-xhdpi/icon.png => mobile/android/branding/unofficial/content/fennec_96x96.png
2013-11-20 15:16:00 +01:00
Gregory Szorc
bfd6140aea Backed out changeset 594c44cf5a05 (bug 939080) for breaking buildconfig
--HG--
extra : rebase_source : f526819fa1ad686d9d30f32311c8db037859d178
2013-11-19 11:16:31 -08:00
Nick Alexander
193f865ba8 Bug 934646 - Declare Android resource directories relative to $SRCDIR. r=glandium,gps,mfinkle
--HG--
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
2013-11-18 09:31:55 -08:00
Gregory Szorc
82ed21b2c3 Bug 939080 - Allow support-files in manifests to exist in parent paths; r=ted
--HG--
extra : rebase_source : fcbd7e71efacde1151d4142132312291e297bc68
extra : amend_source : 0c78233f8b853654af474c54de6869ce55aa0533
2013-11-18 11:55:33 -08:00
Gregory Szorc
d39381a161 Backed out 4 changesets (c0e8f2c0465f::608c663f691f) (bug 928195) for landing prematurely
--HG--
extra : rebase_source : fa42534ef50a0373738349f17b2ca57510bdd6ac
2013-11-19 10:16:51 -08:00
Gregory Szorc
90980a53e9 Bug 928195 - Part 6: Rewrite WebIDL build system integration
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.

--HG--
extra : rebase_source : bde37d7aab3bd224ca8611f3ba4aaf6311e2faab
2013-11-14 09:52:49 -08:00
Gregory Szorc
6ec3fd72a6 Bug 939925 - Catch exceptions when recording resource usage; r=mshal
--HG--
extra : rebase_source : a9d1c353ae82376cac561c01c94698bf49a9777f
2013-11-18 11:17:41 -08:00
Nick Thomas
7c5247a66f Bug 937458, bump the required clang version in mach bootstrap, r=gps DONTBUILD
--HG--
extra : rebase_source : 423de887a8ee17846ad3f4b3a716d86b64ce6654
2013-11-19 10:35:19 -05:00
Mike Hommey
bbd61a2941 Bug 940202 - One more followup to properly use $(DEPTH) on windows. rs=jcranmer 2013-11-19 16:06:30 +09:00
Joshua Cranmer
8e4efc8933 Bug 940202 followup, due to missing a review comment. 2013-11-19 00:16:34 -06:00
Joshua Cranmer
dee1a12c28 Bug 940202 - Make FINAL_LIBRARY work with comm-central, r=glandium
--HG--
extra : rebase_source : fc8bc5cf6e69be02eeefa7dd98eb5273998831db
2013-11-19 00:12:25 -06:00
Mike Hommey
302a578e9b Bug 939632 - Allow LIBRARY_NAME to be omitted when FINAL_LIBRARY is defined. r=gps 2013-11-19 11:48:13 +09:00
Mike Hommey
d8a16abbc8 Bug 939074 - Infer LIBXUL_LIBRARY from FINAL_LIBRARY. r=gps 2013-11-19 11:47:52 +09:00
Mike Hommey
af597402a7 Bug 939044 - Make the build frontend and backend forget about MODULE. r=gps 2013-11-19 11:47:44 +09:00
Mike Hommey
8f99c353dd Bug 939039 - Make FINAL_LIBRARY imply FORCE_STATIC_LIB. r=gps
This also moves the LIBXUL_LIBRARY implies FORCE_STATIC_LIB test in the emitter
instead of config.mk, since both variables are defined in moz.build exclusively.
backend.mk can end up with both LIBXUL_LIBRARY and FORCE_STATIC_LIB defined, but
it's just fine.
2013-11-19 11:47:26 +09:00
Mike Hommey
70a5bd3464 Bug 935881 - Remove SHARED_LIBRARY_LIBS handling for moz.build. r=gps 2013-11-19 11:47:18 +09:00
Mike Hommey
da965e6c80 Bug 935881 - Add a FINAL_LIBRARY variable to use in moz.build. r=gps
This will be used to declare in what shared library or intermediate static
library objects are going to be linked into.
2013-11-19 11:46:42 +09:00
Ehsan Akhgari
1e9c102149 Bug 938844 - Add support for building .mm files in unified mode; r=glandium 2013-11-14 21:44:48 -05:00
Mike Hommey
4f78aaefaf Bug 915537 - Fix mach build --jobs. r=gps 2013-11-16 13:40:03 +09:00
Mike Hommey
1ecf179a04 Bug 938428 - Always return an int from the cl.py main function, so that sys.exit crazyness doesn't bite. r=gps 2013-11-16 13:39:08 +09:00
Nick Alexander
30c7e2173f Bug 933300 - Write preprocessed Fennec code into generated/org/mozilla/*. r=glandium 2013-11-13 19:32:55 -08:00
Nick Alexander
355f92582f Backed out changeset ba9c8fcf76e6 (bug 933300) 2013-11-13 17:11:58 -08:00
Nick Alexander
c24481562d Bug 933300 - Write preprocessed Fennec code into generated/org/mozilla/*. r=glandium
This writes source with preprocessed package names into
generated/org/mozilla/{firefox,firefox_beta,fennec,fennec_$USERID},
and the other preprocessed source into generated/org/mozilla/gecko.

This layout matches the Java package hierarchy and is what IDEs expect
when including $OBJDIR/generated as a source directory.

--HG--
extra : rebase_source : 5cc397e6808d21a662c1f718ef49ee148c15e465
2013-11-11 23:39:16 -05:00
Mike Hommey
507d5397fb Bug 935857 - Add AC_SUBST_SET to create a set() of strings in config.status and use it for NECKO_PROTOCOLS. r=gps 2013-11-12 07:52:32 +09:00
Maurizio De Santis
b8fd94c582 Bug 935741 - Use HGPLAIN to fix version detection of non-English Mercurial releases. r=gps 2013-11-11 16:13:53 -05:00
Ryan VanderMeulen
9d62423b5c Backed out changeset 9ad40457f58f (bug 936555) for checktest failures. 2013-11-11 13:40:42 -05:00
Nathan Froyd
5161a50479 Bug 936555 - make mozinfo use MozconfigLoader to locate the mozconfig; r=gps 2013-11-08 14:57:31 -05:00
Mike Hommey
b15d15ee68 Bug 935870 - Raise an exception when an emitted object is not acknowledged by the build backend. r=gps 2013-11-09 10:37:04 +09:00
Mike Hommey
d0143abc0d Bug 935305 - Track preprocessor output dependencies. r=gps 2013-11-09 10:35:45 +09:00
Mike Hommey
a470038314 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
Matthew Gregan
6fa5919e3f Bug 935343 - Add MOZ_{OGG,WEBM,DASH} to mozinfo. r=ted 2013-11-06 15:49:18 +13:00
Mike Hommey
e5c1aa4f98 Bug 934334 - Fix packager's jar chrome formatter to handle resource:// urls. r=gps 2013-11-07 10:37:45 +09:00
Mike Hommey
08e9003cce Bug 933145 - Skip directories without variables in moz.build that are relevant to compile or binaries during those tiers. r=gps 2013-11-07 10:37:44 +09:00
Mike Hommey
c55e498091 Bug 921816 - Handle idls in --with-libxul-sdk builds. r=gps 2013-11-07 10:37:44 +09:00
Gordon P. Hemsley
a4e5ca9e84 Bug 934165 - Increase clang version to 3.3 for MacPorts. r=gps 2013-11-06 16:19:53 -05:00
Matthew Gregan
039cd69bcc Bug 934290 - Add PulseAudio build dep to bootstrap. r=gps
--HG--
extra : rebase_source : 6b2face4ede2e695f18b3859c01267717a5db917
2013-11-04 13:38:32 +13:00
Gregory Szorc
d4b5752829 Bug 933499 - Fix bootstrap on fresh OS X 10.9 installations; r=ted
DONTBUILD (NPOTB) on a CLOSED TREE
2013-11-05 12:51:52 -08:00
Mike Hommey
760bf938b9 Bug 933779 - Always use forward slash as path separator when passing -C argument to make. r=mshal 2013-11-05 07:39:23 +09:00
Mark Hammond
05da1f5764 Bug 930849 - add a datareporting field to mozinfo. r=ted 2013-11-04 11:18:20 +11:00
Mike Hommey
00a70f6f7d Bug 933120 - Move HOST_PROGRAM and HOST_SIMPLE_PROGRAMS to moz.build. r=gps 2013-11-02 08:44:11 +09:00
Mike Hommey
3da504d65e Bug 933135 - Treat SIMPLE_PROGRAMS more like PROGRAM. r=mshal 2013-11-02 08:43:55 +09:00
Boris Zbarsky
630ef811f7 Bug 925382. Error out of unified bindings if one of them includes windows.h. r=froydnj 2013-11-01 15:39:24 -04:00
Mike Hommey
d162c6c32d Bug 932213 - Move HOST_CMMSRCS to moz.build. r=gps 2013-10-30 07:51:48 +09:00
Mike Hommey
1ee80e6d08 Bug 901561 - Move CMSRCS to moz.build. r=gps 2013-10-30 07:51:27 +09:00
Mike Hommey
fb2def268d Bug 932170 - Add moz.build variables for generated sources. r=gps 2013-10-30 07:45:01 +09:00
Mike Hommey
cb010e8737 Bug 932133 - Error out when entries in *SOURCES have an unknown file type. r=gps 2013-10-30 07:42:45 +09:00
Gregory Szorc
c3bf301e4f Bug 932637 - mach build-backend should invoke config.status with explicit python; r=glandium
DONTBUILD (NPOTB) CLOSED TREE
2013-10-30 08:57:05 -07:00
Gregory Szorc
4c8f0feb82 Bug 877308 - Change when build backend update check it performed; r=glandium
Before, we checked if config.status was stale in any entrant Makefile
(top level or child directory). This had undesirable side-effects for
partial tree builds, notably that if the build backend was out of date,
the current Makefile was invalidated.

With this patch, we only regenerate the build config automatically in
full/toplevel builds. If an outdated build config is detected on partial
tree builds, we error. The impact of this is mitigated by having mach
build automatically ensure the build config is current.

--HG--
extra : rebase_source : a3a2c1d2bf68d1c0727352ebd9bfb785654e45bf
2013-10-29 14:53:52 -07:00
Mike Hommey
5f5724bc6a Bug 928244 - Add a UNIFIED_SOURCES variable to moz.build to trigger unified builds of the given sources. r=gps 2013-10-29 08:00:32 +09:00
Mike Hommey
921a0cb94f Bug 928364 - Remove unified source dependencies completely, they're useless. r=gps
The backend.RecursiveMakeBackend.built business ensures config.status reruns
when moz.build changes, which is the only thing that would affect unified
sources. Rerunning config.status updates unified sources if they need to
be updated. Once updated, normal object dependencies will ensure they are
rebuilt. Those same dependencies will ensure they are rebuilt when one of
the C/C++ sources they include change. IOW, unified sources don't need any
explicit dependencies generated by the backend.
2013-10-24 08:06:01 +09:00
Mike Hommey
2eefafb740 Bug 930896 - Keep track of files generated by a build backend. r=gps 2013-10-29 08:00:30 +09:00
Mike Hommey
b626d82c57 Bug 930899 - Improve backend file accounting. r=gps 2013-10-29 08:00:28 +09:00
Gregory Szorc
9bd5fc0064 Bug 927837 - Don't manage generated files in configure; r=glandium
--HG--
extra : rebase_source : b502ce209de6a0ae10e130644e424687e4fae85e
2013-10-23 14:43:32 -07:00
Ted Mielczarek
cdc3f39de8 Bug 930674 - Add NO_VISIBILITY_FLAGS to moz.build. r=gps 2013-10-24 15:06:19 -04:00
Nick Alexander
00376394ed Bug 925185 - Part 1: Add add_java_jar to moz.build. r=gps 2013-10-24 15:38:14 -07:00
Mike Hommey
b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey
65c4700367 Bug 930380 - Make sure *SOURCES only point to existing files. r=gps 2013-10-25 07:58:17 +09:00
Brian O'Keefe
6bdda89aac Bug 928709 - Add support for adding include directories from the objdir in moz.build files, r=mshal 2013-10-02 13:17:55 -04:00
Mike Hommey
270a6cf9fc Backout changeset 6f52040ede0d (bug 928364) for PGO bustage 2013-10-24 09:37:06 +09:00
Mike Hommey
88f4815290 Bug 928364 - Remove unified source dependencies completely, they're useless. r=gps
The backend.RecursiveMakeBackend.built business ensures config.status reruns
when moz.build changes, which is the only thing that would affect unified
sources. Rerunning config.status updates unified sources if they need to
be updated. Once updated, normal object dependencies will ensure they are
rebuilt. Those same dependencies will ensure they are rebuilt when one of
the C/C++ sources they include change. IOW, unified sources don't need any
explicit dependencies generated by the backend.
2013-10-24 08:06:01 +09:00
Mike Hommey
59a17d0f20 Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey
3fa7456cd6 Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Mike Hommey
7a1fa04185 Bug 929896 - Make GTEST_CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 07:59:50 +09:00
Ziga Seilnacht
5bf0224313 Bug 922517 - fix O(tests * support-files) behaviour in _process_test_manifest, r=gps 2013-10-22 15:17:00 -07:00
Joshua Cranmer
ea1aa8d95a Bug 920849 - Fix regression that stops comm-central from building, r=gps 2013-10-23 12:11:02 -05:00
Gregory Szorc
3ca24c9bd5 Bug 920849 - Part 1: Write metadata for every test file; r=ted 2013-10-22 15:51:49 -07:00
Gregory Szorc
a989b6e990 Bug 585011 - Move cl.py to mozbuild; r=ted
--HG--
rename : build/cl.py => python/mozbuild/mozbuild/action/cl.py
2013-10-22 14:25:56 -07:00
Joshua Cranmer
51d2533270 Bug 900526, part 5: Move DIST_SUBDIR to moz.build, r=gps 2013-10-21 13:10:04 -05:00
Joshua Cranmer
9941bc00cf Bug 900526, part 3: Define FINAL_TARGET and friends in moz.build, r=gps 2013-10-21 13:08:35 -05:00
Joshua Cranmer
601cd6c9ae Bug 900526, part 1: Allow inheritable moz.build variables, r=gps. 2013-10-21 13:07:30 -05:00
Gregory Szorc
7badc78081 Bug 927143 - Reject srcdir == objdir build configurations; r=glandium 2013-10-18 09:25:53 -07:00
Gregory Szorc
ae06dc3af5 Bug 896379 - Fix build bootstrapper on fresh OS X installs; r=bsmedberg
DONTBUILD (NPOTB)
2013-07-23 10:23:47 -07:00
Nick Alexander
2f1f13d152 Bug 900522 - Part 3: Add passthru ANDROID_GENERATED_RESFILES. r=gps
This defines all of the Android resources in moz.build files (although
some are still generated by mobile/android/base/Makefile.in).
2013-10-09 16:19:00 -07:00
Nick Alexander
69af33ef30 Bug 900522 - Part 1: Make ANDROID_RESFILES a moz.build-only variable. r=gps
This depends on Bug 923306, which I think is close to r=glandium.
Since this is more moz.build than Android, r?=gps.
2013-10-09 16:18:00 -07:00
Mike Hommey
0547bcf728 Bug 925605 - Allow to build with a special build of GNU make on windows. r=gps 2013-10-16 08:34:18 +09:00
Wes Kocher
1ec4cf1ebf Backed out changeset 5f0bfb16fa4a (bug 925605) 2013-10-15 16:57:00 -07:00
Mike Hommey
616f4b2735 Bug 925605 - Allow to build with a special build of GNU make on windows. r=gps 2013-10-16 08:34:18 +09:00
Andrew Halberstadt
9eaa56c6c4 Bug 926607 - Make sure disabled category exists before dumping commands in it, r=jgriffin, DONTBUILD, a=NPOTB 2013-10-15 14:25:43 -04:00
Gregory Szorc
53e9a1e619 Bug 924617 - Part 1: Properly format jar.py; r=mshal 2013-10-11 13:20:28 -07:00
Gregory Szorc
81b47f773e Bug 924615 - Move JarMaker.py into mozbuild; r=mshal
--HG--
rename : config/JarMaker.py => python/mozbuild/mozbuild/jar.py
rename : config/tests/unit-JarMaker.py => python/mozbuild/mozbuild/test/test_jarmaker.py
2013-10-11 13:19:11 -07:00
Gregory Szorc
4d80a8348f Bug 924977 - More proper current working directory handling in mach; r=ahal 2013-10-11 12:44:15 -07:00
Sebastiaan de Haan
2612cf4654 Bug 908868 - Add code to the 'mach help' command to show disabled commands. r=gps 2013-10-11 13:41:25 -04:00
Gregory Szorc
dbb319d767 Bug 924331 - Move config/utils.py into mozbuild; r=mshal 2013-10-11 08:23:18 -07:00
Gregory Szorc
dfb77e1fbd Bug 585016 - Move buildlist.py to a mozbuild action; r=mshal
--HG--
rename : config/buildlist.py => python/mozbuild/mozbuild/action/buildlist.py
rename : config/tests/unit-buildlist.py => python/mozbuild/mozbuild/test/action/test_buildlist.py
2013-10-11 07:22:49 -07:00
Wes Kocher
79e4ff66c3 Merge m-c to inbound 2013-10-10 19:09:24 -07:00
Mike Hommey
da412e16ce Bug 925236 - Don't parallelize the libs and tools tiers because of the race conditions they show now they don't compile. r=gps 2013-10-11 08:15:59 +09:00
Gregory Szorc
a6ac950cd1 Bug 920638 - Integrate moz.build symbols and Python API docs into Sphinx; r=mshal 2013-10-10 10:35:44 -07:00
Marco Castelluccio
44f174e6d5 Bug 924549 - Add MOCHITEST_WEBAPPRT_CHROME_MANIFESTS to specify webapprt chrome tests and convert all the webapprt mochitests to use manifests. r=gps 2013-10-09 09:16:18 -04:00
Carsten "Tomcat" Book
163c022cb2 merge fx-team to mozilla-central 2013-10-09 10:15:37 +02:00
Matt Brubeck
5721c047db Bug 923273 - Convert MOCHITEST_METRO_FILES to manifests [r=gps,rsilveira]
--HG--
rename : browser/metro/base/tests/mochiperf/perfhelpers.js => browser/metro/base/tests/mochiperf/head.js
2013-10-08 14:19:06 -07:00
Gregory Szorc
dbc307f15b Bug 920637 - FileCopier should create destination directory if it doesn't exist; r=glandium 2013-10-04 15:00:39 +02:00
Ms2ger
4c35b806f8 Merge m-c to inbound. 2013-10-03 11:09:17 +02:00
Ms2ger
05e32dc9a4 Bug 912438 - Part b: Fix paths in CSRCS; r=mshal 2013-10-03 09:10:01 +02:00
Ms2ger
5dd16b8f71 Bug 912099 - Part h: Make sure CPP_SOURCES only points to existing files in js/src; r=mshal 2013-10-03 09:10:01 +02:00
Ms2ger
16f90ae98c Bug 912099 - Part f: Make sure CPP_SOURCES only points to existing files in toolkit/crashreporter; r=mshal 2013-10-03 09:10:01 +02:00
Ms2ger
cc0fa09b65 Bug 912099 - Part e: Make sure CPP_SOURCES only points to existing files in gfx/skia; r=mshal 2013-10-03 09:10:01 +02:00
Ms2ger
d93050c82b Bug 912099 - Part d: Make sure CPP_SOURCES only points to existing files in gfx/layers; r=mshal 2013-10-03 09:10:01 +02:00
Ms2ger
3d38d84965 Bug 912099 - Part c: Make sure CPP_SOURCES only points to existing files in gfx/angle; r=mshal 2013-10-03 09:10:00 +02:00
Ms2ger
b84550061a Bug 912099 - Part b: Make sure CPP_SOURCES only points to existing files in ipc/chromium; r=mshal 2013-10-03 09:10:00 +02:00
Ms2ger
24a2e9c09e Bug 912099 - Part a: Make sure CPP_SOURCES only points to existing files in most of the tree; r=mshal 2013-10-03 09:10:00 +02:00
Mike Hommey
8089e35ee7 Fixup for bug 905973 to fix test failure on windows. r=me 2013-10-02 12:08:19 +09:00
Mike Hommey
fe52c2ade4 Bug 921307 - Aggregate dependencies in subdirectories that are still recursed with pseudo derecurse. r=gps 2013-10-03 05:51:19 +09:00
Andrew Halberstadt
f6ba2d6c9b Bug 924472 - MachCommandBase should fallback to context.topdir if no topsrcdir is found, r=gps 2013-10-08 15:27:15 -04:00
Gregory Szorc
fd57d81de1 Bug 923039 - Normalize unicode environment variables to bytes; r=mbrubeck 2013-10-02 18:40:06 +02:00
Mike Hommey
66fc130093 Bug 923060 - XPIDL_SOURCES impacts the libs tier; r=gps 2013-10-02 22:04:08 +09:00
Mike Hommey
8b37d8b82b Bug 921003 - For a given tier, skip directories without a Makefile.in and without variables in moz.build that are relevant to that tier. r=gps 2013-10-02 09:02:41 +09:00
Mike Hommey
190b98c019 Bug 905973 part 3 - Add a "binaries" tier that optimizes for recompilation times. r=gps 2013-10-02 08:53:23 +09:00
Mike Hommey
07308c60e9 Bug 905973 part 2 - Add a tool to link several dependency files together in three different ways. r=gps 2013-10-02 08:53:22 +09:00
Mike Hommey
f3e4a5b185 Bug 905973 part 1 - Add a function to read simple dependency makefiles, and make makeutil.Rule faster. r=gps 2013-10-02 08:53:22 +09:00
Mike Hommey
ef83d981fb Bug 922437 - Allow py_actions to run as pymake native commands. r=gps 2013-10-02 07:59:20 +09:00
Nathan Froyd
6a02ece98d Bug 921563 - part 4 - compile ipc/ipdl/ in "unity" mode; r=gps 2013-09-30 11:11:52 -04:00
Nathan Froyd
5cd2739961 Bug 921563 - part 3 - simplify test_ipdl_sources; r=gps 2013-09-30 11:10:32 -04:00
Gregory Szorc
c54df6244c Bug 920184 - Have mach xpcshell-test and mochitest-* update test files automatically; r=ted 2013-10-01 18:36:44 +02:00
Benjamin Peterson
d0f5dea659 Bug 922190 - Remove bundled copy of simplejson. r=gps
--HG--
extra : rebase_source : 5d33bafacd732e6bfb7acb6bb4d171eabb7d258a
2013-10-01 10:32:58 -04:00
Gregory Szorc
9f6493f1a1 Bug 921987 - Don't install inactive tests; r=ted 2013-10-01 16:31:19 +02:00
Gregory Szorc
4fec73c460 Bug 920679 - Improve build environment detection in mach; r=glandium 2013-10-01 10:55:07 +02:00
Nathan Froyd
0dc1928855 Bug 921091 - make WEBIDL_FILES a StrictOrderingOnAppendList in moz.build; r=Ms2ger 2013-09-26 13:14:48 -04:00
Tareq Khandaker
89381e460f Bug 869613 - Make mach build some/deeper/path do dependencies for some and
some/deeper. r=jdm
2013-09-27 14:47:37 -04:00
Garrett Robinson
56a97fccda Bug 918050 - mach bootstrap should do the same thing for Linux Mint that it does for Ubuntu. r=gps 2013-09-20 13:05:30 -07:00
Gregory Szorc
d03c8a0359 Bug 921070 - Remove precompile tier; r=glandium
It made sense at the time. We now have inverted tiers and will soon have
derecursified building. This doesn't make sense any more.
2013-09-26 16:05:10 -07:00
Drew Willcoxon
22aea86aa7 Bug 920299 - Make Mach logger colorize TEST-START and TEST-INFO. r=gps 2013-09-26 11:04:46 -07:00
Gregory Szorc
fc1535f8b0 Bug 914563 - Temporarily disable build resource recording on Windows; r=mshal 2013-09-26 09:19:05 -07:00
Gregory Szorc
30d2736c71 Bug 920781 - Invoke pymake with calling python, not $PATH python; r=glandium 2013-09-26 09:18:08 -07:00
Ted Mielczarek
2b8a843fb0 bug 920640 - fix crashreporter key in mozinfo.json when --enable-crashreporter is specified. r=gps 2013-09-26 11:19:04 -04:00
Nathan Froyd
34fa38c350 Bug 907789 - part 3 - build dom/bindings/ in "unified" mode; r=gps 2013-09-23 13:17:41 -04:00
Nathan Froyd
bb1946eacd Bug 907789 - part 2 - use mozbuild.makeutil to write webidl file lists; r=gps 2013-09-13 20:21:05 -04:00
Nathan Froyd
7de89242b3 Bug 907789 - part 1 - write out webidl file lists as one big list; r=gps 2013-09-11 08:21:14 -04:00
Nathan Froyd
3d72c0b39c Bug 916257 - part 3 - write ALL_IPDLSRCS and CPPSRCS in one go; r=gps 2013-09-23 10:21:41 -04:00
Nathan Froyd
5f1bce160d Bug 916257 - part 2 - separate out files-from-this-ipdl logic from writing CPPSRCS; r=gps 2013-09-13 15:03:15 -04:00
Nathan Froyd
ca8aa75ab6 Bug 916257 - part 1 - convert ipdlsrcs.mk writing to use mozbuild.makeutil; r=gps 2013-09-13 14:57:32 -04:00
Boris Zbarsky
9938e4eef7 Bug 918011 part 2. Preprocess some of our test WebIDL files so we can have debug-only tests. r=khuey 2013-09-26 00:05:00 -04:00
Joshua Cranmer
544cbac3e0 Bug 920418: Make paths relative to the appropriate topsrcdir in test manifests, r=gps 2013-09-25 15:09:07 -05:00
Ted Mielczarek
fcc11b2aa9 Bug 919635 - Add manifests for Steeplechase tests to moz.build. r=gps
--HG--
extra : rebase_source : 9e0ac924da517d78d0d21e01730a1593ee917b31
2013-09-20 12:57:30 -04:00
Ryan VanderMeulen
bb2e5fbc55 Backed out changeset 0d924e17bba4 (bug 869613) for checktest failures. 2013-09-25 10:56:57 -04:00
Tareq Khandaker
f429287e6d Bug 869613 - Make mach build some/deeper/path do dependencies for some and
some/deeper. r=jdm
2013-09-25 09:48:20 -04:00
Ed Morley
71f3c9d1a9 Backed out changeset 5b1a56afe153 (bug 919635) for test_sandbox_symbols.py failures 2013-09-25 13:48:35 +01:00
Ted Mielczarek
7174bbba02 Bug 919635 - Add manifests for Steeplechase tests to moz.build. r=gps 2013-09-20 12:57:30 -04:00
Gregory Szorc
5bb409fdd5 Bug 901990 - Part 1: Integrate test manifests with build config; r=ted 2013-09-24 11:50:04 -07:00
Gregory Szorc
e81ac3bb95 Bug 918392 - Handle symlinked directories properly; r=glandium 2013-09-24 10:44:27 -07:00
Mike Hommey
c2fe69d316 Bug 919045 - Only traverse test directories when tests are enabled with pseudo-derecurse. r=gps 2013-09-24 09:04:53 +09:00
Gregory Szorc
60010fa7c3 Bug 917988 - Sphinx managed build system documentation; add mach build-docs; r=bsmedberg
--HG--
rename : python/mozbuild/dumbmake/README.rst => build/docs/mozbuild/dumbmake.rst
rename : python/mozbuild/mozbuild/frontend/README.rst => build/docs/mozbuild/frontend.rst
rename : python/mozbuild/README.rst => build/docs/mozbuild/index.rst
2013-09-20 15:46:43 -07:00
Gregory Szorc
062461bdee Bug 794506 - Part 2: Add virtualenv APIs; r=ted 2013-09-20 15:46:25 -07:00
Gregory Szorc
5916036948 Bug 794506 - Part 1: Move virtualenv code under mozbuild; r=ted
--HG--
rename : build/virtualenv/packages.txt => build/virtualenv_packages.txt
rename : build/virtualenv/populate_virtualenv.py => python/mozbuild/mozbuild/virtualenv.py
2013-09-20 15:46:23 -07:00
Gregory Szorc
6387b17cf3 Bug 847175 - mach mode to not prefix lines with times; r=ted
DONTBUILD (NPOTB)
2013-09-20 09:27:19 -07:00
Mike Hommey
5e60e741d9 Bug 915648 - Parallelize make export. r=gps 2013-09-20 13:30:17 +09:00
Mike Hommey
ab00de2c21 Bug 907365 - Parallelize compile and tools tiers. r=gps 2013-09-20 10:45:44 +09:00
Mike Hommey
bbe7163df0 Bug 907365 - Pseudo-derecursify the build (opt-in). r=gps
Also remove the compile tier added in bug 912856 when pseudo-derecursify is disabled.
2013-09-20 10:44:11 +09:00
Gregory Szorc
fc5f9d8da3 Bug 911375 - Part 3: Remove PurgeManifest; r=glandium 2013-09-16 17:50:04 -07:00
Gregory Szorc
6c15858170 Bug 911375 - Part 2: Convert uses of PurgeManifest to InstallManifest; r=glandium 2013-09-16 17:49:44 -07:00
Andrew Halberstadt
dfb080bf26 Bug 917055 - Add mach target for b2g desktop mochitests, r=jgriffin,gps 2013-09-19 14:43:44 -04:00
Mike Shal
a5e9cf5a3c Bug 874266 - Convert DEFINES to be a dict instead of a list; r=gps 2013-07-18 16:09:03 -04:00
Mike Hommey
18d895f774 Bug 917086 - Disallow DIRS, PARALLEL_DIRS and TEST_DIRS under TOOL_DIRS and TEST_TOOL_DIRS, and adapt moz.build files accordingly. r=gps
Also mark TOOL_DIRS/TEST_TOOL_DIRS directories in backend.mk and recurse them normally instead of forcing make -C dir libs for them.
2013-09-19 07:43:02 +09:00
Gregory Szorc
a3202b67de Bug 910453 - Annotate read moz.build files with tier info. r=glandium 2013-08-28 14:37:10 -07:00
Gregory Szorc
bbb14a7245 Bug 901278 - More intelligently detect installed Xcode; r=mshal 2013-09-18 11:16:22 -07:00
Gregory Szorc
a29791571b Bug 914372 - Provide more info to help with installing Python; r=mshal 2013-09-18 11:16:21 -07:00
Gregory Szorc
b4592242bf Bug 914373 - Verify $PATH is sane during bootstrap; r=mshal 2013-09-18 11:16:21 -07:00
Andrew Halberstadt
027df3510d Bug 916913 - is_b2g condition shouldn't fail if tree not built, r=gps 2013-09-17 18:14:57 -04:00
Gregory Szorc
955293338e Backout 312925464acb:f24d5b2801f8 (bug 911375) for breaking the build 2013-09-17 09:14:58 -07:00
Gregory Szorc
e65c4e0350 Bug 911375 - Part 3: Remove PurgeManifest; r=glandium 2013-09-16 17:50:04 -07:00
Gregory Szorc
2c8e8832bd Bug 911375 - Part 2: Convert uses of PurgeManifest to InstallManifest; r=glandium 2013-09-16 17:49:44 -07:00
Gregory Szorc
3968f97872 Bug 905824 - Handle symlinks when validating build environment; r=ted 2013-09-12 15:19:17 -07:00