diff options
author | aydin.kim <aydin.kim@samsung.com> | 2014-04-08 15:06:11 +0900 |
---|---|---|
committer | Lars Bergstrom <lars@lars.com> | 2014-04-10 13:00:12 -0500 |
commit | aa636218e154a317a19a88858fe71e012573408b (patch) | |
tree | f70517981ff8d6d21f6efbbc90eff25275b30b0f /src/components/main/layout/context.rs | |
parent | ccb522a4659fb31b8cd8f05f40935f37242e6b64 (diff) | |
download | servo-aa636218e154a317a19a88858fe71e012573408b.tar.gz servo-aa636218e154a317a19a88858fe71e012573408b.zip |
fix android for rust update
Diffstat (limited to 'src/components/main/layout/context.rs')
-rw-r--r-- | src/components/main/layout/context.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/main/layout/context.rs b/src/components/main/layout/context.rs index 041f6747abd..a43fff40119 100644 --- a/src/components/main/layout/context.rs +++ b/src/components/main/layout/context.rs @@ -9,6 +9,7 @@ use css::matching::{ApplicableDeclarationsCache, StyleSharingCandidateCache}; use geom::size::Size2D; use gfx::display_list::OpaqueNode; use gfx::font_context::{FontContext, FontContextInfo}; +#[cfg(not(target_os="android"))] use green::task::GreenTask; use script::layout_interface::LayoutChan; use servo_msg::constellation_msg::ConstellationChan; @@ -16,9 +17,13 @@ use servo_net::local_image_cache::LocalImageCache; use servo_util::geometry::Au; use servo_util::opts::Opts; use std::cast; +#[cfg(not(target_os="android"))] use std::ptr; +#[cfg(not(target_os="android"))] use std::rt::Runtime; +#[cfg(not(target_os="android"))] use std::rt::local::Local; +#[cfg(not(target_os="android"))] use std::rt::task::Task; use style::{ComputedValues, Stylist}; use sync::{Arc, MutexArc}; |