Граф коммитов

61 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 87bda34b48 Bug 1558737 - Remove BUILD_FASTER define. r=nalexander
The last use of the define was removed in bug 1437942.

Differential Revision: https://phabricator.services.mozilla.com/D34669

--HG--
extra : moz-landing-system : lando
2019-06-12 16:20:16 +00:00
Nick Alexander e22899b7cf Bug 1509573 - Part 2: Make |mach build faster| handle Android generated files. r=froydnj
This is just an awkward feature of the FasterMake build system:
without a direct consumer, GENERATED_FILES aren't handled.  We
"consume" them into a dummy directory that isn't packaged.  Sadly, the
FasterMake generic rule doesn't handle relative directories smoothly,
so we have to special case that too.

Differential Revision: https://phabricator.services.mozilla.com/D12796

--HG--
extra : moz-landing-system : lando
2018-12-18 23:00:59 +00:00
Razvan Maries 326dd87a7b Backed out 4 changesets (bug 1509573) for unexpected bustages a=backout.
Backed out changeset ace2d2ada8ef (bug 1509573)
Backed out changeset 059741f95cf4 (bug 1509573)
Backed out changeset 36cf7b9ce095 (bug 1509573)
Backed out changeset d7e0661e34c2 (bug 1509573)

--HG--
extra : amend_source : b2bd61c3d8c9db3686bf0d9773f0b53e69174789
2018-11-30 01:40:06 +02:00
Nick Alexander 28bf110c5c Bug 1509573 - Part 1: Make |mach build faster| handle Android generated files. r=froydnj
This is just an awkward feature of the FasterMake build system:
without a direct consumer, GENERATED_FILES aren't handled.  We
"consume" them into a dummy directory that isn't packaged.  Sadly, the
FasterMake generic rule doesn't handle relative directories smoothly,
so we have to special case that too.

Differential Revision: https://phabricator.services.mozilla.com/D12796

--HG--
extra : moz-landing-system : lando
2018-11-28 19:46:16 +00:00
Kris Maglione b2a784a8bf Bug 1459004: Generate built_in_addons.json from moz.build definitions. r=mshal
MozReview-Commit-ID: 1HRLG5tSlFr

--HG--
rename : python/mozbuild/mozbuild/action/generate_builtin_addons.py => toolkit/mozapps/extensions/gen_built_in_addons.py
extra : rebase_source : 7079d5f6a9355201497ea85a0d8ea8fdcee43a64
2018-06-06 16:43:00 -07:00
Nick Alexander 72a9479310 Bug 1464128 - Migrate bookmarks.html.in to LOCALIZED_GENERATED_FILES. r=ted.mielczarek
This one looks to be pretty straight-forward.  It irritates me that
the jar.mn entry doesn't explicitly say that the result is coming from
the object directory, like

locale/browser/bookmarks.html (!bookmarks.html)

but that's for another day.

MozReview-Commit-ID: Cw8E0VJhSxv

--HG--
extra : rebase_source : a1045a5b564b0094b562729bc7234e69ec7a786d
2018-05-24 11:28:47 -07:00
Dorel Luca 0d2ff9e60d Merge mozilla-inbound to mozilla-central. a=merge 2018-05-16 00:54:22 +03:00
Nathan Froyd 33635829ac Bug 1459721 - part 7 - remove dist_idl install manifest; r=chmanchester
We no longer need to install the IDL files to the objdir for
processing. \o/
2018-05-15 10:05:23 -04:00
Nick Alexander 53d03bac82 Bug 1460716 - Make mobile/android artifact builds produce features JSON. r=gps
I don't understand how this will interact with the parts of the build
where we try to avoid installing the dist/bin manifest, but this makes
sense to me and it works locally for mobile/android and for browser/.

MozReview-Commit-ID: L7RtA4K3WrX

--HG--
extra : rebase_source : 3c08a5aab5398eb3b5685b18e5fe06e926db5f85
2018-05-11 13:51:38 -07:00
Kris Maglione 4900714df7 Bug 1457321: Part 1 - Add bundled dictionaries to built_in_addons.json. r=ted,rhelmer
MozReview-Commit-ID: GxCSXXaz8kz

--HG--
extra : rebase_source : a334cfbeee786aeaca373b5a7fc8107fa44c2243
2018-04-27 15:42:55 -07:00
Andrew McCreight e80864c94c Bug 1438688, part 3 - Remove XPT files from the packaging process. r=glandium
Now that XPT files are not loaded from files at runtime, code for
packaging XPT files can be removed.

