Commit Graph

3657 Commits

Author SHA1 Message Date
Dorel Luca
d611d1ef40 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
020905c403 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
2018-03-05 14:27:29 -08:00
Chris Manchester
d12138f326 Bug 1450077 - Download rust 1.25 in mach bootstrap. r=mshal
MozReview-Commit-ID: IrU4Pzn9Iz
2018-03-30 10:16:09 -07:00
Francesco Lodolo (:flod)
5139846843 Bug 1450693 - Fix migration for containers-window-update in containers.ftl r=gandalf
MozReview-Commit-ID: L40niDNlG7D
2018-04-02 18:31:51 +02:00
Zibi Braniecki
71e0d6d34c Bug 1446180 - Migrate the "Privacy" section of Preferences to the new Localization API. r=flod,jaws
MozReview-Commit-ID: 2Hp6ZNry6dK
2018-03-15 14:57:55 -07:00
Jeff Gilbert
eeed22b9af Bug 1428214 - Prune unnecessary packages from mozboot bootstrappers. - r=gps
MozReview-Commit-ID: GwNfUFFwkBQ
2018-01-04 15:51:45 -08:00
Justin Wood
08d579ba8c Bug 1441359 - Make langpack version include buildid. r=mshal
For Automated submission to AMO we need unique language pack versions for every submitted build.

This will produce versions that are not valid for AMO on nightly (61.0a1buildid2018...) but that's ok, we're not ready to
submit these automatically on the nightly channel yet, they do still install fine into Firefox manually.

On beta/release/esr the version will however be ok for AMO "60.0buildid2018..." and will be reasonably unique per push.

This patch has the intent that, outside of automation, users who don't set a buildid get a langpack version without that
specified (rather than a buildid being automatically generated for them).

The releng scriptworker (addonscript) that will do the publishing to AMO will additionally sanity check that the string
'buildid' is present in the version part, so we don't accidentally break this functionality in production.

This patch is also intended to be uplifted to Gecko 60 to support ESR60 needs.

MozReview-Commit-ID: KuvwMyD6bwd
2018-03-29 14:10:47 -04:00
Mike Shal
03e07a710a Bug 1449623 - Export MOZ_BUILD_DATE for buildid.h; r=chmanchester
MozReview-Commit-ID: HnlTcIKQwJC
2018-03-28 14:30:02 -04:00
Mike Shal
1e7d12fb46 Bug 1449623 - Rework exports in the tup backend; r=chmanchester
In some cases we need to export other environment variables, so make it
easier to track them.

MozReview-Commit-ID: 82OOlRTdhH0
2018-03-27 17:26:56 -04:00
Chris Manchester
586625c767 Bug 1382982 - Accept artifacts from autoland when performing an artifact build in automation. r=nalexander
MozReview-Commit-ID: cVd8GqSuAn
2018-03-28 11:22:34 -07:00
Geoff Lankow
4271ceff07 Bug 1444219 - Remove unnecessary call to MozbuildObject.from_environment r=froydnj
MozReview-Commit-ID: 4KP2H9HVQbG
2018-03-11 21:55:45 +13:00
Chris Manchester
2ba95a7c00 Bug 1419892 - Link programs and libraries in the tup backend. r=mshal
MozReview-Commit-ID: 26Yb0QdCn5H
2018-03-26 15:29:51 -07:00
Andi-Bogdan Postelnicu
f17bff164e Bug 1447817 - correlate mach static-analysis documentation with configuration file. r=sylvestre
MozReview-Commit-ID: FB296IBeKOk
2018-03-24 13:01:04 +02:00
Chris Manchester
f202da9b6b Bug 1445398 - Do not re-generate buildid.h for every Tup build. r=mshal
MozReview-Commit-ID: ErkTDOU8lYH
2018-03-22 16:03:12 -07:00
Noemi Erli
3472f3c066 Merge inbound to mozilla-central. a=merge 2018-03-23 00:53:07 +02:00
Francesco Lodolo (:flod)
79c259b5f5 Bug 1448068 - Update Fluent migrations in mozilla-central to run against gecko-strings r=Pike
Also remove temporary string from preferences.ftl (search-input). This was added
to avoid removing the string when running migrations against mozilla-central

