Commit Graph

2415 Commits

Author SHA1 Message Date
Ted Mielczarek
11449f6fba bug 1305958 - Allow custom GENERATED_FILES in SYMBOLS_FILE. r=glandium
This patch allows specifying an objdir path in `SYMBOLS_FILE`, with the
requirement that the file is also listed in `GENERATED_FILES`. This is used
for handling NSS' .def files with their special processing.

I added tests for the existing `SYMBOLS_FILE` case as well as the new case
and a test for the error if the file is not listed in `GENERATED_FILES`.

MozReview-Commit-ID: 3cVbKplltfb

--HG--
extra : rebase_source : 0ae4180dbe9383b09f14554bfda8aec20d7cc094
2016-09-02 15:34:09 -04: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
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
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
0c70afc0a3 Bug 1305502 - Add an option to download symbols for an artifact build. r=glandium
MozReview-Commit-ID: HJxJeMkLiz9
2016-09-26 14:54:24 -07:00
Mike Hommey
09e520c674 Bug 1307355 - Add an implicit dependency on --enable-compile-environment to pkg_check_modules. r=chmanchester
--HG--
extra : rebase_source : bd16320895f54d42c8207722a4a4c366d1332170
2016-10-04 15:33:37 +09:00
Gregory Szorc
f4832137ac Bug 1286900 - Stop producing web-platform tests zip file; r=ted
Now that we access WPT related files from a source checkout, we no
longer need the web-platform tests zip file produced or consumed by
automation. So stop producing it.

MozReview-Commit-ID: Ea8KjKZJ5Yx

--HG--
extra : rebase_source : f22506a02fdd5e78434cdc5d1c1f274db1cd04e2
2016-09-20 18:41:06 -07:00
Phil Ringnalda
c1e745733c Merge m-i to m-c, a=merge
MozReview-Commit-ID: IffTwuMbwmG
2016-10-03 20:09:05 -07:00
Andrew Halberstadt
1b0964f59b Bug 1304593 - Take universal binaries into account when detecting objdir mismatches, r=gps
When attempting to run mach from a make target, there were failures on OSX due to an objdir
mismatch:
https://dxr.mozilla.org/mozilla-central/rev/7c576fe3279d87543f0a03b844eba7bc215e17f1/python/mozbuild/mozbuild/base.py#656

The two detected objdirs were "<objdir>" and "<objdir>/x86_64". I believe this should not
count as a mismatch, otherwise it would not be possible to run a mach command from the
x86_64 directory.

MozReview-Commit-ID: CXDEABNWX8L

--HG--
extra : rebase_source : 9daeaf372d872921e7b2854eee0313b5adc0e707
2016-09-30 14:27:38 -04:00
Andrew Halberstadt
fae591ac2b Bug 1304593 - Fix broken test_entry_point.py in mach, r=gps
Fix and enable python/mach/mach/test/test_entry_poiny.py.

MozReview-Commit-ID: FtMpt8Nmq3g

--HG--
extra : rebase_source : 73755266b7d9570065c0ab18e0b50e074559914c
2016-09-27 17:11:00 -04:00
Ted Mielczarek
739348c41e bug 1294565 - add a mach vendor rust command to vendor crates into third_party/rust. r=gps
This command is mostly just a wrapper around `cargo vendor`, but it runs
it the right way and will install the cargo-vendor tool if necessary.

Additionally, the mach command will by default error if there are uncommited
changes to files other than Cargo.{toml,lock} in your working copy, and it
will stage changes to the vendored crates in your VCS after the update.

MozReview-Commit-ID: 2fMDBawNUMO

--HG--
extra : rebase_source : fe72f26aec795eb663c554933432e700ac5089c3
2016-09-29 06:39:14 -04:00
Ted Mielczarek
93587924f6 bug 1294565 - add some more helpers to mozversioncontrol, add MozbuildObject.repository. r=gps
I wanted to be able to do some VCS interaction from a mach command, and we
didn't have anything suitable, so I tore up mozversioncontrol and replaced
it with a framework to hang new features off of. I've only implemented
the bits I need currently (get_modified_files and add_remove_files),
but it should be straightforward to add more functionality there.