This means that a couple of test XPIDL interfaces will get shipped in
builds to users that weren't before, but I don't think that matters
much.

This also puts XPT files into the local objdir for the XPIDL makefile,
instead of dist/bin, because they are no longer part of the
distribution.

MozReview-Commit-ID: 7gWj8KWUun3

--HG--
extra : rebase_source : 65bac47c2cd1a20b3c675a01b44a25a1d2d3ab7a
2018-03-05 14:27:29 -08:00
Dorel Luca f24505d99e Backed out 7 changesets (bug 1438688) for android xpcshell failures on builds/worker/workspace/build/tests/bin/components/test_necko.xpt
Backed out changeset 8786eabb61a4 (bug 1438688)
Backed out changeset e05ec1e08b46 (bug 1438688)
Backed out changeset 4c437ba9d984 (bug 1438688)
Backed out changeset 2f243bca1af3 (bug 1438688)
Backed out changeset 4da0e1839353 (bug 1438688)
Backed out changeset 186f916dcc7a (bug 1438688)
Backed out changeset 08b1a5f904e4 (bug 1438688)
2018-04-03 02:30:53 +03:00
Andrew McCreight fc09560f06 Bug 1438688, part 3 - Remove XPT files from the packaging process. r=glandium
Now that XPT files are not loaded from files at runtime, code for
packaging XPT files can be removed.

This means that a couple of test XPIDL interfaces will get shipped in
builds to users that weren't before, but I don't think that matters
much.

This also puts XPT files into the local objdir for the XPIDL makefile,
instead of dist/bin, because they are no longer part of the
distribution.

MozReview-Commit-ID: 7gWj8KWUun3

--HG--
extra : rebase_source : 6f7d4fd1d6cdea2c14866705a2dc972eb5f43382
2018-03-05 14:27:29 -08:00
Chris Manchester 4894ea0933 Bug 1256604 - Remove toolkit/content/Makefile.in and move setting CXXFLAGS for buildconfig.html to moz.build r=mshal
MozReview-Commit-ID: FZ6MTVAWSZa

--HG--
extra : rebase_source : ed71a72ec0430aed072321b0151b9efd229f940d
2017-11-09 10:45:00 -08:00
Robert Helmer f0cf406637 Bug 1348981 - provide a list of valid system add-ons for packaging r=glandium
MozReview-Commit-ID: K2jCHBBJBqw

--HG--
extra : rebase_source : 0a1414d3e778d36f053800212e7d633eaa91de6b
2017-09-13 22:49:43 -07:00
Sebastian Hengst ea41018a71 Backed out changeset 59d279deac34 (bug 1348981) for frequently failing xpcshell's toolkit/mozapps/extensions/test/xpcshell/test_system_update_empty.js on OS X 10.10 debug. r=backout 2017-10-04 15:45:03 +02:00
Robert Helmer 8143368fa5 Bug 1348981 - provide a list of valid system add-ons for packaging r=glandium
MozReview-Commit-ID: K2jCHBBJBqw

--HG--
extra : rebase_source : 0a1414d3e778d36f053800212e7d633eaa91de6b
2017-09-13 22:49:43 -07:00
Sebastian Hengst 773adb3c2f Backed out changeset b8b9f1dbeda3 (bug 1348981) for failing xpcshell toolkit/components/telemetry/tests/unit/test_TelemetryEnvironment.js. r=backout 2017-10-04 01:01:14 +02:00
Robert Helmer 3392a20460 Bug 1348981 - provide a list of valid system add-ons for packaging r=glandium
MozReview-Commit-ID: K2jCHBBJBqw

--HG--
extra : rebase_source : 0a1414d3e778d36f053800212e7d633eaa91de6b
2017-09-13 22:49:43 -07:00
Phil Ringnalda 216b709c48 Backed out 4 changesets (bug 1348981) for Linux debug timeouts in test_system_update.js
Backed out changeset b1fe39ea6d5c (bug 1348981)
Backed out changeset 47866f942752 (bug 1348981)
Backed out changeset 5e93d8760487 (bug 1348981)
Backed out changeset 58431e2c37d7 (bug 1348981)

MozReview-Commit-ID: 2WjZKztxyVs
2017-09-23 06:20:56 -07:00
Robert Helmer a9838c2aff Bug 1348981 - provide a list of valid system add-ons for packaging r=glandium
MozReview-Commit-ID: K2jCHBBJBqw