MozReview-Commit-ID: IDgTNoANPyV
2018-03-22 19:00:40 +01:00
David Major
3ba4f32e0b Bug 1447728 Part 1: Add CC_TYPE to mozinfo. r=ted 2018-03-22 11:40:00 -04:00
David Major
f5178cb7eb Bug 1447750 - Point MACH_ERROR's URL at the new Bugzilla component r=nalexander 2018-03-21 11:09:00 +02:00
arthur.iakab
7b2ca1e285 Merge mozilla-central to autoland 2018-03-22 02:00:17 +02:00
arthur.iakab
0755cf3c0d Merge inbound to mozilla-central. a=merge 2018-03-22 01:46:39 +02:00
arthur.iakab
0911dedf1a Merge mozilla-central to inbound 2018-03-21 22:27:21 +02:00
Zibi Braniecki
196f0dfb7d Bug 1419547 - Migrate the "Containers" section of Preferences to the new Localization API. r=flod,Gijs
MozReview-Commit-ID: IA3GFardEHs
2018-03-12 18:08:24 -07:00
Mike Shal
2081373b50 Bug 1447329 - fix preprocessor jar.mn entries in the tup backend; r=chmanchester
The source filename should only be used as the destination filename if
we don't have a target_basename entry for the file. For most cases
there is no difference, but in browser/components/places/jar.mn, the
same source file (bookmarkProperties.xul) is used to two different
destination files (bookmarkProperties.xul and bookmarkProperties2.xul).

MozReview-Commit-ID: LCwncq4wxtU
2018-03-19 20:20:24 -04:00
Nick Alexander
85cde6931f Bug 1443208 - Pre: Add force flag to GENERATED_FILES. r=ted.mielczarek
The forces on the system are such that I really need to be able to
FORCE a few RecursiveMake targets in order to make Android and Gradle
use GENERATED_FILES and LOCALIZED_GENERATED_FILES.  Over time, I hope
to avoid FORCE, but that time is not now.

MozReview-Commit-ID: 453FpnihSRK
2018-03-08 16:04:06 -08:00
Emilio Cobos Álvarez
1980d9800b Bug 1447611: Remove --enable-stylo and --enable-stylo-build-bindgen. r=froydnj
Will remove the prefs and stuff in a followup.

MozReview-Commit-ID: HVyfbHOEQYI
2018-03-21 19:13:26 +01:00
Csoregi Natalia
96a3c6af7f Backed out 4 changesets (bug 1447611) for mass failures due to --enable-stylo removal. CLOSED TREE
Backed out changeset c6193142bbcf (bug 1447611)
Backed out changeset 01ada1c5a95f (bug 1447611)
Backed out changeset 86c9fed44da2 (bug 1447611)
Backed out changeset bb84ac6e1468 (bug 1447611)
2018-03-21 19:01:07 +02:00
Emilio Cobos Álvarez
365f932cec Bug 1447611: Remove --enable-stylo and --enable-stylo-build-bindgen. r=froydnj
Will remove the prefs and stuff in a followup.

