Commit Graph
88 Commits
Author SHA1 Message Date
Dustin J. Mitchell d974951192 Bug 1383880: annotate source files with what they SCHEDULE; r=ahal
MozReview-Commit-ID: CR70dSg5R79
2017-08-25 19:31:54 +00:00
Phil Ringnalda b76b48b887 Backed out 12 changesets (bug 1383880) for decision task bustage
CLOSED TREE

Backed out changeset fd3615e7e0a3 (bug 1383880)
Backed out changeset 8cceb6a82bfb (bug 1383880)
Backed out changeset 571a6c9054a5 (bug 1383880)
Backed out changeset ec2b8ba5a949 (bug 1383880)
Backed out changeset 8e5847d9acda (bug 1383880)
Backed out changeset b354fdf6e233 (bug 1383880)
Backed out changeset ebdd6ccbcfca (bug 1383880)
Backed out changeset ebcc9d20981a (bug 1383880)
Backed out changeset 97eedc84d6e8 (bug 1383880)
Backed out changeset a3116da52b4e (bug 1383880)
Backed out changeset b3eb0c939720 (bug 1383880)
Backed out changeset 7c07cb798530 (bug 1383880)

MozReview-Commit-ID: EPDuQHr7w2y
2017-09-20 19:57:39 -07:00
Dustin J. Mitchell 8d0e1b1ab8 Bug 1383880: annotate source files with what they SCHEDULE; r=ahal
MozReview-Commit-ID: CR70dSg5R79
2017-08-25 19:31:54 +00:00
Andrew Halberstadt ec257dcef2 Bug 1392390 - Create a reftest selftest harness, r=jmaher
This just adds two basic tests, one for a passing test and another for a
failing one. In mochitest, we use privileged APIs to also tests crashes,
assertions, asan and leaks. But these APIs aren't available to reftests
so I'm not sure how we can test these things.

I figure it's not worth holding the framework up on this though, I'll file
a follow-up to figure out something to do for that.

MozReview-Commit-ID: 59TSbsugT5T
2017-09-11 16:08:01 -04:00
Ryan VanderMeulen c41dc43ff0 Backed out 9 changesets (bug 1383880) for decision task bustage.
Backed out changeset 53f5d47a7cb0 (bug 1383880)
Backed out changeset a0abda41172a (bug 1383880)
Backed out changeset 729a7e2091e8 (bug 1383880)
Backed out changeset a33f5a14a471 (bug 1383880)
Backed out changeset 5b10d321cfee (bug 1383880)
Backed out changeset 8056488d8aed (bug 1383880)
Backed out changeset e62c90e3c1e8 (bug 1383880)
Backed out changeset 91f116ce6c2a (bug 1383880)
Backed out changeset 045498bc36c4 (bug 1383880)
2017-09-01 15:37:08 -04:00
Dustin J. Mitchell d3963d2961 Bug 1383880: annotate source files with what they SCHEDULE; r=ahal
MozReview-Commit-ID: CR70dSg5R79
2017-08-25 19:31:54 +00:00
Andrew Halberstadt 6b9adcc704 Bug 1391675 - Fix sm-pkg bustage on a CLOSED TREE, r=bustage CLOSED TREE
MozReview-Commit-ID: KbDxxJtWFbE
2017-08-23 15:22:57 -04:00
Andrew Halberstadt 5974a0f9bd Bug 1391675 - [tryselect] Add a test for 'mach try fuzzy' and associated task, r=gps
Basic test to get the ground work laid out.

MozReview-Commit-ID: LmjA3Kq7xKN
2017-08-21 11:52:28 -04:00
Eric Rahm 4d399e631a Bug 1389598 - Part 4: Remove remaining gonk refs. r=froydnj 2017-08-11 17:45:18 -07:00
Axel Hecht c7ce6e401d bug 1370176, generic configuration for l10n, r=flod,gps
The current way to configure compare-locales has a lot of
assumptions that make our l10n system really stubborn.

The generic configuration is independent of python, and uses
toml files for configuration. They're still modular, but
there's only one file format.

See http://moz-l10n-config.readthedocs.io/en/latest/fileformat.html
for the specification.

Also fixes a few nits in filter.py, where we compared the
entity key as bool, which is false if we pass in ''.
Explicitly compare as "entity is None" to be precise about
when we're checking files.