This patch also adds a `repository` property to `MozbuildObject`, which will
return a `Repository` object for the topsrcdir to make using these helpers
even easier for `MozbuildObject`-derived classes.

MozReview-Commit-ID: Gw6Ixp1ltiN

--HG--
extra : rebase_source : e619d6642eb86c3f96e679ac22a3e561dfdbb56a
2016-09-29 06:48:37 -04:00
Mike Shal
07b492f103 Bug 1306405 - add BUILDSTATUS messages to the tup backend; r=chmanchester
MozReview-Commit-ID: HoDUuKkmv2l

--HG--
extra : rebase_source : 3d4acbcf639976d769a51eacd0d04beb87a40bf3
2016-09-26 14:16:09 -04:00
Carsten "Tomcat" Book
5b45193594 merge mozilla-inbound to mozilla-central a=merge 2016-09-29 11:44:58 +02:00
Mike Shal
91feda6d73 Bug 1305157 - Handle the build/ directory's GENERATED_FILES; r=gps
This is a little tricky since tup expects rules in a single Tupfile to
be topologically sorted, and the emitter emits the GeneratedFile object
before it emits the FinalTargetPreprocessedFile object. We work around
this by delaying when we process the application.ini.h GeneratedFile
object, but it's a hack.

MozReview-Commit-ID: 8nVm76nZOKb

--HG--
extra : rebase_source : a82cfbeef739aac791998fb6d45cf88eb7116e32
2016-09-28 13:59:36 -04:00
Mike Shal
b5f5829f3f Bug 1305157 - Handle FinalTargetPreprocessedFiles in the tup backend; r=gps
MozReview-Commit-ID: 6fxTagN6mGl

--HG--
extra : rebase_source : 26a00428ad9a337c355d20b8acf229c8387fbede
2016-09-28 13:55:38 -04:00
Mike Shal
02bca067c4 Bug 1305157 - Fix buildid.h and create source-repo.h in make before tup runs; r=gps
MozReview-Commit-ID: CPYA1OJUfo8

--HG--
extra : rebase_source : ed8f4b193ec37f3015277a4d39f19a4904b04d9a
2016-09-28 13:51:34 -04:00
Mike Shal
deedb1fd3b Bug 1305157 - Move GeneratedFile handling into its own function; r=gps
MozReview-Commit-ID: HbZBYVugj9E

--HG--
extra : rebase_source : 576aa8d93c964740f5c44a9cf151fd1b9cf4bcef
2016-09-27 13:41:16 -04:00
Carsten "Tomcat" Book
b5206d37f5 Merge mozilla-central to mozilla-inbound 2016-09-28 16:25:01 +02:00
Carsten "Tomcat" Book
572e74ee99 merge mozilla-inbound to mozilla-central a=merge 2016-09-28 15:56:33 +02:00
Phil Ringnalda
3e7326c4fd Backed out 6 changesets (bug 1286900) for making wpt-7 permanently fail on Windows debug
CLOSED TREE

Backed out changeset 859457467e3c (bug 1286900)
Backed out changeset 4b08ed30e0a5 (bug 1286900)
Backed out changeset 3928e945b584 (bug 1286900)
Backed out changeset 5b0f69c86028 (bug 1286900)
Backed out changeset 01c3527edde5 (bug 1286900)
Backed out changeset 6b5f059a85ad (bug 1286900)
2016-09-27 18:24:38 -07:00
Matthew Gregan
de2a95a064 Bug 1305604 - Convert dashes to underscores in crate name when generating --extern option. r=froydnj 2016-09-28 10:07:47 +13:00
Ted Mielczarek
6fba0e392a bug 1256642 - have the build system automatically detect LIB_IS_C_ONLY. r=glandium
MozReview-Commit-ID: 3xWSEe0Tmp9

