Backed out changeset 196206f129ef (bug 1403213) for referencing non-existing xpcom/rust/gtest/moz.build in xpcom/moz.build. r=backout on a CLOSED TREE

Backs out https://github.com/servo/servo/pull/18941
This commit is contained in:
Gecko Backout 2017-10-20 19:33:29 +00:00 committed by moz-servo-sync
parent 7e0f5afa83
commit 662b2e7397
7 changed files with 24 additions and 200 deletions

View file

@ -16,7 +16,7 @@ path = "lib.rs"
doctest = false
[features]
gecko = ["nsstring", "num_cpus",
gecko = ["nsstring_vendor", "num_cpus",
"style_traits/gecko", "fallible/known_system_malloc"]
use_bindgen = ["bindgen", "regex", "toml"]
servo = ["serde", "style_traits/servo", "servo_atoms", "servo_config", "html5ever",
@ -26,7 +26,7 @@ servo = ["serde", "style_traits/servo", "servo_atoms", "servo_config", "html5eve
#"arrayvec/use_union"
"servo_url"]
gecko_debug = ["nsstring/gecko_debug"]
gecko_debug = ["nsstring_vendor/gecko_debug"]
[dependencies]
app_units = "0.5.5"
@ -50,7 +50,7 @@ log = "0.3"
malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = { path = "../malloc_size_of_derive" }
matches = "0.1"
nsstring = {path = "../../support/gecko/nsstring", optional = true}
nsstring_vendor = {path = "gecko_bindings/nsstring_vendor", optional = true}
num_cpus = {version = "1.1.0", optional = true}
num-integer = "0.1.32"
num-traits = "0.1.32"

View file

@ -0,0 +1,15 @@
[package]
name = "nsstring_vendor"
version = "0.1.0"
authors = ["nobody@mozilla.com"]
license = "MPL-2.0"
description = "Rust bindings to xpcom string types"
# Revendoring nsstring from m-c into Servo
[dependencies]
bitflags = "0.8"
[features]
gecko_debug = []

File diff suppressed because it is too large Load diff

View file

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