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

5427 Коммитов

Автор SHA1 Сообщение Дата
Ricky Stewart 6f304a37d1 Bug 1599648 - Add a py3_action build action r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D55031

--HG--
extra : moz-landing-system : lando
2019-11-27 23:38:49 +00:00
Ricky Stewart d5eb7d0ea5 Bug 1594867 - Add moz.build/backend bits to specify files that should be built as a sandboxed wasm library r=firefox-build-system-reviewers,mshal
Add backend stuff to build sandboxed wasm libraries. (Don't actually update any moz.build files to consume this yet.)

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

--HG--
extra : moz-landing-system : lando
2019-11-27 20:11:59 +00:00
Chris Manchester 09ba0f0398 Bug 1595674 - Make the rust build respect -j1. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D54060

--HG--
extra : moz-landing-system : lando
2019-11-22 19:42:38 +00:00
Jesse Schwartzentruber c8984db985 Bug 1596950 - Pass compiler flags to cargo for cross-compiled ASAN and fuzzing builds. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53304

--HG--
extra : moz-landing-system : lando
2019-11-21 15:06:27 +00:00
Mike Shal bca8fea099 Bug 1593465 - Dump symbols during instrumented builds for crashlogs in the run task; r=firefox-build-system-reviewers,chmanchester
To get an accurate backtrace if the run task crashes, we need the
symbols from the instrumented build.

Depends on D53716

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

--HG--
extra : moz-landing-system : lando
2019-11-21 18:44:10 +00:00
Dzmitry Malyshau 8088fe5c1d Bug 1595805 - Disable LTO on macosx fuzzy builds r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D52688

--HG--
extra : moz-landing-system : lando
2019-11-12 16:41:23 +00:00
Landry Breuil 7b56d0cc5b Bug 1587116 - only include sys/auxv.h on platforms where it might exist r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D51803

--HG--
extra : moz-landing-system : lando
2019-11-12 07:10:12 +00:00
André Bargull a1298a12f9 Bug 1592992 - Part 19: Move jsutil.cpp to util/Utility.cpp. r=jonco
This file provides the implementation of js/Utility.h, so it should be renamed
to match the header name.

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

--HG--
rename : js/src/jsutil.cpp => js/src/util/Utility.cpp
extra : moz-landing-system : lando
2019-11-08 13:24:15 +00:00
Mike Hommey b483279699 Bug 1586100 - Only depend on js/src/export when it is available. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D51978

--HG--
extra : moz-landing-system : lando
2019-11-06 13:16:40 +00:00
Mike Hommey 4734e201cf Bug 1586100 - Avoid circular dependencies related to config/export|host. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D51977

--HG--
extra : moz-landing-system : lando
2019-11-06 13:17:09 +00:00
Ricky Stewart 50a5dbb671 Bug 1573560 - Have Node compilation write directly into FINAL_TARGET instead of requiring a symlink r=firefox-build-system-reviewers,jlast,mshal
Differential Revision: https://phabricator.services.mozilla.com/D47367

--HG--
extra : moz-landing-system : lando
2019-11-04 23:15:19 +00:00
Nathan Froyd ea8314a10a Bug 1594194 - make rebuild_check.py work better for massive file changes; r=dmajor
For files with lots of dependencies (i.e. libxul), printing out the
entire list of changed files can be tedious.  Instead, let's pick some
reasonable limit for the number of files we'll explicitly show, and
indicate that there are more files (but not print them out) for cases
that exceed that limit.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 21:26:33 +00:00
Chun-Min Chang 7f26e8dfa4 Bug 1591249 - Bump coreaudio-sys to 0.2.3. r=glandium
The current coreaudio-sys in gecko is a custom 0.2.2 version that used
to avoid the cross-compiling issue mentioned in bug 1569003. The issue
has been fixed in the coreaudio-sys 0.2.3, so we should follow the
upstream instead of using a custom version. As a result, the
coreaudio-sys would generate API bindings based on the MacOS SDK defined
in the build settings.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 20:14:00 +00:00
Christian Holler 4c144ccda1 Bug 1592250 - Disable libFuzzer instrumentation in TSan builds. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D50922

--HG--
extra : moz-landing-system : lando
2019-10-29 14:03:40 +00:00
Mike Hommey 8f69271ae4 Bug 1579761 - Add missing dependencies on .cargo/config. r=mshal
.cargo/config is necessary for all invocations of cargo, which, apart
from normal rust targets, actually also happens indirectly when we
invoke cbindgen.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 23:55:50 +00:00
Christian Holler d6a021d2b4 Bug 1590465 - Disable rust networking check with TSan. r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D50091

--HG--
extra : moz-landing-system : lando
2019-10-23 09:52:04 +00:00
André Bargull e96ab7f00d Bug 1583269 - Part 2: Update in-tree ICU to release 65.1. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D49443

--HG--
rename : intl/icu/source/i18n/numparse_stringsegment.cpp => intl/icu/source/i18n/string_segment.cpp
rename : intl/icu/source/data/buildtool/__init__.py => intl/icu/source/python/icutools/databuilder/__init__.py
rename : intl/icu/source/data/buildtool/comment_stripper.py => intl/icu/source/python/icutools/databuilder/comment_stripper.py
rename : intl/icu/source/data/buildtool/locale_dependencies.py => intl/icu/source/python/icutools/databuilder/locale_dependencies.py
rename : intl/icu/source/data/buildtool/renderers/__init__.py => intl/icu/source/python/icutools/databuilder/renderers/__init__.py
rename : intl/icu/source/data/buildtool/renderers/makefile.py => intl/icu/source/python/icutools/databuilder/renderers/makefile.py
rename : intl/icu/source/data/buildtool/test/__init__.py => intl/icu/source/python/icutools/databuilder/test/__init__.py
rename : intl/icu/source/data/buildtool/test/__main__.py => intl/icu/source/python/icutools/databuilder/test/__main__.py
rename : intl/icu/source/data/buildtool/test/filtration_test.py => intl/icu/source/python/icutools/databuilder/test/filtration_test.py
extra : moz-landing-system : lando
2019-10-19 01:25:24 +00:00
ffxbld 7b3edc3d02 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2019-10-21 18:00:38 +00:00
André Bargull 0b138ce1ee Bug 1433306 - Part 2: Implement Intl.ListFormat stage 3 proposal. r=jwalden
"disjunction" and "unit" types aren't yet supported, because ICU doesn't
provide a C-API for this functionality. "short" and "narrow" styles aren't
supported for the same reason.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 16:05:06 +00:00
Ricky Stewart c010710916 Bug 1586358 - Replace existing instances of GENERATED_FILES with references to the GeneratedFile template r=firefox-build-system-reviewers,mshal
(Same content as bad revision https://phabricator.services.mozilla.com/D48230, but with a very small change to config/external/icu/data/moz.build to fix the build breakage.)

Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=833f6a69fcac689488a640b43e8e0bdaa086a56c

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

--HG--
extra : moz-landing-system : lando
2019-10-07 21:15:19 +00:00
André Bargull b00d4ce2c4 Bug 1429776: Use recommended ICU build options flags. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D41043

--HG--
extra : moz-landing-system : lando
2019-10-07 13:43:24 +00:00
Daniel Varga 052ef806b5 Backed out changeset 8d95f2c8867b (bug 1586358) for build bustage with FATAL ERROR PROCESSING MOZBUILD FILE. On a CLOSED TREE
--HG--
extra : rebase_source : 325fbad2455afc7f693087e75fa57dba79f4d86b
2019-10-07 20:22:08 +03:00
Ricky Stewart 940d91af38 Bug 1586358 - Replace existing instances of GENERATED_FILES with references to the GeneratedFile template r=nalexander
This patch doesn't remove all references to GENERATED_FILES, but does remove most of them, leaving only those which can't be trivially translated to the new template.

Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e4a25230c3992b9c5519ceb351fb37f6b2bf605e

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

--HG--
extra : moz-landing-system : lando
2019-10-07 15:31:05 +00:00
Mike Shal 58eee388c8 Bug 1586357 - Only force re-linking on 1-tier PGO builds; r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D48206

--HG--
extra : moz-landing-system : lando
2019-10-04 20:53:42 +00:00
Nick Alexander c46ec74815 Bug 1580356 - Remove Fennec (Firefox for Android). r=snorp,mshal
This does many things:

1) stops producing (and consuming) `FennecJNI*` JNI wrappers
2) removes the :app and :thirdparty Gradle projects
3) removes relevant pieces of the Gradle target configuration
4) updates lints
5) purges old configurations

After this commit, the `mobile/android` project/application builds
only GeckoView.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 20:55:11 +00:00
André Bargull ee6797f7ee Bug 1583268: Update tzdata in ICU data files to 2019c. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D46923

--HG--
extra : moz-landing-system : lando
2019-09-25 23:33:11 +00:00
Jesse Schwartzentruber 146562d993 Bug 1581158 - Add fuzzing target for rkv r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D45891

--HG--
rename : tools/fuzzing/moz.build => tools/fuzzing/rust/moz.build
extra : moz-landing-system : lando
2019-09-20 21:27:35 +00:00
Emilio Cobos Álvarez 9c8ffa9e68 Bug 1578661 - Add telemetry histograms for all CSS properties. r=chutten,boris
And add them to the UseCounter enum. Also add some sanity-check assertions that
the reporting code relies on.

This works much like the deprecated operation list.

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

--HG--
extra : moz-landing-system : lando
2019-09-19 00:20:37 +00:00
Cosmin Sabou 2978a72248 Backed out 10 changesets (bug 1578661) for linting failures on layout/style/ServoCSSPropList.py. CLOSED TREE
Backed out changeset b1b5393b1099 (bug 1578661)
Backed out changeset b87eebb0cf6e (bug 1578661)
Backed out changeset 6ba2ee45f26e (bug 1578661)
Backed out changeset 4a1d45160d60 (bug 1578661)
Backed out changeset 7a5687bebc02 (bug 1578661)
Backed out changeset 33c306c9020a (bug 1578661)
Backed out changeset 89d7e6fb24b0 (bug 1578661)
Backed out changeset 42c4943e569b (bug 1578661)
Backed out changeset 88d988a80de1 (bug 1578661)
Backed out changeset 78c90f9e9eee (bug 1578661)
2019-09-19 01:50:03 +03:00
Mike Hommey a2c98c357d Bug 1578530 - Add missing dependencies for clang-plugin tests. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D46255