--HG--
extra : rebase_source : 473fd5911dcf5e6d0122cb74de16e7d41cd35cdc
2016-08-24 11:29:00 -04:00
Chris Manchester
732cc6b973 Bug 1304522 - Fix the "when" argument to check_header to actually make checks conditional. r=glandium
MozReview-Commit-ID: JlYUFsPRGAV

--HG--
extra : rebase_source : 8cd667969fefb043f9769f35ba1fd12fe209a2b4
2016-09-21 22:02:43 -07:00
Gregory Szorc
13bf17ed00 Bug 1286900 - Stop producing web-platform tests zip file; r=ted
Now that we access WPT related files from a source checkout, we no
longer need the web-platform tests zip file produced or consumed by
automation. So stop producing it.

MozReview-Commit-ID: Ea8KjKZJ5Yx

--HG--
extra : rebase_source : ee6ec00689696a710faf390d3dec5c5d02d8ec74
2016-09-20 18:41:06 -07:00
Xidorn Quan
1da4aa60e1 Bug 1304302 part 11 - Remove StyleSheetHandle as well as other places reference it. r=heycam
MozReview-Commit-ID: FfYZiShjJNX

--HG--
extra : source : b75ca959d5bc0128e643a58126693b4cc704e09b
2016-09-26 22:03:25 +10:00
Mike Shal
366bb17910 Bug 1304125 - Perform WebIDL code generation in the tup backend; r=gps
MozReview-Commit-ID: Fnw8380zyGU

--HG--
extra : rebase_source : 4cad1fc9699260ce2dd25530060596de51212deb
2016-09-19 13:30:03 -04:00
Mike Shal
b48e8b54f9 Bug 1304129 - Use xpidllex.py / xpidlyacc.py from GENERATED_FILES; r=gps
MozReview-Commit-ID: 8w50kZWinzl

--HG--
extra : rebase_source : c2231f6e776cc8195063dad8c1480cec88bd5e62
2016-09-19 13:47:32 -04:00
Mike Shal
2275e6ed2e Bug 1304129 - Build GENERATED_FILES in the tup backend; r=gps
MozReview-Commit-ID: IaVAuRWIjmC

--HG--
extra : rebase_source : 66e28cea04873ba1ebace456a6607f1ee05f923f
2016-09-19 13:47:05 -04:00
Henrik Skupin
401257b7ed Bug 1301334 - Package Marionette tests via moz.build entries r=gps
Move packaging for Marionette from make to test_archiver by using root manifest files.

MozReview-Commit-ID: 1cxEBYQeJ2Z
**

--HG--
extra : rebase_source : 372a407d9207bfbccbfb88c689df60b8cc1abcaf
2016-09-20 18:05:43 +02:00
Henrik Skupin
e20a8e6f48 Bug 1302364 - Include firefox-ui and puppeteer in all-tests.json, and allow to run tests via "mach test". r=gps
MozReview-Commit-ID: EwONsQSgAym

--HG--
extra : rebase_source : 4bcf4497a2af79790378ddc1bbe47712e4c0ea6c
2016-09-21 10:31:05 +02:00
Henrik Skupin
3cd74b7623 Bug 1302364 - Update TEST_MANIFESTS documentation for install_root in resolve_tests(). r=gps
MozReview-Commit-ID: 9EXT3Jakwx1

--HG--
extra : rebase_source : 2e3752e385e2e9ed9ad38549539f24126452da07
2016-09-21 10:16:33 +02:00
Michael Layzell
73b988acc6 Bug 1303223 - Ensure that panic = 'abort' is specified for all toplevel Cargo.tomls, r=froydnj
MozReview-Commit-ID: GX0FJjDVA5q
2016-09-20 13:56:09 -04:00
Michael Layzell
05bd5a1076 Bug 1300208 - Allow specifying multiple rust crates to mozbuild within the same FINAL_LIBRARY, r=froydnj
MozReview-Commit-ID: IIjV4Kg7wOv
2016-09-20 11:26:43 -04:00
Yen Chi Hsuan
80b867a458 Bug 1143421 - install file copies instead of symlinks for Spidermonkey. r=glandium 2016-08-25 15:51:55 +08:00
Mike Hommey
94ad81b0b0 Bug 1295542 - Ensure at least an empty chrome.manifest next to each omnijar file. r=gps 2016-09-20 13:43:54 +09:00
Phil Ringnalda
c58d0d6900 Merge m-i to m-c, a=merge 2016-09-17 13:44:34 -07:00
Chris Manchester
d8c54a3aa5 Bug 1303436 - Log status when invoking configure directly from Python. r=mshal
MozReview-Commit-ID: H5gbEdBWCds

