gecko-dev/build
Nathan Froyd f7fb6722a6 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-06 00:49:26 -04:00
..
annotationProcessors Bug 1291229 - Fix typo for moving Java bindings to mozilla::java namespace. r=jchen 2016-08-05 13:23:44 -04:00
autoconf Bug 1278135 - Link against less of Clang and LLVM statically when building the clang plugin, r=glandium 2016-08-05 13:54:08 -04:00
build-clang Bug 1273981 part 1: Add libc++ to clang. r=glandium 2016-08-05 10:46:38 -03:00
clang-plugin Bug 1232038 - Fix assertion errors in the clang plugin, r=ehsan 2016-08-05 13:54:09 -04:00
compare-mozconfig
docs Bug 1272748 Expose --enable-sm-promise config setting in mozinfo.json. r=mshal 2016-05-13 13:00:16 -07:00
gabi++ Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
macosx Bug 1291028 - add build script for custom Mac linker; r=mshal 2016-08-04 01:24:40 -04:00
mobile Bug 1290114 - Make Android test logging more responsive; r=ahal 2016-07-29 08:29:53 -06:00
moz.configure Bug 1231764 - part 6 - build rust code via cargo; r=chmanchester 2016-08-06 00:49:26 -04:00
package/mac_osx
pgo Bug 1281083 - P2. Testcase for changing the urlclassifier.*Table. r=francois 2016-07-18 22:31:34 +08:00
pymake
release
sanitizers Bug 1111689 - Suppress ASAN leak reports for libglsl.so. - r=jgilbert 2016-06-08 17:28:49 -07:00
stlport Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
unix Backed out changeset 86d07e6bd5b7 (bug 1272629) 2016-07-22 08:35:06 +02:00
util bug 1272503 - make alerting for changes in num_constructors more agressive r=froydnj f=wlach 2016-05-31 16:49:15 -04:00
valgrind Bug 1231701 - Add valgrind suppression for uninitialized memory access and leak in old fontconfig. r=njn 2016-06-17 16:30:07 +01:00
win32 Bug 1289638 - Update the MSVC tooltool package. r=gps 2016-08-02 13:17:15 +09:00
win64 Bug 1289638 - Update the MSVC tooltool package. r=gps 2016-08-02 13:17:15 +09:00
.gdbinit_python.in bug 985566 - add some pretty printers to .gdbinit r=froydnj r=glandium 2016-06-02 13:33:07 -04:00
.lldbinit.in
Makefile.in Bug 1269787 - Move appini_header.py rule to moz.build; r=glandium 2016-04-29 13:45:07 -04:00
__init__.py
appini_header.py Bug 1269787 - Move appini_header.py rule to moz.build; r=glandium 2016-04-29 13:45:07 -04:00
application.ini
automation-build.mk
automation.py.in Bug 1278399 - Use MOZ_LOG in automation. r=ted 2016-06-10 10:05:57 -07:00
binary-location.mk
buildconfig.py Bug 1278415 - Make the buildconfig module use MozbuildObject.from_environment. r=gps 2016-06-16 11:43:35 +09:00
checksums.py
defines.sh
dumbmake-dependencies
gecko_templates.mozbuild Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
gen_test_packages_manifest.py
genrc.sh
gyp.mozbuild Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
mach_bootstrap.py Bug 1100925 - Vendored pylru 1.0.9 into mozilla-central. r=gps 2016-07-13 14:22:01 -07:00
moz-automation.mk Bug 1244446 - Remove OSX universal builds postflight. r=gps,r=ted 2016-06-07 07:41:04 +09:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
mozconfig.automation
mozconfig.cache Bug 1285506 - include eu-central-1 in tc sccache bucket regions; r=glandium 2016-07-25 18:58:23 +01:00
mozconfig.clang-cl
mozconfig.common Bug 1186522 - force per checkin and release desktop firefox builds to require signed add-ons on beta 47 r=mshal 2016-04-27 12:46:52 -04:00
mozconfig.common.override
mozconfig.rust Bug 1249511 - Make tooltool cargo available in the environment. r=mshal 2016-07-22 13:23:29 -04:00
mozconfig.vs-common
mozconfig.win-common
qemu-wrap
sccache.mk
subconfigure.py Bug 1269517 - Fix various environment variables that may contain posix-style paths when invoking the js subconfigure. r=glandium 2016-07-26 15:27:19 -07:00
submit_telemetry_data.py
telemetry-schema.json
templates.mozbuild Bug 1231764 - part 6 - build rust code via cargo; r=chmanchester 2016-08-06 00:49:26 -04:00
test_templates.mozbuild Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
update-settings.ini
upload.py
variables.py Bug 1274655 - Resolve changeset when only repo is defined; r=mshal 2016-05-24 11:35:44 -07:00
virtualenv_packages.txt Bug 1231764 - part 4 - add pytoml to the virtualenv; r=chmanchester 2016-08-06 00:49:26 -04:00
windows_toolchain.py Bug 1289638 - Don't remove the SDK version from the SDK paths in the MSVC tooltool package. r=gps 2016-08-02 13:17:14 +09:00