1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
mod utils;

#[cfg(target_os="windows")]
#[cfg(feature = "openvr")]
mod openvr;
#[cfg(target_os="windows")]
#[cfg(feature = "openvr")]
pub use self::openvr::OpenVRServiceCreator;

#[cfg(feature = "mock")]
mod mock;
#[cfg(feature = "mock")]
pub use self::mock::MockServiceCreator;

#[cfg(target_os = "android")]
#[cfg(any(feature = "googlevr", feature= "oculusvr"))]
mod jni_utils;

#[cfg(feature = "googlevr")]
mod googlevr;
#[cfg(feature = "googlevr")]
pub use self::googlevr::GoogleVRServiceCreator;
#[cfg(all(feature = "googlevr", target_os= "android"))]
pub use self::googlevr::jni::*;

#[cfg(all(feature = "oculusvr", target_os= "android"))]
mod oculusvr;
#[cfg(all(feature = "oculusvr", target_os= "android"))]
pub use self::oculusvr::OculusVRServiceCreator;
#[cfg(all(feature = "oculusvr", target_os= "android"))]
pub use self::oculusvr::jni::*;