gecko-dev/toolkit
Nathan Froyd 6b2618fb44 Bug 1231764 - part 6 - build rust code via cargo; r=chmanchester
This patch is really two separate changes.

The first change is that rust crates are large, standalone entities that
may contain multitudes of source files.  It therefore doesn't make sense
to keep them in SOURCES, as we have been doing.  Moving to use cargo
will require a higher-level approach, which suggests that we need a
different, higher-level representation for Rust sources in the build
system.

The representation here is to have the build system refer to things
defined in Cargo.toml files as the entities dealt with in the build
system, and let Cargo deal with the details of actually building things.
This approach means that adding a new crate to an existing library just
requires editing Rust and Cargo.toml files, rather than dealing with
moz.build, which seems more natural to Rust programmers.  By having the
source files for libraries (and binaries in subsequent iterations of
this support) checked in to the tree, we can also take advantage of
Cargo.lock files.

The second is that we switch the core build system over to building via
cargo, rather than invoking rustc directly.

We also clean up a number of leftover things from the Old Way of doing
things.  A number of tests are added to confirm that we'll only permit
crates to be built that have dependencies in-tree.
2016-08-03 19:40:41 -04:00
..
components Backed out changeset 3f6f0dc1663c (bug 1290598) for xpcshell timeouts in test_ext_native_messaging.js 2016-08-03 15:12:57 +02:00
content Bug 1180944 - Implement one-off searches from Awesomebar. r=mak,florian 2016-08-02 18:00:26 -07:00
crashreporter Bug 1277106 - Part 1: Use VS2015's real char16_t instead of aliasing wchar_t. r=Waldo 2016-07-20 22:01:43 -07:00
forgetaboutsite Backed out changeset c80456e5e3dd (bug 1119778) for causing s4 failures in test_forget_about_site_security_headers.js 2016-07-30 16:09:40 +02:00
identity Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
library Bug 1231764 - part 6 - build rust code via cargo; r=chmanchester 2016-08-03 19:40:41 -04:00
locales Bug 1290756 - Remove Help Viewer from Toolkit. r=gps 2016-07-31 14:08:00 +02:00
modules Backed out changeset 3242411d3294 (bug 1290598) 2016-08-03 15:12:32 +02:00
mozapps merge mozilla-inbound to mozilla-central a=merge 2016-08-02 17:09:31 +02:00
obsolete Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
pluginproblem Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
profile Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
system Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
themes Bug 1290756 - Remove Help Viewer from Toolkit. r=gps 2016-07-31 14:08:00 +02:00
xre No bug. Add a short but helpful comment to nsXULAppInfo::Callback. r=me. 2016-08-02 16:30:11 +10:00
.eslintrc Bug 1257246: Update eslint rules for eslint 2. r=MattN 2016-04-05 11:33:12 -07:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
moz.configure Merge mozilla-central to mozilla-inbound 2016-07-22 11:59:06 +02:00
toolkit.mozbuild Bug 1231764 - part 6 - build rust code via cargo; r=chmanchester 2016-08-03 19:40:41 -04:00