diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2014-09-11 18:32:29 +0200 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2014-09-11 18:32:29 +0200 |
commit | 6b834baedaab6086438e3a84ca72b809b9f7740f (patch) | |
tree | 0ab25291235c2b7446e5b087a3bdf48dfd158473 /src/lib.rs | |
parent | c0c43f41387b30c2f78f19dbae1212256a99de49 (diff) | |
parent | 0bb82e8467f4f0acde0ba434cbc214ea9a4af476 (diff) | |
download | glutin-6b834baedaab6086438e3a84ca72b809b9f7740f.tar.gz glutin-6b834baedaab6086438e3a84ca72b809b9f7740f.zip |
Merge pull request #30 from tomaka/android
Basic support for Android
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -31,6 +31,8 @@ use win32 as winimpl; use x11 as winimpl; #[cfg(target_os = "macos")] use osx as winimpl; +#[cfg(target_os = "android")] +use android as winimpl; #[cfg(target_os = "windows")] mod win32; @@ -38,13 +40,15 @@ mod win32; mod x11; #[cfg(target_os = "macos")] mod osx; +#[cfg(target_os = "android")] +mod android; #[allow(dead_code)] //mod egl; mod events; -#[cfg(not(target_os = "windows"), not(target_os = "linux"), not(target_os = "macos"))] +#[cfg(not(target_os = "windows"), not(target_os = "linux"), not(target_os = "macos"), not(target_os = "android"))] compile_error!("Only the `windows`, `linux` and `macos` platforms are supported") /// Identifier for a monitor. |