Fix unused extern crate warnings in build-cef

This commit is contained in:
Matt Brubeck 2016-05-12 09:03:52 -07:00
parent d55884d73e
commit 83a4658cb4
3 changed files with 0 additions and 16 deletions

4
ports/cef/Cargo.lock generated
View file

@ -2,12 +2,8 @@
name = "embedding"
version = "0.0.1"
dependencies = [
"cgl 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
"cocoa 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
"compositing 0.0.1",
"core-foundation 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"core-graphics 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"core-text 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"devtools 0.0.1",
"euclid 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
"gleam 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)",

View file

@ -36,10 +36,6 @@ layers = {git = "https://github.com/servo/rust-layers"}
[target.'cfg(target_os="macos")'.dependencies]
objc = "0.2"
cocoa = "0.3"
core-foundation = "0.2"
core-graphics = "0.3"
core-text = "1.1"
cgl = "0.1"
[target.'cfg(target_os="linux")'.dependencies]
x11 = "2.3"

View file

@ -41,17 +41,9 @@ extern crate url as std_url;
#[link_args="-Xlinker -undefined -Xlinker dynamic_lookup"]
extern { }
#[cfg(target_os="macos")]
extern crate cgl;
#[cfg(target_os="macos")]
extern crate cocoa;
#[cfg(target_os="macos")]
extern crate core_foundation;
#[cfg(target_os="macos")]
extern crate core_graphics;
#[cfg(target_os="macos")]
extern crate core_text;
#[cfg(target_os="macos")]
#[macro_use]
extern crate objc;
#[cfg(target_os="linux")] extern crate x11;