BUILD.gn (482B)
1 # Copyright 2022 The Chromium Authors 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 import("//chromium/build/rust/rust_bindgen.gni") 6 import("//chromium/build/rust/rust_executable.gni") 7 import("//chromium/build/rust/rust_static_library.gni") 8 9 rust_executable("windows_sys_test") { 10 allow_unsafe = true # Calls FFI. 11 deps = [ "//third_party/rust/windows_sys/v0_52:lib" ] 12 sources = [ "main.rs" ] 13 crate_root = "main.rs" 14 }