makepad_platform/os/
mod.rs1#[macro_use]
2#[cfg(any(target_os = "android", target_os = "linux", target_os="macos", target_os="ios", target_os="tvos", target_os="windows"))]
3pub mod cx_native;
4
5#[macro_use]
6pub mod cx_shared;
7
8pub mod cx_stdin;
9
10#[cfg(any(target_os = "macos", target_os="ios", target_os="tvos"))]
11pub mod apple;
12
13#[cfg(any(target_os = "macos", target_os="ios", target_os="tvos"))]
14pub use crate::os::apple::*;
15
16#[cfg(any(target_os = "macos", target_os="ios", target_os="tvos"))]
17pub use crate::os::apple::apple_media::*;
18
19#[cfg(target_os = "windows")]
20pub mod windows;
21
22#[cfg(target_os = "windows")]
23pub use crate::os::windows::*;
24
25#[cfg(any(target_os = "android", target_os = "linux"))]
29pub mod linux;
30
31#[cfg(any(target_os = "android", target_os = "linux"))]
32pub use crate::os::linux::*;
33
34#[cfg(target_os = "android")]
35pub use crate::os::linux::android::android_media::*;
36
37#[cfg(all(target_os = "linux", not(target_env="ohos")))]
38pub use crate::os::linux::linux_media::*;
39
40#[cfg(target_env="ohos")]
41pub use crate::os::linux::open_harmony::oh_media::*;
42
43
44#[cfg(target_arch = "wasm32")]
52pub mod web;
53
54#[cfg(target_arch = "wasm32")]
55pub use crate::os::web::*;
56
57
58