MozReview-Commit-ID: 5TmfobaImF4
2017-06-05 10:28:33 +02:00
Andrew Halberstadt 21e8f04681 Bug 1048446 - [python-test] Create a mochitest selftest harness, r=jmaher
This will create a mochitest selftest harness based on |mach python-test|. There
is also a basic test that checks whether TEST-PASS and TEST-UNEXPECTED-FAIL work.

MozReview-Commit-ID: Jqyhbj7nC6z
2017-05-31 13:52:01 -04:00
Wes Kocher 6290887074 Backed out changeset 91ddd0674124 (bug 1370176) for build bustage a=backout CLOSED TREE
MozReview-Commit-ID: IiyTf0EQtAw
2017-06-09 08:59:49 -07:00
Axel Hecht 1675844a80 bug 1370176, generic configuration for l10n, r=flod,gps
The current way to configure compare-locales has a lot of
assumptions that make our l10n system really stubborn.

The generic configuration is independent of python, and uses
toml files for configuration. They're still modular, but
there's only one file format.

See http://moz-l10n-config.readthedocs.io/en/latest/fileformat.html
for the specification.

Also fixes a few nits in filter.py, where we compared the
entity key as bool, which is false if we pass in ''.
Explicitly compare as "entity is None" to be precise about
when we're checking files.

MozReview-Commit-ID: 5TmfobaImF4
2017-06-05 10:28:33 +02:00
Andrew Halberstadt 7bb38413f2 Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted
This commit is a simple 'hg mv' and does not contain any file modifications.

***
Bug 1346025 - Split vendored modules in python/moz.build to third_party/python/moz.build, r=ted

***
Bug 1346025 - Update references to moved python modules, r=ted

MozReview-Commit-ID: A12RnIFtXju
2017-05-25 11:48:03 -04:00
Carsten "Tomcat" Book 813ef1118e Backed out changeset 34b11112f0e3 (bug 1346025) for bustage 2017-06-07 14:38:39 +02:00
Andrew Halberstadt 5edd1cf160 Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted
This commit is a simple 'hg mv' and does not contain any file modifications.

***
Bug 1346025 - Split vendored modules in python/moz.build to third_party/python/moz.build, r=ted

***
Bug 1346025 - Update references to moved python modules, r=ted

MozReview-Commit-ID: A12RnIFtXju
2017-05-25 11:48:03 -04:00
Mike Hommey ba5d0fb188 Bug 1262241 - Move the definition of the js library to a subdirectory. r=mshal
Also move some related files and rules used for `make install`.

Also move the js directory up in the top-level directory, so that the
linking order for the js library stays the same (fdlibm and ffi going
after the js engine objects)

This has the side effect of moving js/src/target very early in the
compilation tier.
2017-04-04 11:43:14 +09:00
Wes Kocher 5f709e25bd Merge inbound to central, a=merge
MozReview-Commit-ID: 62e9XDudUlc
2017-03-08 17:07:55 -08:00
Joel Maher 1a43092c2c Bug 1344860 - add BUG_COMPONENT to many root level files files. r=ted
MozReview-Commit-ID: DnZFs4Vz9gl
2017-03-08 11:17:11 -05:00
Andrew Halberstadt 9f06f03c86 Bug 1345109 - Delete 'JS_STANDALONE' from EmptyConfig when generating test metadata, r=mshal
EmptyConfig objects set JS_STANDALONE=1 by default. However, test tasks that need to run without an objdir
need to be behind an "if not CONFIG['JS_STANDALONE']" condition to avoid causing bustage to sm-pkg task (js
packaging). This patch explicitly deletes that default value, only when generating the TestManifestBackend.

Ideally, the js/src packaging should have their own moz.build instead of re-using the root moz.build. But this
is an easier fix in the short term to get the marionette-harness tests working again.

MozReview-Commit-ID: 26lHLY6WlZK
2017-03-07 10:56:22 -05:00
Andrew Halberstadt d14cf98c65 Bug 1335873 - Add marionette-harness python tests to root moz.build file, r=mshal
The marionette-harness tests should be runnable even without an objdir, however the
marionette moz.build file doesn't get included without a build via the DIRS variable.

This change gets around that issue by specifically including the marionette-harness
manifest from the root moz.build, though maybe it would be better to always process
the testing/marionette/moz.build file, and move things that need to behind an
"if CONFIG['MOZ_BUILD_APP']" condition?

