gpu_display/sys/
mod.rs

1// Copyright 2022 The ChromiumOS Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5cfg_if::cfg_if! {
6    if #[cfg(any(target_os = "android", target_os = "linux"))] {
7        pub(crate) mod linux;
8        pub use linux::UnixGpuDisplayExt as SysGpuDisplayExt;
9        pub(crate) use linux::UnixDisplayT as SysDisplayT;
10    } else if #[cfg(windows)] {
11        pub(crate) mod windows;
12        pub use windows::WinGpuDisplayExt as SysGpuDisplayExt;
13        pub(crate) use windows::WinDisplayT as SysDisplayT;
14    }
15}