diff options
author | bors-servo <release+servo@mozilla.com> | 2014-02-09 22:07:36 -0500 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2014-02-09 22:07:36 -0500 |
commit | f26cdcf235c6c323eaa15ac45c76ccadb837bef4 (patch) | |
tree | 47d81d331ef391b7610a3faf746bd9c6b0a90a25 /src/components/msg/msg.rs | |
parent | ccfd595d6ebd0dcd7a81d1ef9fa05801cd955f8a (diff) | |
parent | a0a28025352162e5fa30b0485fd2f08c17af936d (diff) | |
download | servo-f26cdcf235c6c323eaa15ac45c76ccadb837bef4.tar.gz servo-f26cdcf235c6c323eaa15ac45c76ccadb837bef4.zip |
auto merge of #1617 : xiongmao86/servo/issue1612, r=larsbergstrom
Rename *.rc to *.rs in components directory, and do some 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; +} + |