vm_memory/udmabuf/
sys.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 mod linux;
8        pub use linux::UnixUdmabufDriver as UdmabufDriver;
9    } else if #[cfg(windows)] {
10        pub mod windows;
11        pub use windows::WinUdmabufDriver as UdmabufDriver;
12    }
13}