crosvm/win_util/build.rs
Dennis Kempin 9fbf4987f0 Refactoring: Move win_(sys_)util
This executes the script in https://crrev.com/c/3537257

BUG=b:223206469
TEST=presubmit

Change-Id: I51176d02081a7130270cf1b2ebe7c58ef9056db3
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3537258
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
2022-03-22 22:23:41 +00:00

13 lines
386 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.
// Do nothing on unix as the library is windows only.
#[cfg(not(windows))]
fn main() {}
#[cfg(windows)]
fn main() {
#[cfg(target_env = "msvc")]
windows::build!(Windows::Win32::Globalization::ImmDisableIME)
}