MozReview-Commit-ID: HVyfbHOEQYI
2018-03-21 17:24:41 +01:00
Tarek Ziadé
493d44cf19 Bug 1401879 - sort mach-commands output - r=gps
MozReview-Commit-ID: KgocEmTy4wR
2018-03-21 20:27:42 +01:00
Emilio Cobos Álvarez
32772a86a4 Bug 1446954: Cleanup !stylo and styloVsGecko test expectations. r=xidorn
MozReview-Commit-ID: J2glxiCWBVn
2018-03-20 11:29:51 +01:00
Ted Mielczarek
982d6e6175 bug 1255485 - add some tests for building programs in dist/bin. r=nalexander
MozReview-Commit-ID: 94uOsInnWmT
2018-01-17 11:19:19 -05:00
Marco Zehe
afe357106e Bug 1447632 - Make sure that TLB files are included in Windows artifact builds, r=ted.mielczarek
MozReview-Commit-ID: 6hdEqaJvuZl
2018-03-21 14:17:50 -04:00
Chris Manchester
caaa4d337f Bug 1429875 - Implement OBJ_SUFFIX overriding for the profile generation phase on linux in mozbuild. r=glandium
MozReview-Commit-ID: 8PtgxfbxuE
2018-03-20 16:44:12 -07:00
Chris Manchester
17dc4465f7 Bug 1429875 - Remove expandlibs and instead generate list files in the mozbuild backend. r=glandium
MozReview-Commit-ID: 5eLwnh1HHGj
2018-03-20 16:31:05 -07:00
Chris Manchester
074314c604 Bug 1429875 - Add a unit test for linkage variables in the make backend. r=glandium
MozReview-Commit-ID: HREobMhWTwg
2018-03-20 16:31:05 -07:00
Chris Manchester
1e094a3511 Bug 1429875 - Add a "name" property to Library and Program objects that corresponds to the output basename. r=glandium
MozReview-Commit-ID: J4gt1fGUzOa
2018-03-20 16:31:05 -07:00
Ted Mielczarek
44a6436fb8 bug 1255485 - build PROGRAMs directly in dist/bin instead of copying them. r=nalexander
Historically we built all our binaries in directories in the objdir, then
symlinked them into dist/bin. Some binaries needed to be copied instead
so that certain relative path lookups work properly, so we resorted to
sprinkling `NSDISTMODE=copy` around Makefiles.

This change makes it so we build PROGRAMs (not any other sort of targets)
directly in dist/bin instead. We could do the same for our other targets
with a little more work.

There were several places in the tree that were copying built binaries to
some other place and needed fixup to match the new location of binaries.

On Windows pdb files are left in the objdir where the program was
originally linked. symbolstore.py needs to locate the pdb file both to
determine whether it should dump symbols for a binary and also to copy
the pdb file into the symbol package. We fix this by simply looking for
the pdb file in the current working directory if it isn't present next
to the binary, which matches how we invoke symbolstore.py.

MozReview-Commit-ID: 8TOD1uTXD5e
2018-01-10 14:26:12 -05:00
Andrew Halberstadt
589049ea6c Bug 1369711 - [mozlint] Make sure KeyboardInterrupts are handled well wherever they happen r=gps
There a few pieces needed here to properly handle KeyboardInterrupts.

1. All in-progress work needs to abort. Ideally the underlying linters will be
able to catch KeyboardInterrupt, and return partial results (like the flake8
linter does). Linters may alternatively allow the KeyboardInterrupt to
propagate up. Mozlint will catch and handle this appropriately, though any
results found will be lost. The only change to this behaviour was fixing a bug
in the flake8 linter.

2. Any unstarted jobs need to be canceled. In concurrent.futures, there are two
different queues. First, jobs are placed on the work queue, which is just a list
maintained by the parent process. As workers become available, jobs are moved
off the work queue, and onto the call queue (which is a multiprocessing.Queue).
Jobs that live on the work queue can be canceled with 'future.cancel()', whereas
jobs that live on the call queue cannot. The number of extra jobs that are stored
on the call queue is determined by this variable:
https://hg.mozilla.org/mozilla-central/file/deb7714a7bcd/third_party/python/futures/concurrent/futures/process.py#l86

In this patch, the parent process' sigint handler (which will be called on Ctrl-C)
is responsible for canceling all the jobs on the work queue. For the jobs on the
call queue, the best we can do is set a global variable that tells workers to
abort early.

3. Idle workers should exit gracefully. When there are no more jobs left, workers
will block on the call queue (either waiting for more jobs, or waiting for the
executor to send the shutdown signal). If a KeyboardInterrupt is received while a
worker is blocking, it isn't possible to intercept that anywhere (due to quirks
of how concurrent.futures is implemented). The InterruptableQueue class was
created to solve this problem. It will return None instead of propagating
KeyboardInterrupt. A None value will wake the worker up and tell it to gracefully
shutdown. This way, we avoid cryptic tracebacks in the output.

