blob: eda709dfa60c4f243fdd2efd10274b73a95f6183 [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 linux;
use linux as platform;
pub(crate) use linux::*;
} else if #[cfg(windows)] {
mod windows;
use windows as platform;
pub(crate) use windows::*;
pub(crate) use platform::get_acpi_event_sock;