Move bindings tests out of the style crate.

This cuts in almost half the time to run:

```
touch components/style/lib.rs
./mach test-stylo
```
This commit is contained in:
Simon Sapin 2017-05-18 18:28:25 +02:00
parent 5e60865d19
commit ee2794e966
6 changed files with 25 additions and 7 deletions

View file

@ -7,6 +7,9 @@ publish = false
build = "build.rs"
# https://github.com/rust-lang/cargo/issues/3544
links = "for some reason the links key is required to pass data around between build scripts"
[lib]
name = "style"
path = "lib.rs"

View file

@ -83,6 +83,7 @@ fn generate_properties() {
fn main() {
println!("cargo:rerun-if-changed=build.rs");
println!("cargo:out_dir={}", env::var("OUT_DIR").unwrap());
generate_properties();
build_gecko::generate();
}

View file

@ -61,7 +61,7 @@ extern crate log;
extern crate matches;
#[cfg(feature = "gecko")]
#[macro_use]
extern crate nsstring_vendor as nsstring;
pub extern crate nsstring_vendor as nsstring;
#[cfg(feature = "gecko")] extern crate num_cpus;
extern crate num_integer;
extern crate num_traits;