With all of these various pieces solved, pressing Ctrl-C appears to always exit
gracefully, sometimes even printing partial results.

MozReview-Commit-ID: 36Pe3bbUKmk
2018-02-23 08:55:06 -05:00
Andrew Halberstadt
5b723dd152 Bug 1369711 - [mozlint] Refactor concurrent.futures ProcessPoolExecutor code for readability r=gps
This commit doesn't change any behaviour, just attempts to make this a little
more readable.  The workers will call '_collect_results' for each WorkItem they
process (either because it is finished or because it was canceled).

This also differentiates between setup failures and run failures.

MozReview-Commit-ID: 36Pe3bbUKmk
2018-02-23 09:02:16 -05:00
Gregory Szorc
cb9bff46a3 Bug 1446471 - Remove unused import; r=nalexander
MozReview-Commit-ID: JviugCf0TTE
2018-03-06 19:15:42 -08:00
Gregory Szorc
2f953786fe Bug 1446471 - Remove unused --stop argument from mach python-test; r=nalexander
This argument does nothing. While that's arguably a bug, I have
no desire to fix it. So remove dead code.

MozReview-Commit-ID: 9tToF66I7HE
2018-03-06 19:04:04 -08:00
Gregory Szorc
3a4729b3d7 Bug 1446471 - Remove unused find_tests_by_path function; r=nalexander
I was too lazy to find the commit that orphaned this. But it is most
definitely not referenced in the code base.

MozReview-Commit-ID: 8gYBJQxIWIR
2018-03-06 19:02:01 -08:00
Zibi Braniecki
c65f393e26 Bug 1445084 - Migrate search results pane of Preferences to Fluent. r=flod,Gijs
MozReview-Commit-ID: BNeocrSY5Fa
2018-03-12 16:27:32 -07:00
Sebastian Hengst
9aa364dc2b Bug 1445763 - Update moz.build meta data with "Firefox Build System". r=froydnj
MozReview-Commit-ID: 3FrWJ6441pe
2018-03-14 21:44:46 +01:00
Csoregi Natalia
b28ed14fe0 Backed out changeset 32f45689f033 (bug 1445084) for frequently failing browser-chrome's browser_search_within_preferences_1.js (bug 1446186), remove obsolete file. a=backout 2018-03-16 15:00:25 +02:00
Zibi Braniecki
84851f7768 Bug 1415733 - Migrate the "Search" section of Preferences to the new Localization API. r=flod,Gijs a=reland
MozReview-Commit-ID: ltXNOkdnOV
2018-03-12 17:17:13 -07:00
Csoregi Natalia
5c008bfe39 Backed out changeset 647154f30332 (bug 1415733) for frequently failing browser-chrome's browser_search_within_preferences_1.js (bug 1446186). a=backout 2018-03-16 14:09:23 +02:00
Zibi Braniecki
43f71f91b6 Bug 1415733 - Migrate the "Search" section of Preferences to the new Localization API. r=flod,Gijs
MozReview-Commit-ID: ltXNOkdnOV
2018-03-12 17:17:13 -07:00
Zibi Braniecki
eaa72923c7 Bug 1445084 - Migrate search results pane of Preferences to Fluent. r=flod,Gijs
MozReview-Commit-ID: BNeocrSY5Fa
2018-03-12 16:27:32 -07:00
Jan Beich
35f6a44b65 Bug 1445193 - Use notify-send on Tier3 platforms as well. r=gps
MozReview-Commit-ID: 4ONdrhqc6zf
2018-03-13 10:29:11 +00:00
Ryan VanderMeulen
a9bb5e984f Bug 1424281 - Require Visual Studio 2017 15.6.0 and Win SDK 10.0.15063.0 to build on Windows. r=froydnj 2018-03-12 19:24:44 -04:00