--HG--
extra : moz-landing-system : lando
2019-09-18 13:39:03 +00:00
Emilio Cobos Álvarez 7155c266f5 Bug 1578661 - Add telemetry histograms for all CSS properties. r=chutten,boris
And add them to the UseCounter enum. Also add some sanity-check assertions that
the reporting code relies on.

This works much like the deprecated operation list.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 15:44:39 +00:00
Andreea Pavel 7494b360c0 Backed out 10 changesets (bug 1578661) for lints failure at ServoCSSPropList.cpp on a CLOSED TREE
Backed out changeset ed3c619100e7 (bug 1578661)
Backed out changeset 027514a2eaf6 (bug 1578661)
Backed out changeset f2e228282b20 (bug 1578661)
Backed out changeset 67c36136dce7 (bug 1578661)
Backed out changeset 2280b27cc130 (bug 1578661)
Backed out changeset 445d13a2c452 (bug 1578661)
Backed out changeset 89caaa850049 (bug 1578661)
Backed out changeset 2f8be5db1786 (bug 1578661)
Backed out changeset 51a015a9a0f8 (bug 1578661)
Backed out changeset ad8e1f27a600 (bug 1578661)
2019-09-18 18:09:30 +03:00
Emilio Cobos Álvarez e1882a044c Bug 1578661 - Add telemetry histograms for all CSS properties. r=chutten,boris
And add them to the UseCounter enum. Also add some sanity-check assertions that
the reporting code relies on.

This works much like the deprecated operation list.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 12:04:35 +00:00
Karl Tomlinson 78bb2541b3 Bug 834505 undef GetCurrentTime() from windows-h-wrapper.template.h r=glandium
GetCurrentTime is declared in WinBase.h
https://github.com/tpn/winsdk-10/blob/master/Include/10.0.10240.0/um/WinBase.h#L91

Documentation for functions declared in winbase.h instruct to include
Windows.h. e.g.
https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-copyfile
Other macro declarations in winbase.h such as CopyFile() are already adjusted
with this wrapper via windows-h-unicode.decls.h

A similar, but different, static inline could be provided but is not required.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 02:52:20 +00:00
Kai Engert d65daa1f26 Bug 1570064 - Allow app (e.g. Thunderbird) to extend the system-headers variable. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D45922

--HG--
extra : moz-landing-system : lando
2019-09-17 09:54:33 +00:00
championshuttler 873e68649c Bug 1570772 - Fix license text for some files. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D45532

--HG--
extra : moz-landing-system : lando
2019-09-11 14:24:29 +00:00
Mike Shal 3b8df1c395 Bug 1580028 - Always merge PGO profile data in the run task; r=firefox-build-system-reviewers,chmanchester
If the run task generates bad profile data, the merge step in the
profile-use task will fail. However, retrying the profile-use task
doesn't fix the problem, and there isn't a straightforward way to retry
the run task in this situation. Instead we can add a clang toolchain to
all the run tasks, and perform the merge there.

This means the output from the run task will always be a successfully
merged file called 'merged.profdata', and we no longer need to perform
the merge as part of the profile-use build as a GENERATED_FILES step.

Depends on D45262

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

--HG--
extra : moz-landing-system : lando
2019-09-10 21:56:15 +00:00
Nathan Froyd 5411ed9874 Bug 1578876 - add exception for Decimal code to check_vanilla_allocations.py; r=njn
Calls to these allocation functions from mozglue can generally be ignored.

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

