mirror of
https://github.com/servo/servo.git
synced 2025-07-08 07:53:40 +01:00
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:
parent
7e0f5afa83
commit
662b2e7397
7 changed files with 24 additions and 200 deletions
|
@ -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"
|
||||
|
|
15
components/style/gecko_bindings/nsstring_vendor/Cargo.toml
Normal file
15
components/style/gecko_bindings/nsstring_vendor/Cargo.toml
Normal 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 = []
|
1025
components/style/gecko_bindings/nsstring_vendor/src/lib.rs
Normal file
1025
components/style/gecko_bindings/nsstring_vendor/src/lib.rs
Normal file
File diff suppressed because it is too large
Load diff
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue