2016-05-18 12:11:46 +03:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
#![feature(box_syntax)]
|
|
|
|
#![feature(mpsc_select)]
|
2016-10-10 04:12:38 +03:00
|
|
|
#![feature(plugin)]
|
|
|
|
#![feature(proc_macro)]
|
2016-05-18 12:11:46 +03:00
|
|
|
#![plugin(plugins)]
|
|
|
|
|
|
|
|
#![deny(unsafe_code)]
|
|
|
|
|
2016-07-15 22:22:26 +03:00
|
|
|
extern crate backtrace;
|
2016-11-03 23:04:43 +03:00
|
|
|
extern crate bluetooth_traits;
|
2016-05-18 12:11:46 +03:00
|
|
|
extern crate canvas;
|
|
|
|
extern crate canvas_traits;
|
|
|
|
extern crate compositing;
|
2016-11-07 21:47:58 +03:00
|
|
|
extern crate debugger;
|
2016-05-18 12:11:46 +03:00
|
|
|
extern crate devtools_traits;
|
|
|
|
extern crate euclid;
|
|
|
|
#[cfg(not(target_os = "windows"))]
|
|
|
|
extern crate gaol;
|
|
|
|
extern crate gfx;
|
|
|
|
extern crate gfx_traits;
|
|
|
|
extern crate ipc_channel;
|
|
|
|
extern crate layout_traits;
|
|
|
|
#[macro_use]
|
|
|
|
extern crate log;
|
|
|
|
extern crate msg;
|
|
|
|
extern crate net_traits;
|
|
|
|
extern crate offscreen_gl_context;
|
|
|
|
#[macro_use]
|
|
|
|
extern crate profile_traits;
|
|
|
|
extern crate rand;
|
|
|
|
extern crate script_traits;
|
2016-05-21 17:34:22 +03:00
|
|
|
extern crate serde;
|
2016-10-10 04:12:38 +03:00
|
|
|
#[macro_use]
|
|
|
|
extern crate serde_derive;
|
2016-12-15 03:48:42 +03:00
|
|
|
extern crate servo_config;
|
|
|
|
extern crate servo_remutex;
|
2016-11-18 00:34:47 +03:00
|
|
|
extern crate servo_url;
|
2016-05-18 12:11:46 +03:00
|
|
|
extern crate style_traits;
|
|
|
|
extern crate webrender_traits;
|
|
|
|
|
|
|
|
mod constellation;
|
2016-05-21 17:34:22 +03:00
|
|
|
mod pipeline;
|
2016-05-22 16:43:56 +03:00
|
|
|
#[cfg(not(target_os = "windows"))]
|
|
|
|
mod sandboxing;
|
2016-05-18 12:11:46 +03:00
|
|
|
mod timer_scheduler;
|
|
|
|
|
2016-07-15 22:22:26 +03:00
|
|
|
pub use constellation::{Constellation, FromCompositorLogger, FromScriptLogger, InitialConstellationState};
|
2016-05-21 17:34:22 +03:00
|
|
|
pub use pipeline::UnprivilegedPipelineContent;
|
2016-05-22 16:43:56 +03:00
|
|
|
#[cfg(not(target_os = "windows"))]
|
|
|
|
pub use sandboxing::content_process_sandbox_profile;
|