--HG--
extra : rebase_source : 446409d7eaa5aaa7cc3b8d566539ab67152f67bc
2017-09-13 22:49:43 -07:00
Wes Kocher 43fdbce8a0 Backed out 4 changesets (bug 1348981) for addon related xpcshell failures a=backout
Backed out changeset af30bdde5572 (bug 1348981)
Backed out changeset dc6f6f59da82 (bug 1348981)
Backed out changeset b5149335d9ed (bug 1348981)
Backed out changeset a943c88d0dd5 (bug 1348981)

MozReview-Commit-ID: GIWRb1mY7wJ
2017-09-22 15:27:49 -07:00
Robert Helmer 498b682f1b Bug 1348981 - provide a list of valid system add-ons for packaging r=glandium
MozReview-Commit-ID: K2jCHBBJBqw

--HG--
extra : rebase_source : 446409d7eaa5aaa7cc3b8d566539ab67152f67bc
2017-09-13 22:49:43 -07:00
Mike Hommey e8af659498 Bug 1319345 - application.ini fixup for artifact build bustage; r=gps
--HG--
extra : amend_source : 2ee3e26e5e68bbdf718d02dd0d86d40fb0d18be6
2016-11-22 14:50:28 -08:00
Mike Hommey 5dc9482631 Fix up missing dependency in bug 1247162. r=me 2016-02-12 09:44:03 +09:00
Mike Hommey fd36539df9 Bug 1246881 - Generate a header defining MOZ_BUILDID. r=mshal 2016-02-12 07:15:55 +09:00
Mike Hommey 8d3026f484 Bug 1246871 - Generate platform.ini with the preprocessor instead of an ad-hoc script. r=mshal 2016-02-10 10:11:58 +09:00
Mike Hommey 5554e09add Bug 1246874 - Unify GRE_BUILDID and MOZ_APP_BUILDID at the build system level. r=mshal 2016-02-10 07:39:30 +09:00
Mike Hommey efa26893a5 Bug 1242074 - Avoid going back and forth between FasterMake and RecursiveMake; r=gps
FasterMake needs some RecursiveMake install manifests to have been
processed before doing its work, so we can actually end up processing
them twice because of the going back and forth from FasterMake in the
hybrid build system.

Set the dependency at the RecursiveMake level when doing an hybrid
build.

--HG--
extra : commitid : 7nD60DTsoHz
extra : rebase_source : 61b5803732b0ecdff421e4e15a2086d4eae7a937
extra : amend_source : c0ae62708b2019888ea320c3793d4ea3f6d6d460
2016-01-23 11:40:24 -08:00
Gregory Szorc b9191564fc Bug 1242074 - Reorder pattern rules to placate GNU Make 3.81; r=glandium
Recent changes in bug 1239217 added the faster backend to the default
build mechanism for artifact builds. This seems to have uncovered a
difference in behavior between GNU Make 3.81 and newer. Starting with
GNU Make 3.82, pattern rules are selected according to shortest stem.
Before, they are used in definition order.

So, we change the order of the pattern rules so the longest prefixes are
first. This should result in the same behavior on various GNU Make
implementations.

--HG--
extra : commitid : GVAzwgjaChF
extra : rebase_source : e0765bcf80ad93b7b193f8d4218f4c6f90dbb843
extra : amend_source : d06092dde64d22be476ef1f9e0232eda87d48325
2016-01-23 11:38:00 -08:00
Mike Hommey 6098e02a36 Bug 1239217 - Add the FasterMake+RecursiveMake hybrid backend. r=gps 2016-01-22 15:43:26 +09:00
Mike Hommey f549721406 Bug 1239217 - Stop making the FasterMake build system refresh the backend on its own. r=gps
The FasterMake build system is meant to be invoked through `mach build
faster`, which does it already, or, in the near future, as part of an
hybrid build system, which will deal with it as well. People doing
`make -C objdir/faster` won't have the backend automatically refreshed,
but that's not a supported way to use it anyways.
2016-01-22 15:43:23 +09:00
Mike Hommey 92596da030 Bug 1240657 - Fix FasterMake race condition leading to missing "manifest interfaces.manifest" entries. r=gps
Turns out the claim in bug 1234439 that the FasterMake backend knows
about all the chrome manifest entries is wrong, and there's still one
that is added "manually" with buildlist.py, and during mach build
faster, that can happen before or after the corresponding chrome
manifests are written out by install manifest processing.

