Bug 1335525 - Update libgkrust to include webrender as an optional feature. r=froydnj
MozReview-Commit-ID: 8usfSqFWkZ0
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user