MozReview-Commit-ID: Ata99evHxbd
2017-03-01 11:52:51 -05:00
Sebastian Hengst 20f1feba40 Backed out changeset f35554b2951e (bug 1335873) 2017-03-01 17:35:01 +01:00
Andrew Halberstadt 55ee30ab1c Bug 1335873 - Add marionette-harness python tests to root moz.build file, r=mshal
The marionette-harness tests should be runnable even without an objdir, however the
marionette moz.build file doesn't get included without a build via the DIRS variable.

This change gets around that issue by specifically including the marionette-harness
manifest from the root moz.build, though maybe it would be better to always process
the testing/marionette/moz.build file, and move things that need to behind an
"if CONFIG['MOZ_BUILD_APP']" condition?

MozReview-Commit-ID: Ata99evHxbd
2017-02-15 16:47:11 -05:00
Andrew Halberstadt b63ab1d431 Bug 1003417 - Include testing/mozbase/moz.build from root moz.build file, r=ted
By including the mozbase's moz.build directly in the root moz.build, we are making sure that
mozbase unittests will be found even if there is no build/objdir. This will be useful when
running mozbase tests in their own taskcluster task.

MozReview-Commit-ID: DqqY09I3JBC
2017-02-01 09:56:33 -05:00
Ted Mielczarek 0f4538fc62 bug 1295937 - build NSS using gyp files. r=glandium
MozReview-Commit-ID: Gm1PLWSJwbD
2016-11-09 12:37:09 -05:00
Ted Mielczarek fb89176930 bug 1298422 - vendor byteorder into third-party/rust. r=froydnj
MozReview-Commit-ID: ChKCKiIVEfq
2016-09-08 15:12:34 -07:00
Sebastian Hengst cda67b5d84 Backed out changeset 95e68b473e91 (bug 1289194) for failure to process moz.build file. r=backout a=backout
MozReview-Commit-ID: GhfzNoiE808
2016-09-07 18:45:40 +02:00
Christian Holler (:decoder) 09deaa21d9 Bug 1289194 - Experimental LibFuzzer integration. r=glandium 2016-09-01 15:07:01 +02:00
Tom Tromey 1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Dustin J. Mitchell 2db03e8aeb Bug 1258497: Implement a new taskgraph generation system; r=gps
The `taskgraph` package generates TaskCluster task graphs based on collections
of task "kinds".  Initially, there is only one kind, the "legacy" kind, which
reads the YAML files from `testing/taskcluster/tasks` to generate the task
graph.

Try syntax is implemented by filtering the tasks in the taskgraph after it has
been created, then extending the result to include any prerequisite tasks.

A collection of `mach taskgraph` subcommands are provided for developers to
extend or debug the task-graph generation process.

MozReview-Commit-ID: 1TJCns4XxZ8
2016-05-16 22:53:22 +00:00
Chris Manchester 3005106fd3 Bug 1264817 - Traverse nspr and icu during disable compile environment builds now that we aren't using their build systems. r=glandium
This also allows us to use the in-tree icu data file for artifact builds.

MozReview-Commit-ID: 4FWd7PV4ONC
2016-04-15 09:17:40 -07:00
Tooru Fujisawa bd44fd06fa Bug 933257 - Part 3: Add build scripts for fdlibm. r=jwalden 2015-11-18 19:13:22 +09:00
Richard Newman c804dbd5a3 Bug 1220184 - Eliminate Gingerbread compatibility. r=froydnj, r=nalexander
MozReview-Commit-ID: E5Ng6Y0IEU9
2016-02-24 09:25:14 -08:00
Tooru Fujisawa 3cb4578ee6 Backed out changeset c91821911d55 (bug 933257) 2016-03-15 08:15:09 +09:00
Tooru Fujisawa 4911f186f8 Bug 933257 - Part 3: Add build scripts for fdlibm. r=jwalden 2015-11-18 19:13:22 +09:00
Chris Manchester 1de8363e54 Bug 1240149 - Build system changes necessary to run linux artifact builds in automation. r=glandium
MozReview-Commit-ID: CJ0CTBtklCs
2016-02-11 18:46:46 -08:00
Gregory Szorc d598f72ec9 Bug 1245953 - Convert TaskCluster docs to Sphinx; r=garndt
It is possible to hook up in-tree documentation to Sphinx. Convert the
one-off README.md to ReStructuredText and add it to the Sphinx docs.