--HG--
extra : moz-landing-system : lando
2019-09-10 16:22:33 +00:00
Mike Shal 4d1c6efb73 Bug 1579969 - Don't add export dependency on .cargo/config when testing; r=glandium
Bug 1578254 added a dependency on .cargo/config to export, which happens
to work in the python/mozbuild/mozbuild/test/backend/test_build.py test
cases because DEPTH=., and make finds the checked-in file .cargo/config
in topsrcdir because VPATH points there. After removing VPATH in bug
1496746, the test no longer finds the file in topsrcdir, and doesn't
have a rule to build it since that exists in the top-level moz.build
file.

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

--HG--
extra : moz-landing-system : lando
2019-09-09 23:56:10 +00:00
Mike Shal f8f5fce637 Bug 1496746 - Remove VPATH; r=glandium
Having a full VPATH for the srcdir sometimes causes make to grab the
wrong prerequisite for a rule, in particular if we have a file in the
srcdir and also generate a file of the same name in the objdir. We don't
really need VPATH anymore though, since most of the information comes
from mozbuild, where we can explicitly list the path to the srcdir or
objdir as necessary.

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

--HG--
extra : moz-landing-system : lando
2019-09-09 17:44:47 +00:00
Mike Hommey d9362c0f85 Bug 1578254 - Trick Make into running rust targets earlier again. r=nalexander
One of the things bug 1567616 did was to change how .cargo/config is
preprocessed, from it happening during configure to it happening during
the build. And to make things happen properly, dependencies were added
on the rust targets to ensure the .cargo/config file is created before
they run.

Unfortunately, that changed the order in which Make would run all the
targets while recursing for the compile tier, when the file doesn't
exist first. So instead of starting the compile tier with rust targets,
it would start with most C++, then do rust... which we know to make
builds slower overall because of the need to wait for those rust builds
to finish which C++ has all been dealt with already, and lacking
parallelism during the rust build.

So we force .cargo/config to be generated during export (which it is not
already because OBJDIR_PP_FILES are currently dealt with during misc).
That makes Make still run the rust targets early during the compile
tier.

And while here, we extend the if block in recurse.mk that excludes all
the top-level recursion dependencies when running from subdirectories.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 22:58:03 +00:00
Nathan Froyd b5f39847e1 Bug 1578776 - wrap some synchronization-related STL headers; r=firefox-build-system-reviewers,mshal
I'm not sure how things have worked without these headers getting
wrapped, but they need to be for declarations in them to work properly.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 17:56:49 +00:00
ffxbld 426de7d9bd Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2019-09-02 09:00:31 +00:00
Tom Ritter be95428eb4 Bug 1576758 - Correct a HostSharedLibrary's link command to correctly output a pdb r=glandium
-Fd is the parameter accepted by clang. -PDB is the parameter accepted by lld-link. Additionally, to produce a pdb you apparently also need the -DEBUG flag

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

--HG--
extra : moz-landing-system : lando
2019-08-27 01:00:18 +00:00
Mike Hommey 2c49da7d67 Bug 1575760 - Generate .cargo/config as part of the build rather than as a configure subst file. r=firefox-build-system-reviewers,chmanchester
We'll require preprocessing that configure subst files don't allow in
the next change, so prepare for that.

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

--HG--
extra : moz-landing-system : lando
2019-08-22 21:27:24 +00:00
Mike Hommey 5426bad1b9 Bug 1575484 - Don't LTO gkrust-gtest. r=froydnj
We don't actually care that much about LTO'ing the rust parts of libxul
for gtests, and not LTO'ing it would save multiple minutes of build time
on automation.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 11:14:14 +00:00
Mike Hommey 20f01277a6 Bug 1575375 - Pull mozbuild tests out of make check. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D42759

--HG--
extra : moz-landing-system : lando
2019-08-21 05:00:50 +00:00
Mike Hommey 66d7fe943e Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D42765

--HG--
extra : moz-landing-system : lando
2019-08-21 12:25:42 +00:00
Mike Hommey 58d070f0bd Bug 1435498 - Change how Make depend files are included. r=froydnj
Make depend files related to object files are only really useful when
the corresponding build targets are being processed. OTOH, when they are
included too broadly, when the build recurses in the same directory for
different targets (e.g. target-objects, target, host-objects and/or
host), it is possible for one of them to start creating depend files
that the others would end up reading, and those reads might be
incomplete, possibly leading to build failures because Make think it's
malformed.

So, we only include the object files's depend files in when Make is
explicitly treating a target that will build objects.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 12:27:49 +00:00
Mike Hommey 00256d3837 Bug 1575135 - Make configure sandbox open() look more like python 3's. r=nalexander
As a consequence, we can replace the encoded_open function that did the
same in an opt-in manner.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 04:44:43 +00:00