blob: 2c81acb9804e951de0a4d027b5fac5c7c26c897f [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.
cfg_if::cfg_if! {
if #[cfg(any(target_os = "android", target_os = "linux"))] {
pub(crate) mod unix;
use unix as platform;
} else if #[cfg(windows)] {
pub(crate) mod windows;
use windows as platform;
}
}
pub(crate) use platform::add_serial_device;