// Copyright 2023 The ChromiumOS Authors1// Use of this source code is governed by a BSD-style license that can be2// found in the LICENSE file.34mod config;5#[cfg(any(target_os = "android", target_os = "linux"))]6pub mod fork;7#[cfg(any(target_os = "android", target_os = "linux"))]8mod helpers;910pub use crate::config::JailConfig;11#[cfg(any(target_os = "android", target_os = "linux"))]12pub use crate::fork::fork_process;13#[cfg(any(target_os = "android", target_os = "linux"))]14pub use crate::helpers::*;1516// TODO(b/268407006): We define Minijail as an empty struct as a stub for minijail::Minijail on17// Windows because the concept of jailing is baked into a bunch of places where it isn't easy to18// compile it out. In the long term, this should go away.19#[cfg(windows)]20pub struct FakeMinijailStub {}212223