Commit Graph

650 Commits

Author SHA1 Message Date
Gregory Szorc
3164293917 Bug 934739 - Part 2b: Fix build bustage; r=glandium on a CLOSED TREE 2013-12-09 19:02:35 +09:00
Gregory Szorc
fc542772f4 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
651ee14b33 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
2a824a5435 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
9ccccdd895 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
78e7708024 Bug 941506 - Output a message on tbpl summary box when autoclobbering. r=gps 2013-11-22 08:16:21 +09:00
Ryan VanderMeulen
751620a1fd Backed out changeset 5cb5fdb72e55 (bug 942275) for mach bustage.
CLOSED TREE DONTBUILD
2013-12-03 11:13:26 -05:00
Andrew Halberstadt
9763943426 Bug 942275 - Add support for setuptools' entry points to mach, r=gps 2013-12-03 10:37:20 -05:00
Gregory Szorc
b0cd0d8878 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
b1e589c573 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
8aa1282b1e 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
e24470c27b Bug 941854 - Protect against two known bad patterns for unified builds; r=glandium 2013-11-25 20:38:30 -05:00
Mike Hommey
62cde4eed8 Bug 940407 - Kill GTEST_SOURCES. r=gps 2013-11-26 11:48:58 +09:00
Matt Brubeck
f33526ddde Back out 5d5a9bb4cd6c (bug 941854) because of build errors on a CLOSED TREE 2013-11-25 18:04:14 -08:00
Ehsan Akhgari
d7bd599972 Bug 941854 - Protect against two known bad patterns for unified builds; r=glandium 2013-11-25 20:38:30 -05:00
Mike Hommey
b39418250a Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps 2013-11-22 08:16:18 +09:00
Ed Morley
0e1036028c Backed out changeset c30371a66429 (bug 941450) 2013-11-22 15:59:22 +00:00
Mike Hommey
f6b8ef93a4 Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps 2013-11-22 08:16:18 +09:00
Gregory Szorc
5d4f5cabbd 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
66b2200a11 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
cd333c1d34 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
64f6671ca9 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
e026522f66 Backed out changeset 2a89253c22cc (bug 939080) for Desktop B2G bustage. 2013-11-21 14:15:27 -05:00
Brian O'Keefe
75b621635b 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
0f644882bb 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
9c7bc2dbf8 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
479e89b1e2 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
7256c8a0e0 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
22519643b6 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
af33661a59 Backed out changeset 594c44cf5a05 (bug 939080) for breaking buildconfig
--HG--
extra : rebase_source : f526819fa1ad686d9d30f32311c8db037859d178
2013-11-19 11:16:31 -08:00
Nick Alexander
0bec83eec7 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
3af5d76d71 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
fa9bd3e7b1 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
cd28c58eaa 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
23f093f4e3 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
481a86bf54 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
4875745034 Bug 940202 - One more followup to properly use $(DEPTH) on windows. rs=jcranmer 2013-11-19 16:06:30 +09:00
Joshua Cranmer
52b6012860 Bug 940202 followup, due to missing a review comment. 2013-11-19 00:16:34 -06:00
Joshua Cranmer
a451d66163 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
c3e4d62bd0 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
d8122fdc68 Bug 939074 - Infer LIBXUL_LIBRARY from FINAL_LIBRARY. r=gps 2013-11-19 11:47:52 +09:00
Mike Hommey
cc896fd2d8 Bug 939044 - Make the build frontend and backend forget about MODULE. r=gps 2013-11-19 11:47:44 +09:00
Mike Hommey
ae2930e795 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
dc17ba627c Bug 935881 - Remove SHARED_LIBRARY_LIBS handling for moz.build. r=gps 2013-11-19 11:47:18 +09:00
Mike Hommey
917db37c41 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
9212b200d4 Bug 938844 - Add support for building .mm files in unified mode; r=glandium 2013-11-14 21:44:48 -05:00
Mike Hommey
89522e92e0 Bug 915537 - Fix mach build --jobs. r=gps 2013-11-16 13:40:03 +09:00
Mike Hommey
fbacee20d4 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
3360f7d3bf Bug 933300 - Write preprocessed Fennec code into generated/org/mozilla/*. r=glandium 2013-11-13 19:32:55 -08:00
Nick Alexander
fc061cca31 Backed out changeset ba9c8fcf76e6 (bug 933300) 2013-11-13 17:11:58 -08:00