Auto merge of #11157 - mbrubeck:cef-warnings, r=metajack

Fix unused extern crate warnings in build-cef

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11157)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-05-12 10:53:10 -07:00
commit e927057478
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

@ -35,10 +35,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;