I added a moz.build file under testing/ because I don't think it is
appropriate for the Sphinx directive to live in the root moz.build file.

MozReview-Commit-ID: 90tCb7mA63C
2016-02-17 10:24:06 -08:00
Mike Hommey 1dcb911af1 Bug 1247162 - Generate a header defining MOZ_SOURCE_*. r=mshal
The behavior is not entirely idempotent (most notably for
buildconfig.html), but this can be improved later if necessary.
It is idempotent where it matters.

This allows to get rid of config/makefiles/rcs.mk and its uses.
2016-02-12 07:16:14 +09:00
Mike Hommey 381c4a715f Bug 1246881 - Generate a header defining MOZ_BUILDID. r=mshal 2016-02-12 07:15:55 +09:00
Kyle Huey e95edb30a9 Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Mike Hommey fe63725e36 Bug 1233282 - Move mozilla-config.h's export to moz.build. r=gps 2015-12-23 16:18:56 +09:00
Mike Hommey 5758a4ca53 Backout changesets 53a9d03e4223, e61d18180feb and f07752f611f6 (bug 1233282) for a race condition bustage on a CLOSED TREE. 2015-12-18 17:07:13 +09:00
Mike Hommey acbd2912e8 Bug 1233282 - Move mozilla-config.h's export to moz.build. r=gps 2015-12-18 15:57:12 +09:00
Mike Hommey 82af2e35f6 Bug 1231314 - Turn mozilla-config.h and js-confdefs.h into CONFIGURE_DEFINE_FILES. r=gps
Both these files, are, after all, define files, like other CONFIGURE_DEFINE_FILES.
They only happen to have a special requirement for an expansion for all defines,
which doesn't need to happen through traditional preprocessing.

This change adds consistency in how configure-related headers are being handled.
2015-12-15 08:06:11 +09:00
Mike Hommey 899f1cabf4 Bug 1211765 - Remove remnants from --with-libxul-sdk. r=bsmedberg
The configure option has explicitly thrown an error for more than a year now,
and it happens that the remaining way to still forcefully use it has been
broken for more than 8 months.
2015-10-14 08:02:34 +09:00
Makoto Kato 5b8da1840d Bug 1134110 - other-license/android is unnecessary if Android minimum version is 11 or later. f=esawin, r=sworkman 2015-05-14 15:38:18 +09:00
Jim Blandy 5b02d88b40 Bug 1062473: Use mozalloc's moz_malloc_size_of in the JS shell, not our own custom copy. r=glandium 2015-04-13 16:11:32 -07:00
Jim Blandy 798066eed6 Bug 1134039: Make SpiderMonkey standalone (JS_STANDALONE) builds use jemalloc and mozglue by default. r=glandium
JS_STANDALONE builds don't need everything in mozglue; have mozglue omit the
unneeded code for such builds.

Since the SpiderMonkey binaries are now more like the other Gecko binaries, we
can remove some special cases for JS_STANDALONE in GeckoSharedLibrary,
GeckoProgram, etc. All Gecko binaries now use mozglue, which contains mfbt, so
we no longer need mention mfbt explicitly.

Add a property to the getBuildConfiguration testing function's result that
indicates whether we're using jemalloc or not.

Include the newly necessary source directories in the SpiderMonkey source
package.
2015-03-19 02:12:53 -07:00
Gregory Szorc 1e691ecc28 Bug 1132771 - Define some bug components; r=glandium
This patch defines bug components for code that I have historically
touched.
2015-02-26 11:43:45 -08:00
Gregory Szorc 96c0795af9 Bug 1132771 - Support and test for reading without a config object; r=glandium
We want the ability to read data from any moz.build file without needing
a full build configuration (running configure). This will enable tools
to consume metadata by merely having a copy of the source code and
nothing more.

This commit creates the EmptyConfig object. It is a config object that -
as its name implies - is empty. It will be used for reading moz.build
files in "no config" mode.

Many moz.build files make assumptions that variables in CONFIG are
defined and that they are strings. We create the EmptyValue type that
behaves like an empty unicode string. Since moz.build files also do some
type checking, we carve an exemption for EmptyValue, just like we do for
None.

We add a test to verify that reading moz.build files in "no config" mode
works. This required some minor changes to existing moz.build files to
make them work in the new execution mode.
2015-02-26 10:21:52 -08:00