blob: ccb7e2e0aaff2bd4835a9e744040039ff3a6a3b1 [file] [log] [blame]
// Copyright 2022 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//! A wrapper module for platform dependent code.
cfg_if::cfg_if! {
if #[cfg(any(target_os = "android", target_os = "linux"))] {
mod unix;
pub use unix::*;
} else if #[cfg(windows)] {
mod windows;
pub use windows::*;
} else {
compile_error!("Unsupported platform");
}
}