Auto merge of #9267 - bholley:geckolib_fixutil, r=Manishearth

Use cargo features to reduce the dependencies of components/util in GeckoLib builds

Fixes #9260.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9267)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-01-12 10:57:13 +05:30
commit 6beebd3b4f
11 changed files with 204 additions and 860 deletions

View file

@ -55,8 +55,8 @@ use js::rust::ToString;
use libc;
use num::Float;
use std::{ptr, mem, slice};
pub use util::non_geckolib::{StringificationBehavior, jsstring_to_str};
use util::str::DOMString;
pub use util::str::{StringificationBehavior, jsstring_to_str};
/// A trait to check whether a given `JSObject` implements an IDL interface.
pub trait IDLInterface {

View file

@ -50,7 +50,7 @@ use std::default::Default;
use std::ffi::CString;
use std::ptr;
use util::mem::HeapSizeOf;
use util::str::jsstring_to_str;
use util::non_geckolib::jsstring_to_str;
/// Proxy handler for a WindowProxy.
pub struct WindowProxyHandler(pub *const libc::c_void);