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

275 Коммитов

Автор SHA1 Сообщение Дата
Jorg K d240bad229 Bug 1463266 - fix typos in comm-central using codespell. rs=comment-only,typo-fix 2019-10-21 23:07:47 +02:00
Rob Lemley d4b7ecc832 Bug 1586617 - create macOS entitlements.xml specific to Thunderbird requirements. r=darktrojan
Thunderbird has been using Firefox's entitlements files since the Apple's
hardened runtime became a necessity with notarization.
However, Thunderbird cannot access macOS's addressbook for contacts when
running macOS Mojave or Catalina, necessitating this change.
2019-10-11 00:00:17 -04:00
Rob Lemley 7a16820ae8 Bug 1578806 - Fix platform.ini creation when building on macOS. r=darktrojan
The version of sed on macOS does not support the '-i' (edit in-place) option,
causing builds fail. Replacing use of sed with Python.

Fix an off-by-one bug in source_repos.py.
2019-09-04 23:11:04 -04:00
Rob Lemley e6cebe9f6a Bug 1578920 - Bug 1507754 follow-up: fix mach configure failures on local builds. r=darkrojan DONTBUILD
- Change the "hg" command used to identify a revision to the one used by
  Firefox in build/variables.py.
- If "hg" still fails, don't abort the entire configure process.
- Only terminate configure in automation when source repository information
  cannot be determined.
2019-09-04 17:39:40 -04:00
Rob Lemley 75e5401539 Bug 1507754 - Generate proper sourcestamp.txt for source tar files. r=darktrojan DONTBUILD
Build correct sourcestamp.txt in source code tar files.
This builds upon previous commits in this bug using the same urls and revision
hashes that were calculated in the configure process rather than trying to
figure it out again, incorrectly.

This does run as a separate task in Taskcluster, but "mach configure" is one of
the steps that runs before "make source-package" so we can use
"import buildconfig" for this.
2019-08-28 14:34:50 -04:00
Rob Lemley 2649b77be1 Bug 1507754 - Generate source-repo.h with complete source repository data. r=darktrojan
source-repo.h is the file where Thunderbird gets source repository information.
It gets used in the build process, and it used in the app most notably on
about:buildconfig.

In order to accomodate code in the Mozilla tree which is going to look for
MOZ_SOURCE_REPO and MOZ_SOURCE_CHANGESET and assume they are for the app being
built, continue to #define those and also #define values specific to each
repository. This will keep the Thunderbird code that needs to use source-repo.h
easier to read.

This works because comm/mail/app.mozbuild is "included" from the toplevel
moz.build file and therefore is part of the same context. Just overwrite
GENERATED_FILES['source-repo.h'].script with our new script. The EXPORTS
and GENERATED_FILES pieces carry over and do not need to be part of app.mozbuild.
Note that the path to our script is relative to $topsrcdir not app.mozbuild
because it's included, not addded with DIR.

--HG--
extra : rebase_source : 81f667a2ee3ed4ad6a08ec8de39e754845c20d06
2019-08-26 21:31:11 -04:00
Rob Lemley cf7c68b7b8 Bug 1507754 - Check source repositories and changesets during configure. r=darktrojan
PACKAGERS: if you update application.ini, platform.ini, or source-repo.h
in some way during your process, you might need to change something.

Make sure that the source repositories for both Mozilla and Comm can be found
during mach configure and abort if they cannot.

For Taskcluster builds, there are various environment variables that can be
relied upon.

Local builds present a challenge. Chances are those variables are not set.

I came up with a set of checks and keep trying until something works.
For comm-* code:
 - Look for MOZ_SOURCE_REPO and MOZ_SOURCE_CHANGESET environment vars. This
   is counter-intuitive, but it's the current status-quo for Taskcluster
   builds. Those variables are set to the comm values.
 - Next, try use the Mercurial source checkout itself. Uses the same technique
   as Mozilla code does in build/variables.py.
 - Last, try to use a file named "sourcestamp.txt". That file is part of
   our source tar files that get built for releases.
 - Finally, if those MOZ_SOURCE environment variables were not set, set them.
   This is needed because old-configure will look for them and set buildconfig
   variables with them when it runs later during the configure process.
 - Additionally, set MOZ_COMM_SOURCE_REPO and MOZ_COMM_SOURCE_CHANGESET in
   buildconfig. Code in the comm- tree should prefer those values over the
   generic MOZ_SOURCE_* values that the Mozilla code will look at.

