diff options
author | xiongmao86 <superkeen@sina.cn> | 2014-02-05 20:22:49 +0800 |
---|---|---|
committer | xiongmao86 <superkeen@sina.cn> | 2014-02-09 13:56:47 +0800 |
commit | a0a28025352162e5fa30b0485fd2f08c17af936d (patch) | |
tree | 8439ddcb031303f265549a4399471c098d5180f1 /src/components/msg/msg.rs | |
parent | 9305a95b68907c91a98a4cdd817f980c9f7f7e1f (diff) | |
download | servo-a0a28025352162e5fa30b0485fd2f08c17af936d.tar.gz servo-a0a28025352162e5fa30b0485fd2f08c17af936d.zip |
Fix #1612 Rename .rc to .rs, and relevant changes in Makefile.in
Diffstat (limited to 'src/components/msg/msg.rs')
-rw-r--r-- | src/components/msg/msg.rs | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/components/msg/msg.rs b/src/components/msg/msg.rs new file mode 100644 index 00000000000..e27148b09d7 --- /dev/null +++ b/src/components/msg/msg.rs @@ -0,0 +1,44 @@ +/* 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/. */ + +#[crate_id = "github.com/mozilla/servo#msg:0.1"]; +#[crate_type = "lib"]; + +extern mod azure; +extern mod extra; +extern mod geom; +extern mod layers; +extern mod std; + +#[cfg(target_os="macos")] +extern mod core_foundation; +#[cfg(target_os="macos")] +extern mod io_surface; + +pub mod compositor_msg; +pub mod constellation_msg; + +pub mod platform { + #[cfg(target_os="macos")] + pub mod macos { + #[cfg(target_os="macos")] + pub mod surface; + } + + #[cfg(target_os="linux")] + pub mod linux { + #[cfg(target_os="linux")] + pub mod surface; + } + + #[cfg(target_os="android")] + pub mod android { + #[cfg(target_os="android")] + pub mod surface; + } + + + pub mod surface; +} + |