mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-11 04:26:38 +00:00
This brings the dir structure *somewhat* similar to that the style guide recommends. BUG=b:213153157 TEST=presubmit Change-Id: Iff7c7af1cfb64be45b07e57a9929d9f2fd1fa47e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3585020 Reviewed-by: Dennis Kempin <denniskempin@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Vikram Auradkar <auradkar@google.com>
14 lines
416 B
Rust
14 lines
416 B
Rust
// Copyright 2022 The Chromium OS Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
fn main() {
|
|
// Skip installing dependencies when generating documents.
|
|
if std::env::var("CARGO_DOC").is_ok() {
|
|
return;
|
|
}
|
|
|
|
cc::Build::new()
|
|
.file("src/sys/windows/stdio_fileno.c")
|
|
.compile("stdio_fileno");
|
|
}
|