While the real fix here would be to make the build system totally
aware of those "manifest interfaces.manifest" entries, for now, it's
simpler to add dependencies to work around the race condition.
2016-01-20 07:24:40 +09:00
Mike Hommey 036949880e Bug 1235108 - Install bookmarks.html from jar.mn instead of a custom Makefile rule. r=gps 2016-01-05 20:03:43 +09:00
Mike Hommey e0c501a1c1 Bug 1235738 - Move MOZ_DEBUG_DEFINES to build frontend. r=gps
MOZ_DEBUG_DEFINES are essentially defines used everywhere. So treat them as
feeding the initial value for DEFINES in each moz.build sandbox. This allows
the kind overrides that was done in the past by resetting MOZ_DEBUG_DEFINES
in Makefiles.
2015-12-31 07:27:23 +09:00
Mike Hommey 2eabcb84c2 Bug 1234439 - Use new install manifests feature for chrome manifests in the FasterMake backend. r=gps
Bug 1191230 added override lines with # characters to chrome manifests
for Windows.

So far, chrome manifests were handled with buildlist.py like in the
RecursiveMake backend, fed with Make variables. Without proper quoting,
those Make variables are just truncated by Make on the first # character,
and this results in mach build faster failing because of that.

However, the reason why chrome manifests were handled with buildlist.py
originally is that not all chrome manifest entries were known to the
FasterMake backend, but they now all are.

So instead of relying on Make variables and buildlist.py, we can now
rely on the newly added install manifests feature allowing to create files
with a given content.
2015-12-24 13:12:29 +09:00
Mike Hommey 830a72f8a1 Bug 1230060 - Use process_install_manifest's --track option in the FasterMake backend. r=gps
This can probably be extended to the RecursiveMake backend, but I'd rather leave
that for later.
2015-12-05 11:04:21 +09:00
Carsten "Tomcat" Book 774dac6729 Backed out changeset a788c06e448a (bug 1230060) 2015-12-04 15:17:36 +01:00
Mike Hommey 10d4c3b4aa Bug 1230060 - Use process_install_manifest's --track option in the FasterMake backend. r=gps
This can probably be extended to the RecursiveMake backend, but I'd rather leave
that for later.
2015-12-04 19:25:42 +09:00
Mike Hommey e5b1bb9e4e Bug 1229233 - Add a (incomplete) end-to-end build test. r=gps
We have many unit tests in the tree for some small parts of the build system
pipeline, but we don't have anything that resembles an end to end test, and we
kind of rely on the resulting Firefox not being broken by our changes.

With the Faster make backend growing, I want to ensure it produces the same
thing as the recursive make backend, at least for the parts it supports.

This adds some kind of test that allows to check that.
2015-12-01 13:57:52 +09:00
Mike Hommey d8414e8e44 Bug 1229233 - Ensure the target directory for copies exists in the FasterMake backend. r=gps 2015-12-01 13:57:52 +09:00
Mike Hommey fc199d9034 Bug 1229233 - Skip building XPIDL when there aren't any in the FasterMake backend. r=gps
The test I'm about to add doesn't have XPIDL files, and that currently avoids
the FasterMake backend to run properly. Also, in the future, when the FasterMake
grows the ability to build C++ files, it should be possible to build Spidermonkey
with the FasterMake backend, but it doesn't have XPIDL files either.
2015-12-01 13:57:52 +09:00
Mike Shal 5aac275e85 Bug 1223591 - add buildid dependency for platform.ini in faster make backend; r=glandium 2015-11-10 18:07:51 -05:00
Mike Hommey ccf2ec68da Bug 1219126 - Move greprefs.js definition in moz.build. r=mshal 2015-10-31 07:32:48 +09:00
Mike Hommey 329cb2d0be Bug 1219122 - Move webapprt.ini definition to moz.build. r=mshal
--HG--
rename : webapprt/application.ini.in => webapprt/webapprt.ini
2015-10-31 07:32:46 +09:00
Mike Hommey 0ac007b2f5 Bug 1216901 - Make the FasterMake backend reticulate splines when moz.build or jar.mn files are modified. r=mshal 2015-10-31 07:32:43 +09:00
Wes Kocher 1f1147fd63 Backed out changeset b855984ff056 (bug 1216901)
--HG--
extra : commitid : DRn4qQLqwWu
2015-10-30 10:11:45 -07:00
Wes Kocher 46439f8894 Backed out changeset 57137bb5c665 (bug 1219126)
--HG--
extra : commitid : 2AioSh3eozm
2015-10-30 10:11:42 -07:00
Mike Hommey e123e36812 Backout changeset 2d9b31fd2c69 (bug 1219122) for Windows PGO bustage
--HG--
rename : webapprt/webapprt.ini => webapprt/application.ini.in
2015-10-30 19:03:12 +09:00
Mike Hommey b6620df9b1 Bug 1219126 - Move greprefs.js definition in moz.build. r=mshal 2015-10-30 08:19:04 +09:00