For the Gecko/Mozilla source repository information, it's almost the same
process.
- Check for GECKO_SOURCE_REPO and GECKO_SOURCE_REV environment variables first.
  Taskcluster sets these based on comm/.gecko_rev.yml.
- Next, try comm/.gecko_rev.yml itself. PyYAML is not required as the file is
  pretty simple to parse. Release builds are pinned to a specific revision hash,
  so we can use that. Builds from comm-central pin to "default" though, so
  next try running "hg id" in $topsrcdir to get the revision hash.
- If for some reason there's no .gecko_rev.yml and it's not a Mercurial checkout,
  try the sourcestamp.txt file.
- Set MOZ_GECKO_SOURCE_REPO and MOZ_GECKO_SOURCE_CHANGESET in buildconfig.

mach configure should fail if any one of those values cannot be determined.
The error message will suggest setting the environment variables; ideally
that is not necessary.

--HG--
extra : rebase_source : 0f17f25956c679f63b775b15d5a0f0726bb659cb
2019-08-26 21:20:54 -04:00
Rob Lemley c10fecb3aa Bug 1574115 Follow up: Fix path to sccache executable. rs=bustage-fix
--HG--
extra : amend_source : ae677ba2450760f1703b72b15b7601bec87d3661
extra : histedit_source : 2c73527d893017980079fc32af287b2facdea2c5
2019-08-16 01:14:10 -04:00
Rob Lemley abf689ec0b Bug 1543725 - Enable marionette tests on Windows/Linux. r=darktrojan CLOSED TREE DONTBUILD
This is the remaining pieces for enabling marionette tests with macOS disabled for now.

--HG--
extra : amend_source : 64f0811234f60ec986791c83deb114e8040a347e
2019-07-25 19:05:51 -04:00
Jorg K a993de14e9 Bug 1543725 - Backed out 2 changesets for perma-failures on Mac. a=backout DONTBUILD
Backed out changeset 7a364236efd0 (bug 1543725)
Backed out changeset f5f85315ba00 (bug 1543725)
2019-07-06 07:49:54 +02:00
Samuel Thibault 29c49c2bbc Bug 1543725 - Add marionette support to Thunderbird, empty for now. r=rjl,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D27104
2019-06-03 19:42:29 +00:00
Jorg K d92af58186 Backed out 2 changesets (bug 1543725) for build bustage. a=backout
Backed out changeset 63e4680def0f (bug 1543725)
Backed out changeset c76024e437fd (bug 1543725)
2019-06-05 22:28:34 +02:00
Samuel Thibault 0526032ff5 Bug 1543725 - Add marionette support to Thunderbird, empty for now. r=rjl,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D27104
2019-06-03 19:42:29 +00:00
Jorg K 371235b2dc Backed out changeset 4058126a02ed (bug 1543725) for build bustage. a=backout 2019-06-05 19:48:11 +02:00
Samuel Thibault 0b1d3e9fc7 Bug 1543725 - Add marionette support to Thunderbird, empty for now. r=rjl,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D27104
2019-06-03 19:42:29 +00:00
Rob Lemley 5fa37f3b29 Port bug 1553339 - Abandon "2" in sccache toolchain artifacts. r=jorgk
Remove from C-C's copy of mozconfig.cache as well.
2019-05-23 19:07:50 -04:00
Jorg K 3dbbf11e34 Bug 1475060 - remove most files under build/ since they are no longer used. r=tomprince 2018-07-14 00:06:58 +02:00
Jorg K f4a4b3f638 Bug 1471061 - Follow-up: Remove MOZ_ADDON_SIGNING from build/mozconfig.common. r=me DONTBUILD 2018-07-10 12:29:00 +02:00
Tom Prince 2b97015111 Bug 1453870: Remove check-sync task and metadata; r=Fallen
Differential Revision: https://phabricator.services.mozilla.com/D934

--HG--
extra : rebase_source : 789dfdf3ff80bb92d554ca05d19de691c27c0835
2018-04-12 21:11:43 -06:00
Tom Prince 6f242c1cc1 Bug 1366607: Drop support for building with comm-central in automation mozconfigs; r=Fallen
Differential Revision: https://phabricator.services.mozilla.com/D930

--HG--
extra : rebase_source : f1ab070dc59479676674e5e32967a73a201ceb50
2018-04-12 21:25:40 -06:00
Jorg K a24058021b Port bug 1453317: Update VS2017 used in automation to version 15.6.6. rs=bustage-fix 2018-04-12 09:29:54 +02:00
Frank-Rainer Grahl 4226635f7f Bug 1445189 - Use VS2017 15.6 for Windows x86 builds. r=jorgk
--HG--
rename : build/win32/mozconfig.vs2015-win64 => build/win32/mozconfig.vs2017
2018-03-13 13:30:00 +01:00
"Edmund Wong ext:(%22) 15be4c8687 Bug 1450257 - Set LLVM_CONFIG in mozconfig.stylo and have platform mozconfigs read from this file again
--HG--
rename : suite/config/mozconfigs/win64/release-l10 => suite/config/mozconfigs/win64/release-l10n
2018-04-10 10:14:34 +08:00
Jorg K 62edb50a14 Bug 1445189 - Port bug 1424281: Use Visual Studio 2017 15.6.0 for Windows builds. rs=bustage-fix 2018-03-13 11:40:39 +01:00
Tom Prince 5545b4a65a Add sync exception for mozconfig.linux* (PKG_CONFIG_LIBDIR is needed on buildbot); rs=bustage-fix 2018-01-30 09:24:08 -07:00
Tom Prince 7e348137ff Backed out changeset fb09e4b27ed4 (Port bug 1431251: Remove PKG_CONFIG_LIBDIR from mozconfigs); rs=bustage-fix 2018-01-30 09:21:32 -07:00
Jorg K 796dea8a05 Keep build files in sync (Port bug 1431251: Remove PKG_CONFIG_LIBDIR from mozconfigs). rs=bustage-fix DONTBUILD 2018-01-30 11:13:49 +01:00
Jorg K 7c4fc53b79 Keep build files in sync (Port bug 1429947: Unset WIN64_LINK and WIN64_LIB in in-tree mozconfigs during an artifact build). rs=bustage-fix 2018-01-27 11:12:02 +01:00
Tom Prince 5da6e2caca Bug 1432611: Remove build/macosx/cross-mozconfig.common from comm-central; r=frg
MozReview-Commit-ID: 4UA305JUMAu