--HG--
extra : rebase_source : 35384e0451b7cef96e88b5f3e3c80d2922f9f1ba
2016-09-16 14:25:51 -07:00
James Graham
bba975bca2 Bug 1302796 - Add integration between structured logging and lints, r=ahal
MozReview-Commit-ID: K3tu0Zdg5go

--HG--
extra : rebase_source : 2b78059908c3a297b8ce7d134af20733fc082df5
2016-09-13 14:18:41 +01:00
Sebastian Hengst
6247ecc4b9 Backed out changeset e92048c87179 (bug 1302364) for failing test_emitter.py in e.g. spidermonkey tests. r=backout on a CLOSED TREE 2016-09-16 11:25:55 +02:00
Sebastian Hengst
99e7648673 Backed out changeset 1df8bde64853 (bug 1302364) 2016-09-16 11:24:29 +02:00
Henrik Skupin
3418dc5d58 Bug 1302364 - Include firefox-ui and puppeteer in all-tests.json, and allow to run tests via "mach test". r=gps
MozReview-Commit-ID: EwONsQSgAym

--HG--
extra : rebase_source : 61870a85c3f749ac3da202e08c2ba91fa87a261b
2016-09-13 17:21:52 +02:00
Henrik Skupin
2f20475d5e Bug 1302364 - Update TEST_MANIFESTS documentation for install_root in resolve_tests(). r=gps
MozReview-Commit-ID: 9EXT3Jakwx1

--HG--
extra : rebase_source : ba1f6afcaa35103a52e5bbad7618fa2c9f08f2a1
2016-09-13 17:16:51 +02:00
Wes Kocher
0677d5dc43 Merge m-c to inbound, a=merge 2016-09-16 14:35:12 -07:00
Andrew Sutherland
a31e3d2b3a Bug 1303174 - Correct gdb nsTHashtable pretty printer's understanding of table capacity to not be the entry count. r=nfroyd
It turns out the entry count is not the same as the capacity.  This turns out
badly when your hashtable is a hashtable and not an array.  Which is most of
them.  If you were using this pretty printer prior to this fix, you may have
seen anywhere between 0% and 100% of the actual entries in the table.

Apologies!

Note that this change has no bearing on any in-tree tests at this point.  We
still want to add unit tests so this is not the case.  (The JS pretty printers
have them.)
2016-09-16 10:18:29 -04:00
Carsten "Tomcat" Book
25a074d342 merge mozilla-inbound to mozilla-central a=merge 2016-09-15 11:59:50 +02:00
Ted Mielczarek
e254cc07b8 bug 1298422 - vendor byteorder into third-party/rust. r=froydnj
MozReview-Commit-ID: ChKCKiIVEfq

--HG--
extra : rebase_source : c0da7411a2f0b7fc171c9ebb99fce91361944aa5
2016-09-08 15:12:34 -07:00
Andrew Halberstadt
98a0fd6336 Bug 1302172 - [mozlint] Convert unittest tests to use pytest instead, r=maja_zf
MozReview-Commit-ID: D4bN62QbkKm

--HG--
extra : rebase_source : 22ffe05ca78095fc469520b9f85d93585251cd1c
2016-09-09 16:20:09 -04:00
Phil Ringnalda
3748f182f6 Merge m-i to m-c, a=merge 2016-09-10 00:14:21 -07:00