Bug 1335525 - Update libgkrust to include webrender as an optional feature. r=froydnj

MozReview-Commit-ID: 8usfSqFWkZ0
This commit is contained in:
Kartikaya Gupta
2017-02-06 11:42:52 -05:00
parent 52c4335d06
commit 9a782e4376
4 changed files with 6 additions and 0 deletions

View File

@@ -10,11 +10,13 @@ geckoservo = { path = "../../geckolib", optional = true }
mp4parse_capi = { path = "../../../../media/libstagefright/binding/mp4parse_capi" }
nsstring = { path = "../../../../xpcom/rust/nsstring" }
rust_url_capi = { path = "../../../../netwerk/base/rust-url-capi" }
webrender_bindings = { path = "../../../../gfx/webrender_bindings", optional = true }
[features]
default = []
bindgen = ["geckoservo/bindgen"]
servo = ["geckoservo"]
quantum_render = ["webrender_bindings"]
[lib]
path = "lib.rs"

View File

@@ -8,3 +8,5 @@ extern crate geckoservo;
extern crate mp4parse_capi;
extern crate nsstring;
extern crate rust_url_capi;
#[cfg(feature = "quantum_render")]
extern crate webrender_bindings;