--HG--
extra : rebase_source : b1713055d33c37fcb9888ed743558e3e65ad44a6
extra : amend_source : 0133d6764f5ee20f676c43152e4977c288187962
extra : histedit_source : 9ae7db78b829a52e2a95c97d9b1a93b6fbcccd11
2018-01-23 11:20:00 -07:00
Jorg K 5841c5aded Keep build files in sync (Port bug 1430036: Don't set PKG_CONFIG_LIBDIR when building on Debian). rs=bustage-fix 2018-01-12 23:54:20 +01:00
Jorg K a7e4674bca Keep build files in sync (Port 1427339: Make mozconfig.stdcxx work with both CentOS and Debian-built GCCs). rs=bustage-fix 2018-01-06 11:32:22 +01:00
Tom Prince 3a5df63ac7 No bug: Sync build filles: remove unused `build/win32/mozconfig.vs2017; r=me DONTBUILD
--HG--
extra : uncommit_source : 0653bb72371c
extra : amend_source : 5b8f5b366bdc8edbd9faeadf83c274edc74247f5
2018-01-05 13:42:34 -07:00
Tom Prince 7d87de3301 Bug 1423801: Use comm-central sccache buckets; r?Fallen
MozReview-Commit-ID: Hiuze3ySTh9

--HG--
extra : rebase_source : 00a3312ebcc12ab7339d2b23c3903f334e8cbdbb
2018-01-03 16:40:38 -07:00
Tom Prince cc8d4ce99e Bug 1426892: Use ccache on buildbot; r?Fallen.
MozReview-Commit-ID: FwVfmH4ae6S

--HG--
extra : rebase_source : 99925631eb06d90ed7366d647f7691ea6a08672c
2017-12-21 12:12:42 -07:00
Jorg K 3a1c4beb93 Keep build files in sync (Port bug 1427404: Always export PATH when passing it through mk_add_options). rs=bustage-fix 2018-01-04 11:06:48 +01:00
Tom Prince ab14359bc5 Bug 1426785: Re-add config to use tooltool gtk for Thunderbird buildbots; r=me
--HG--
extra : source : 9452138c4e83fa19c259689a44469eee6e80c72d
extra : intermediate-source : e83781d7a13c5cbbc10c21f953f27c380a3d248f
2017-12-26 21:26:00 -07:00
Jorg K 90bcab5287 Keep build files in sync (Port bug 1426785: Remove mozconfig.gtk). rs=bustage-fix 2017-12-24 02:37:14 +01:00
Jorg K 93134118e8 Backed out changeset 9452138c4e83 since ported bug 1426785 was backed out. rs=bustage-fix 2017-12-24 14:49:04 +01:00
Jorg K 4913a8c4c8 Keep build files in sync (Port bug 1426785: Remove mozconfig.gtk). rs=bustage-fix 2017-12-24 02:37:14 +01:00
Richard Marti 9ab2785ecc Update sync exceptions with mozconfig.cache because we still want to use ccache on buildbot. r=tomprince DONTBUILD 2017-12-23 00:28:49 +01:00
Jorg K 0c8f6f288f Keep build files in sync (Port bug 1426555: Move --enable-stdcxx-compat to python configure). rs=bustage-fix 2017-12-22 11:50:23 +01:00
Tom Prince 34cb872d05 Bug 1424651: Move SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE to the Thunderbird specific mozconfig files; r=me
MozReview-Commit-ID: GkNGWv7YZLI

--HG--
extra : rebase_source : 742fa4cbff8f516dd974982aa0ca7ea6bb94e1af
2017-12-10 23:53:28 -07:00
Jorg K ef3bd7ac87 Keep build files in sync (Port bug 1424323: remove MOZ_AUTOMATION_UPLOAD_SYMBOLS from in-tree mozconfigs). r=tomprince(via IRC) 2017-12-08 23:49:34 +01:00
Tom Prince b4ab0ddc40 Bug 1413976: Update sync exceptions for having our own virtualenv packages; r=me
--HG--
extra : amend_source : d99a71ecc756e98538bc7ced9b8d8b36fac81ec9
2017-11-18 09:20:31 -07:00
Tom Prince 5d93205a33 Bug 1413976: Support defining toolchain and docker-image tasks by reference to mozilla-centrals definitions; r=dustin
MozReview-Commit-ID: 9Lqq3UMbLxe
2017-11-17 16:35:34 -07:00
Jorg K 93be3488e0 Keep build files in sync (Port Bug 1417689: Remove explicit --enable-elf-hack in mozconfigs). rs=bustage-fix 2017-11-16 18:41:09 +01:00
Jorg K 4d03227f96 Keep build files in sync (Port bug 1415971: Inline sccache.mk into client.mk). rs=bustage-fix 2017-11-10 14:44:10 +01:00
Jorg K 1ba663316b Backed out changeset bb96540a6525: Port of bug 1384557 which got backed out. a=jorgk DONTBUILD 2017-11-08 00:21:11 +01:00
Tom Prince 96187bd2c1 Bug 1415057: Disable compiler environment on L10N repacks; r=me
MozReview-Commit-ID: DUahOpixVqW

--HG--
extra : rebase_source : fdd9742716a3057401178d42745596cfe08b62ed
2017-11-07 11:35:58 -07:00
Jorg K 3ed686dc1b Keep tooltool manifests and build files in sync (Port bug 1413675: Downgrade to Windows SDK 10.0.15063.0 to fix clang builds). rs=bustage-fix 2017-11-04 11:37:26 +01:00