Ted Mielczarek
fa343243d0
bug 1286934 - Switch to using sccache2. r=gps
...
This patch does a few things:
1) Change all the in-tree tooltool manifests to contain sccache2 instead of the existing Python sccache
2) Change mozconfig.cache to point at sccache.
3) Lightly tweak the --with-cccache configure option to support sccache, and detect whether we're using ccache or sccache and set an option appropriately.
4) Add a MOZ_SCCACHE_VERBOSE_STATS option, and add a target in the top-level Makefile to make sccache spit out its stats at the end of the build. This is useful to see the cache hits/errors until we get something better.
5) Add MOZ_USING_SCCACHE to the build telemetry. Not that I think it will be immediately useful, but for future use.
MozReview-Commit-ID: 9lrdLwNj5Bm
--HG--
extra : rebase_source : d323457df10d0ee0ac5811940e518d9422a7e070
2016-08-25 18:39:57 -04:00
Henrik Skupin
39b88340ad
Bug 1319705 - Move Puppeteer to testing/marionette and make it available for Marionette tests in test packages. r=gps
...
MozReview-Commit-ID: 521o0fV72SQ
--HG--
rename : testing/puppeteer/.flake8 => testing/marionette/puppeteer/.flake8
rename : testing/puppeteer/firefox/MANIFEST.in => testing/marionette/puppeteer/firefox/MANIFEST.in
rename : testing/puppeteer/firefox/docs/Makefile => testing/marionette/puppeteer/firefox/docs/Makefile
rename : testing/puppeteer/firefox/docs/api/appinfo.rst => testing/marionette/puppeteer/firefox/docs/api/appinfo.rst
rename : testing/puppeteer/firefox/docs/api/keys.rst => testing/marionette/puppeteer/firefox/docs/api/keys.rst
rename : testing/puppeteer/firefox/docs/api/l10n.rst => testing/marionette/puppeteer/firefox/docs/api/l10n.rst
rename : testing/puppeteer/firefox/docs/api/places.rst => testing/marionette/puppeteer/firefox/docs/api/places.rst
rename : testing/puppeteer/firefox/docs/api/prefs.rst => testing/marionette/puppeteer/firefox/docs/api/prefs.rst
rename : testing/puppeteer/firefox/docs/api/security.rst => testing/marionette/puppeteer/firefox/docs/api/security.rst
rename : testing/puppeteer/firefox/docs/api/software_update.rst => testing/marionette/puppeteer/firefox/docs/api/software_update.rst
rename : testing/puppeteer/firefox/docs/api/utils.rst => testing/marionette/puppeteer/firefox/docs/api/utils.rst
rename : testing/puppeteer/firefox/docs/conf.py => testing/marionette/puppeteer/firefox/docs/conf.py
rename : testing/puppeteer/firefox/docs/index.rst => testing/marionette/puppeteer/firefox/docs/index.rst
rename : testing/puppeteer/firefox/docs/make.bat => testing/marionette/puppeteer/firefox/docs/make.bat
rename : testing/puppeteer/firefox/docs/ui/about_window/window.rst => testing/marionette/puppeteer/firefox/docs/ui/about_window/window.rst
rename : testing/puppeteer/firefox/docs/ui/browser/notifications.rst => testing/marionette/puppeteer/firefox/docs/ui/browser/notifications.rst
rename : testing/puppeteer/firefox/docs/ui/browser/tabbar.rst => testing/marionette/puppeteer/firefox/docs/ui/browser/tabbar.rst
rename : testing/puppeteer/firefox/docs/ui/browser/toolbars.rst => testing/marionette/puppeteer/firefox/docs/ui/browser/toolbars.rst
rename : testing/puppeteer/firefox/docs/ui/browser/window.rst => testing/marionette/puppeteer/firefox/docs/ui/browser/window.rst
rename : testing/puppeteer/firefox/docs/ui/deck.rst => testing/marionette/puppeteer/firefox/docs/ui/deck.rst
rename : testing/puppeteer/firefox/docs/ui/menu.rst => testing/marionette/puppeteer/firefox/docs/ui/menu.rst
rename : testing/puppeteer/firefox/docs/ui/pageinfo/window.rst => testing/marionette/puppeteer/firefox/docs/ui/pageinfo/window.rst
rename : testing/puppeteer/firefox/docs/ui/update_wizard/dialog.rst => testing/marionette/puppeteer/firefox/docs/ui/update_wizard/dialog.rst
rename : testing/puppeteer/firefox/docs/ui/windows.rst => testing/marionette/puppeteer/firefox/docs/ui/windows.rst
rename : testing/puppeteer/firefox/firefox_puppeteer/__init__.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/__init__.py
rename : testing/puppeteer/firefox/firefox_puppeteer/api/__init__.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/api/__init__.py
rename : testing/puppeteer/firefox/firefox_puppeteer/api/appinfo.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/api/appinfo.py
rename : testing/puppeteer/firefox/firefox_puppeteer/api/keys.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/api/keys.py
rename : testing/puppeteer/firefox/firefox_puppeteer/api/l10n.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/api/l10n.py
rename : testing/puppeteer/firefox/firefox_puppeteer/api/places.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/api/places.py
rename : testing/puppeteer/firefox/firefox_puppeteer/api/prefs.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/api/prefs.py
rename : testing/puppeteer/firefox/firefox_puppeteer/api/security.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/api/security.py
rename : testing/puppeteer/firefox/firefox_puppeteer/api/software_update.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/api/software_update.py
rename : testing/puppeteer/firefox/firefox_puppeteer/api/utils.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/api/utils.py
rename : testing/puppeteer/firefox/firefox_puppeteer/base.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/base.py
rename : testing/puppeteer/firefox/firefox_puppeteer/decorators.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/decorators.py
rename : testing/puppeteer/firefox/firefox_puppeteer/errors.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/errors.py
rename : testing/puppeteer/firefox/firefox_puppeteer/mixins.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/mixins.py
rename : testing/puppeteer/firefox/firefox_puppeteer/puppeteer.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/puppeteer.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/__init__.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/__init__.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/about_window/__init__.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/about_window/__init__.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/about_window/deck.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/about_window/deck.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/about_window/window.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/about_window/window.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/base.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/base.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/browser/__init__.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/browser/__init__.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/browser/notifications.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/browser/notifications.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/browser/tabbar.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/browser/tabbar.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/browser/toolbars.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/browser/toolbars.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/browser/window.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/browser/window.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/deck.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/deck.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/menu.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/menu.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/pageinfo/__init__.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/pageinfo/__init__.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/pageinfo/deck.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/pageinfo/deck.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/pageinfo/window.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/pageinfo/window.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/update_wizard/__init__.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/update_wizard/__init__.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/update_wizard/dialog.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/update_wizard/dialog.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/update_wizard/wizard.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/update_wizard/wizard.py
rename : testing/puppeteer/firefox/firefox_puppeteer/ui/windows.py => testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/windows.py
rename : testing/puppeteer/firefox/requirements-docs.txt => testing/marionette/puppeteer/firefox/requirements-docs.txt
rename : testing/puppeteer/firefox/requirements.txt => testing/marionette/puppeteer/firefox/requirements.txt
rename : testing/puppeteer/firefox/setup.py => testing/marionette/puppeteer/firefox/setup.py
extra : rebase_source : 2c34436c2669cab33d7d3b3f2b23c46c7d3a27d7
2016-11-24 17:02:52 +01:00
Mike Hommey
4dfb89fd86
Bug 1316957 - Include windows.configure conditionally instead of using @depends_win. r=chmanchester
...
--HG--
extra : rebase_source : 51cadae94195439797524b8e81f72c21960aed67
2016-11-12 06:05:07 +09:00
Mike Hommey
e32d52e3cc
Bug 1317504 - Don't try to set LD from old-configure. r=chmanchester
...
Now, it's completely unused.
--HG--
extra : rebase_source : 978296f2c12cfac4d3b2badf0390f29df1d16769
2016-11-24 15:47:10 +09:00
Mike Hommey
07083a8dfb
Bug 1317504 - Make MSVC builds use the LINK variable instead of LD. r=chmanchester
...
At the same time, remove HOST_LD. It was only used for MSVC builds,
which don't support cross-compile anyways, so we can, at least for now,
use LINK for both host and target.
--HG--
extra : rebase_source : 9ee9e7e1bd3edefc043fa63d5c03f2a242f76982
2016-11-24 15:45:16 +09:00
Mike Hommey
c1d2e37624
Bug 1317504 - Remove the GNU_LD variable, nothing uses it. r=chmanchester
...
--HG--
extra : rebase_source : 306d7db1e053b57168f01cc9350b62f43f80f490
2016-11-24 15:25:42 +09:00
Mike Hommey
39e4c74722
Bug 1317504 - Warn that LD is not used by the build system. r=chmanchester
...
It turns out that, in practice, the LD variable is not used by the build
system, except on Windows, where it's used to feed the default for LINK,
which is then re-injected as LD.
The upcoming changes are going to normalize the use of LD/LINK.
--HG--
extra : rebase_source : 2a1a9924e963e082e119ff3874e8ff24247f4f94
2016-11-24 15:07:01 +09:00
Ted Mielczarek
a449823a50
bug 1295937 - build NSS using gyp files. r=glandium
...
MozReview-Commit-ID: Gm1PLWSJwbD
--HG--
rename : config/external/nss/moz.build => security/moz.build
rename : config/external/nss/nss.symbols => security/nss.symbols
extra : rebase_source : bedd3b2f315f8504e1d0cb1ee94720e380466e5b
2016-11-09 12:37:09 -05:00
Ted Mielczarek
26ebd20ebf
bug 1295937 - Improvements to gyp_reader to handle NSS gyp files. r=glandium
...
This patch contains a number of changes to the gyp_reader code:
* Add three new flags to GYP_DIRS:
** no_chromium, to skip forcing the includes/etc needed for chromium gyp files
** no_unified, to force building all sources without unification
** action_overrides, to pass scripts used when mapping gyp actions to moz.build GENERATED_FILES
* Handle the flags mentioned above in read_from_gyp
* Handle actions in gyp targets by mapping them to GENERATED_FILES, using scripts specified in the action_overrides flag. We don't try to handle the generic action case, we require special-casing for each action.
* Handle a subset of copies in gyp targets by mapping them to EXPORTS, just enough to handle the use of them for NSS exports.
* Handle shared_library and executable gyp targets
* Handle gyp target dependencies/libraries as USE_LIBS/OS_LIBS
* Handle generated source files
* Handle .def files in sources by mapping them to SYMBOLS_FILE
* Special-case some include_dirs:
** Map `<(PRODUCT_DIR)/dist/` to $DIST/include (to handle include paths for NSS exports)
** Map include_dirs starting with topobjdir to objdir-relative paths, to handle passing the NSPR include path to NSS
* split /build/gyp.mozbuild into two parts, with gyp_base.mozbuild containing generic bits, and gyp.mozbuild containing chromium-specific bits
MozReview-Commit-ID: FbDmlqDjRp4
--HG--
extra : rebase_source : d3fb470c589f92d8c956b9ecd550fb8df79ff5bc
2016-11-15 12:37:09 -05:00
Mike Shal
ad4478f15e
Bug 1183613 - Cross compile universal OSX builds in Taskcluster; r=froydnj,ted
...
MozReview-Commit-ID: HNTqiVF9gov
--HG--
extra : rebase_source : 3e02cd433e45f4bb5759f093aaccade2d49745c3
2016-10-21 13:54:10 -04:00
Wes Kocher
f9e9d69899
Merge inbound to m-c a=merge CLOSED TREE
2016-11-16 17:07:26 -08:00
Carsten "Tomcat" Book
e7ca75286b
Merge mozilla-central to inbound
2016-11-16 14:53:15 +01:00
Ting-Yu Chou
4b4ca8bc3b
Bug 1316537 part 3 - Fix tar package path conversion for local build. r=Ehsan
...
MozReview-Commit-ID: 6btpeTxouB
--HG--
extra : rebase_source : efe870a8e0e3ff261dcb9cffaf66707585fb9465
2016-11-15 12:22:44 +08:00
Ting-Yu Chou
0e9c286577
Bug 1316537 part 2 - Update 64-bit clang build configuration for the changes in bug 1306650. r=Ehsan
...
MozReview-Commit-ID: 79QRz4FUFRe
--HG--
extra : rebase_source : eeecb26bcae896929ee6af91a6b8bba2f4225944
2016-11-15 09:11:46 +08:00
Mike Hommey
9b452a533f
Bug 1317359 - Propagate MOZ_ADJUST_SDK_KEY to old-configure. r=chmanchester
...
--HG--
extra : rebase_source : 207defc410cd9fe01689b136c79e84046b7d3ae9
2016-11-15 07:43:39 +09:00
Mike Hommey
5fd2ce5f30
Bug 1317359 - Move add_old_configure_* functions to util.configure. r=chmanchester
...
--HG--
extra : rebase_source : 240fd42920ed4a17592c368ab764672cac01ca31
2016-11-15 14:35:22 +09:00
Gregory Szorc
4732e7cb34
Bug 1171610 - Automatically enable color in compiler output; r=glandium
...
GCC and Clang will colorize compiler output automatically if stdout is a
TTY. Unfortunately, when the build backend is invoked via `mach`,
stdout is not a TTY.
6e9a4c0b9cd8 (bug 1315785) changed mach so it exports an environment
variable indicating whether mach's original stdout is a TTY. This was
later used to add color flags to `cargo` invocations.
Building on that work, this patch adds color flags to compiler
invocations if the compiler supports color and a mach TTY is
detected. The result is that compiler output from `mach build`
will be colorized automatically if Clang or a modern version of
GCC is used.
The only issue I see with this is that Clang doesn't "unset" its color
sequences when printing a newline. As a result, mach's time line
prefixing can sometimes inherit "bold" or other stylings. AFAICT this is
only a minor cosmetic concern. GCC does not exhibit this issue.
MozReview-Commit-ID: 5Icu6aXGZBL
--HG--
extra : rebase_source : 5b2bf5a287fdf8075b3d7dde36b91f3c65b60728
2016-11-09 14:01:24 -08:00
Carsten "Tomcat" Book
8cfa5253e8
merge mozilla-inbound to mozilla-central a=merge
2016-11-15 12:26:41 +01:00
Phil Ringnalda
21a7a3eb46
Backed out changeset 6d6366a2842e (bug 1317359) for test_checks_configure.py bustage
...
CLOSED TREE
2016-11-14 21:36:44 -08:00
Mike Hommey
e8b62f1ea5
Bug 1317359 - Propagate MOZ_ADJUST_SDK_KEY to old-configure. r=chmanchester
...
--HG--
extra : rebase_source : ad7b1089d99b9c3477ef882a5664341fe648b41f
2016-11-15 07:43:39 +09:00
Wes Kocher
c71ee484aa
Backed out changeset c403ebdab6b8 (bug 1317359) for build bustage a=backout CLOSED TREE
...
--HG--
extra : amend_source : 578c7a50c7d04c6578448d780ee06076069ee783
2016-11-14 16:48:00 -08:00
Mike Hommey
36d47d7464
Bug 1317359 - Propagate MOZ_ADJUST_SDK_KEY to old-configure. r=chmanchester
...
--HG--
extra : rebase_source : fb3ba7a9f158a6d0e95b748b82f1b193903a75f0
2016-11-15 07:43:39 +09:00
Mike Hommey
6fa3828b4e
Bug 1316844 - Remove unused dependencies. r=chmanchester
...
--HG--
extra : rebase_source : f9c4f39b198fbb83aa02b2eee65863695e7b75ca
2016-11-11 12:52:37 +09:00
Ting-Yu Chou
f069d5cee1
Bug 1200740 - Import blacklist for ASan on Windows to avoid instrumenting selected sandbox functions and files. r=glandium
...
MozReview-Commit-ID: DJJuD0dyyKz
--HG--
extra : rebase_source : 803a3136f1ff163fe3237a0ac157bffa1eef0873
2016-11-10 09:18:55 +08:00
Ralph Giles
dd612ebe20
Bug 1317478 - Use cargo from the rustc package. r=froydnj
...
The stable cargo now has all the features we need; pulling
a separate cargo nightly package is unnecessary.
MozReview-Commit-ID: FqWvSK0swsQ
--HG--
extra : rebase_source : 3659f8fa6d4a9a70c0731650aeced899519617f9
2016-11-14 13:58:46 -08:00
Carsten "Tomcat" Book
106d39cf20
Merge mozilla-central to mozilla-inbound
2016-11-15 12:33:34 +01:00
Jonathan Kew
922cccfc52
Bug 1316540 - Update version requirement for --with-system-icu to 58.1 for Unicode 9 support. r=waldo
2016-11-15 09:22:43 +00:00
David Major
a70b85d44a
Bug 1317471
: Add the sandbox's interceptors_64.cc to Windows ASan blacklist. r=froydnj DONTBUILD
...
For the same reason as bug 1200740#c0: this code runs before ASan initializes shadow memory.
MozReview-Commit-ID: 9fIB6tyfSEl
2016-11-14 16:43:51 -06:00
Wes Kocher
f6f88173df
Backed out changeset 2b174353e76a (bug 1316957) at glandium's request a=backout
2016-11-11 18:58:24 -08:00
Mike Hommey
fb3661afd7
Bug 1316957 - Include windows.configure conditionally instead of using @depends_win. r=chmanchester
...
--HG--
extra : rebase_source : ae9d0b364d11e351735d731c33757fb6f30f1bfa
2016-11-12 06:05:07 +09:00
Ralph Giles
8b80e11ff1
Bug 1316477 - Mention adding extern crate
references. r=froydnj
...
MozReview-Commit-ID: G1DxiQ410W1
--HG--
extra : rebase_source : a6432048f5b8134e0715ed9ff42cbb9be6b60b0a
2016-11-09 18:30:03 -08:00
Julian Seward
22f11f7224
Bug 1309851 - Fix "Intermittent valgrind-test | Valgrind timed out (reached 1800 second limit)". r=n.nethercote@gmail.com.
2016-11-10 11:25:19 +01:00
Emanuel Hoogeveen
e0a81d7503
Bug 1309573 - Part 2: Define MOZ_HAS_MOZGLUE in various places so that the crash reason gets used. r=glandium
...
--HG--
extra : rebase_source : d55e8dd75469759f333366bdf9662178ff0a2474
2016-11-08 03:53:00 -05:00
Phil Ringnalda
06521a66a4
Merge m-c to m-i
...
MozReview-Commit-ID: 7W5SwSOspcB
2016-11-04 21:04:44 -07:00
Gregory Szorc
abb5076523
Bug 1315330 - Enable sccache for autoland; r=ted
...
This should have been done when autoland came into existence.
MozReview-Commit-ID: HaWNq41mDvn
--HG--
extra : rebase_source : 1f8905a45388a147970b65d6d7e226600cf8afc2
2016-11-04 11:49:20 -07:00
Gregory Szorc
0739e582b1
Bug 1315330 - Remove references to fx-team; r=ted
...
fx-team is read only. We shouldn't be performing any more builds. The
configuration can be removed.
MozReview-Commit-ID: 3cbEnnOKwaZ
--HG--
extra : rebase_source : 1e3b69721f0615327c3882767f0b90ee10bce1cf
2016-11-04 11:47:51 -07:00
André Bargull
fb59f826a3
Bug 1299615 - Part 2: Skip ICU source directory in Clang build plugin when searching for implicit conversion constructors. r=Waldo, r=mystor
2016-11-03 05:45:39 -07:00
Phil Ringnalda
c9fdc270b6
Merge m-c to autoland
...
--HG--
rename : dom/media/webaudio/compiledtest/TestAudioEventTimeline.cpp => dom/media/webaudio/gtest/TestAudioEventTimeline.cpp
2016-11-03 20:02:24 -07:00
Phil Ringnalda
0f32b67e2d
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: Hm1RxN6OaoZ
2016-11-03 19:32:48 -07:00
Mike Hommey
17153e5c27
Bug 1314894 - Avoid path changes from b6be0e9e3e1e. r=chmanchester
...
Importing 'os' in python configure functions, on Windows, changes the
separate the various os.path functions use, and that can have
unexpected, badly handled, consequences. While on the long term, it is
desirable to make @imports('os') modify os.path to use the same base
functions as if there were no @imports, let's go with the simpler
workaround of restoring the non-{isfile,isdir,exists} os.path functions
from b6be0e9e3e1e.
--HG--
extra : rebase_source : a1857b5dce2aa818c72a77d0d9727ac6ce16cb8f
2016-11-04 06:50:43 +09:00
Phil Ringnalda
45c34d7e95
Merge m-c to autoland
2016-11-02 20:03:20 -07:00
Phil Ringnalda
393b414467
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: 48WAQwKUCpw
2016-11-02 19:28:38 -07:00
Ralph Giles
efaa5037bb
Bug 1266792 - Target armv7 android. r=kinetik,snorp
...
We actually target armv7, so we need this distinct triple
with the rust toolchain, while it's implicit with the
android ndk.
MozReview-Commit-ID: LUwdpOaWB6M
--HG--
extra : rebase_source : 820de90d0844e1519f9e02a583c8cc3abf1dfdc0
2016-10-27 12:19:59 -07:00
James Willcox
4f49c48da4
Bug 1309594 - Fix typo in Android build-tools detection r=sebastian
...
Patch from volker.mische@gmail.com
2016-10-31 13:15:00 +01:00
Wes Kocher
df5dbf81cc
Merge central to inbound a=merge
2016-11-02 17:31:08 -07:00
Mike Hommey
900e53b021
Bug 1293675 - Error out when GetShortPathName returns a long path name. r=gps
...
--HG--
extra : rebase_source : fa95f8a1356009c44b33701b76d878e75fba7324
2016-11-01 08:06:40 +09:00
Mike Hommey
6a5969b4b1
Bug 1311462 - Dump symbols from */dist/bin instead of dist/universal for Mac universal builds. r=ted
...
--HG--
extra : rebase_source : 43f8a83a616f7bb825e5e2d2cddf67e868b287ad
2016-11-01 14:05:27 +09:00
Mike Hommey
be15eb6990
Bug 1313306 - Remove --help dependencies from @dependable and delayed_getattr. r=chmanchester
...
This sadly requires to replace a few @dependendable to pass the lint
check.
--HG--
extra : rebase_source : e0fd1c6f104076ea9f2c3474aadb7bebdf9a7fd8
2016-10-27 15:00:51 +09:00
Mike Hommey
b89b671cc8
Bug 1313306 - Don't expose os.path.{exists,isdir,isfile} to python configure without an @imports. r=chmanchester
...
We want functions without an @imports to not have any side effects, and
to not use external resources. So remove the few functions we expose from
os.path without @imports('os') that do.
--HG--
extra : rebase_source : a9485ec269d4de5785d66d7772eda4fae5a84b4a
2016-10-26 11:49:58 +09:00
Phil Ringnalda
4880541dd8
Backed out changeset 6c105cd2bf71 (bug 1293675) for Windows failures in test_checks_configure.py
2016-10-31 18:46:00 -07:00
Mike Hommey
bd70f6640e
Bug 1293675 - Error out when GetShortPathName returns a long path name. r=gps
...
--HG--
extra : rebase_source : b871d4527cdba54ec1764fe99cef1261bf09d868
2016-11-01 08:06:40 +09:00
David Major
81eeceed59
Bug 1313394 - Update build system to support 64-bit ASan DLLs. r=ted
2016-10-28 16:52:36 -05:00
Ted Mielczarek
9d1a87f0db
bug 1313448 - Add documentation for adding Rust code to the build system. r=froydnj
...
MozReview-Commit-ID: IpblCfAKwrL
--HG--
extra : rebase_source : cc9ccadc77da20c4043a26bec297d9764a807015
2016-10-27 15:25:40 -04:00
Randell Jesup
35232de3ba
Bug 1311397: fix DataChannel logging for mochitests/etc r=erahm
2016-10-28 03:25:10 -04:00
Geoff Brown
094fe98143
Bug 1309436 - Add test name to java-exception failure messages; r=ted
2016-10-26 11:31:41 -06:00
Nathan Froyd
d4c390f1b6
Bug 1306650 - part 14 - correct tar package substitution for new taskcluster scheme; r=ehsan
...
Taskcluster builds live in a different place than our buildbot builds did.
2016-10-26 16:18:23 -04:00
Nathan Froyd
18f9b40c4a
Bug 1306650 - part 13 - update clang-cl revision to something that builds OK with ASan and MSVC2015u3; r=ehsan
...
Newer clang-cl is more better.
2016-10-26 16:18:23 -04:00
Nathan Froyd
c807e45845
Bug 1306650 - part 12 - explicitly select MSVC version for clang-cl to emulate in stage 2+; r=ehsan
...
clang-cl would normally derive its MSVC emulation bits from the
installed MSVC version, but we don't have an installed MSVC in this
scenario, so we have to use command-line options instead. We use
similar options for Gecko builds.
2016-10-26 16:18:23 -04:00
Nathan Froyd
a892fb7aa8
Bug 1306650 - part 11 - use a relative path for the build directory on windows; r=ehsan
...
In a taskcluster world, we cannot used fixed directories, since we don't
know the absolute path of the directory we're building in ahead of time.
(We could pass it in to the build script, or discover it in the script
itself, but that wouldn't really solve the next problem.) This change
does make the builds not reproducible, but as we're using clang-cl
purely for secondary purposes on Windows, rather than for shipping
Firefox binaries (as we would on Mac, say), I don't feel bad about
punting the reproducibility issue down the road a bit.
2016-10-26 16:18:23 -04:00
Nathan Froyd
fbd004815c
Bug 1306650 - part 10 - slashify paths for cmake; r=ehsan
...
Due to CMake oddities, we need to escape whatever paths we pass in here.
2016-10-26 16:18:23 -04:00
Nathan Froyd
4fac2b0c3c
Bug 1306650 - part 9 - add CMAKE_ASM_COMPILER to cmake invocation; r=ehsan
...
CMake is unhappy if we don't provide this piece of information.
2016-10-26 16:18:23 -04:00
Nathan Froyd
e50de2e11f
Bug 1306650 - part 8 - run svn {co,up} with the -q flag; r=ehsan
...
This change makes the build somewhat less noisy and somewhat faster, by
virtue of not having to print out all the status messages.
2016-10-26 16:18:23 -04:00
Nathan Froyd
27dc2c9c56
Bug 1306650 - part 5 - modify clang-cl toolchain config to look for just cl.exe; r=ehsan
...
We cannot depend on a fixed location for cl.exe in a taskcluster world.
We therefore need to make our build-clang.py script accomodate relative
path names for cc/cxx and assume those are binaries that should be
looked up on PATH.
We also need to modify the Linux build script so that the virtualenv is
used to look up the new 'which' package.
2016-10-26 16:18:24 -04:00
Phil Ringnalda
435a27119b
Merge m-c to m-i
...
MozReview-Commit-ID: 8nqgw9Q3gSY
2016-10-25 22:07:07 -07:00
Chris Manchester
f63cec632c
Bug 1305145 - Move --enable-tree-freetype to Python configure. r=glandium
...
This commit also removes the option, as it's only known to work
on Android, where it is the default.
MozReview-Commit-ID: JqdC5Q5dwQH
2016-10-14 11:06:31 -07:00
Chris Manchester
95f73bebb9
Bug 1305145 - Make libs and flags set by pkg_check_modules available to the caller. r=glandium
...
MozReview-Commit-ID: 7uZheAOXKwE
2016-10-14 11:06:30 -07:00
Chris Manchester
b09b78a7c5
Bug 1298740 - Populate Python environment with variables from mozconfig. r=glandium
...
MozReview-Commit-ID: KDCoxxh37Um
2016-10-14 11:06:30 -07:00
Mike Hommey
8ddc508e1d
Bug 1263876 - Improve python configure handling of toolchain prefix. r=chmanchester
...
The toolchain checks are now such that we can stop special casing x86-64
<-> x86 cross compiling. OTOH, depending on the target, the toolchain
prefix can be of the form `cpu-os` or `cpu-machine-os`. We were only
using the former, and we change this to allow to try both.
Finally, the toolchain prefix being a gcc thing, it applies on all
target platforms where we try to use gcc.
However, the status quo is kept for the value of TOOLCHAIN_PREFIX
exposed to old-configure and the build system, until the various tools
paths (such as ar, readelf, etc.) are handled in python configure.
--HG--
extra : rebase_source : 1fe2e0708e317f061a03e2b4f058bbd08b5525f1
2016-10-21 07:50:40 +09:00
Mike Hommey
513e313d64
Bug 1311761 - Fixup after bug 1311069. r=chmanchester
...
--HG--
extra : rebase_source : 3ec168fd8d6cd67583718d3c2c7849e053428f08
2016-10-21 06:15:38 +09:00
Ryan VanderMeulen
b32395334d
Bug 1311584 - Remove some LSAN suppressions that are no longer needed. r=mccr8
2016-10-19 22:47:01 -04:00
Carsten "Tomcat" Book
b9686db6da
Merge mozilla-central to mozilla-inbound
2016-10-18 10:44:04 +02:00
Gregory Szorc
75974453f1
Bug 1307482 - Upload files concurrently; r=ted
...
Use concurrent.futures to provide a thread pool so we upload
files concurrently. This should make uploading complete faster.
If timestamps in mozharness logs can be trusted, uploading on Linux
currently takes ~45s. Hopefully this shaves 10+s from the build.
MozReview-Commit-ID: KTww31XWN7o
--HG--
extra : rebase_source : 1a487cd1a0772e996eacaefcd9d0b37dc96fbffa
2016-10-04 09:22:22 -07:00
Gregory Szorc
2abd0effdb
Bug 1307482 - Log uploading when it actually happens; r=ted
...
In preparation of using a thread pool to call DoSCPFile().
MozReview-Commit-ID: Ab2gk8UTQWK
--HG--
extra : rebase_source : b1c97953f5b0be91bb16eac19ca6862e715ce7d4
2016-10-04 08:46:46 -07:00
Gregory Szorc
505c98b5da
Bug 1307482 - Avoid excessive scp calls to make directories; r=ted
...
Most files go to the same directory. This should cut down on the number
of scp sessions we establish as part of directory creation.
MozReview-Commit-ID: LpKwgUZhLEO
--HG--
extra : rebase_source : f7ed0490a0fd8d0f01066090af16d751864039df
2016-10-04 08:34:30 -07:00
Gregory Szorc
59971aa32e
Bug 1307482 - Refactor remote path logic into function; r=ted
...
We'll call this multiple times in a subsequent commit. I hate DRY
violations.
MozReview-Commit-ID: Khai4EZkPCS
--HG--
extra : rebase_source : f58ac817c4956e22821ef36ae89b3e889ca4b005
2016-10-04 08:29:50 -07:00
Mike Hommey
e5ba3fd67a
Bug 1296530 - Replace include_when with include, and remove include_when. r=chmanchester
...
--HG--
extra : rebase_source : e2efd38b3875dde3dae996405838e9ca20475c32
2016-10-13 17:15:24 +09:00
Mike Hommey
caeb1547de
Bug 1296530 - Move more things in the new DependsFunction and add a repr() for it. r=chmanchester
...
--HG--
extra : rebase_source : 739ff145c9f50438d9b7997ab12a7270d4c1b4e5
2016-10-13 13:28:06 +09:00
Mike Hommey
359529b830
Bug 1296530 - Store DependsFunction information for the sandbox as class instances instead of tuples. r=chmanchester
...
--HG--
extra : rebase_source : 5b05df452074180669bc9cc16501acfe7be7be50
2016-10-13 13:04:18 +09:00
Mike Hommey
16f5c51446
Bug 1296530 - Rename DependsFunction to SandboxDependsFunction. r=chmanchester
...
--HG--
extra : rebase_source : 60d2ef6f9d8eda36a9f9e3fb82c017958eab18a3
2016-10-13 12:45:24 +09:00
Tooru Fujisawa
6a21d20cc6
Bug 1290337 - Part 22.1: Do not check deleted function parameter. r=ehsan
2016-10-18 16:45:58 +09:00
Tooru Fujisawa
19d7f7bb03
Bug 1290337 - Part 22: Add moz_non_param annotation. r=ehsan,jwalden
2016-09-11 18:23:11 +09:00
Carsten "Tomcat" Book
b474cb6353
merge mozilla-inbound to mozilla-central a=merge
2016-10-14 11:59:12 +02:00
Makoto Kato
48d2b365a6
Bug 1253809 - Add Android/aarch64 build config. r=glandium
...
MozReview-Commit-ID: 2WN6GOWb572
--HG--
extra : rebase_source : 956280be205109d1d28f8e33a3348811caa7d215
2016-10-07 19:46:57 +09:00
Wes Kocher
2e5a3a4c67
Backed out changeset e984459f2b0f (bug 1298740) for windows build failures a=backout
2016-10-14 13:08:42 -07:00
Wes Kocher
b6f29fa6ab
Backed out 5 changesets (bug 1305145) for windows build failures a=backout
...
Backed out changeset 0f39b7305d41 (bug 1305145)
Backed out changeset ab38e43fdcb6 (bug 1305145)
Backed out changeset aece1b8a8673 (bug 1305145)
Backed out changeset 85082a111806 (bug 1305145)
Backed out changeset 33e563d2d834 (bug 1305145)
2016-10-14 13:07:58 -07:00
Chris Manchester
b5f53ace1c
Bug 1305145 - Move --enable-tree-freetype to Python configure. r=glandium
...
This commit also removes the option, as it's only known to work
on Android, where it is the default.
MozReview-Commit-ID: JqdC5Q5dwQH
2016-10-14 11:06:31 -07:00
Chris Manchester
c1230eee34
Bug 1305145 - Make libs and flags set by pkg_check_modules available to the caller. r=glandium
...
MozReview-Commit-ID: 7uZheAOXKwE
2016-10-14 11:06:30 -07:00
Chris Manchester
bddc19b42b
Bug 1298740 - Populate Python environment with variables from mozconfig. r=glandium
...
MozReview-Commit-ID: KDCoxxh37Um
2016-10-14 11:06:30 -07:00
Gabriele Svelto
14c508ef9b
Bug 1280477 - Import jsoncpp into the source tree and integrate it into the build r=ted
2016-10-13 11:19:05 +02:00
Sebastian Hengst
cdcc9e20da
Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
...
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Andi-Bogdan Postelnicu
e0d7fa5720
Bug 1307702 - clang-plugin - static analysis to reject ussage of MOZ_REQUIRED_BASE_METHOD on non-virtual base methods. r=mystor
...
MozReview-Commit-ID: 9G79Wm5fbHc
2016-10-06 14:02:20 +03:00
Andi-Bogdan Postelnicu
d447f00057
Bug 1230311 - clang-plugin - static analysis to enforce that if a method is overridden also base method is called. r=mystor
...
MozReview-Commit-ID: 1JYzYZZOh3W
2016-10-06 13:49:00 +03:00
Carsten "Tomcat" Book
7c8e81673d
merge mozilla-inbound to mozilla-central a=merge
2016-10-06 11:59:54 +02:00
David Major
b95c840429
Bug 1307547: Don't pass sanitize flags to the linker on Windows. r=glandium
2016-10-05 14:53:10 -05:00
Carsten "Tomcat" Book
3522f1d38a
merge mozilla-inbound to mozilla-central a=merge
2016-10-05 15:42:48 +02:00
Wes Kocher
b4e6b8fba5
Merge m-c to autoland, a=merge
2016-10-04 17:42:48 -07:00
Tom Schuster
3cc61134b1
Bug 1302163 - Show an error for [v]snprintf with literals using the clang plugin. r=ehsan
2016-10-04 17:57:50 +02:00
Nathan Froyd
d05eb39d9d
Bug 1296737 - make clang-cl compile in c++14 mode; r=glandium
...
MSVC headers have C++14 features without appropriate guards, so clang-cl
needs to be instructed to default to a C++14-compatible mode by default.
2016-10-04 20:34:04 +00:00
Chris Manchester
333ac383e2
Bug 1304869 - Unset CFLAGS when invoking jemalloc's configure to accomodate setting CFLAGS in mozconfig. r=glandium
...
A side effect of ffi.m4 was that it would un-set CFLAGS when compiling with MSC.
This incidentally worked around the fact that if CFLAGS are set in jemalloc's
configure, it will not set certain variables that are necessary to configure
jemalloc, but are unlikely to be set manually by someone building Firefox.
MozReview-Commit-ID: 2l54YhSAUaL
2016-09-22 22:28:06 -07:00
Chris Manchester
90dd38f890
Bug 1300164 - Move VISIBILITY_FLAGS to Python configure. r=glandium
...
MozReview-Commit-ID: Ku1oUGVdtdm
2016-10-04 11:48:21 -07:00