summaryrefslogtreecommitdiff
path: root/build_extra/rust/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'build_extra/rust/BUILD.gn')
-rw-r--r--build_extra/rust/BUILD.gn19
1 files changed, 19 insertions, 0 deletions
diff --git a/build_extra/rust/BUILD.gn b/build_extra/rust/BUILD.gn
index f75b96301..af8496913 100644
--- a/build_extra/rust/BUILD.gn
+++ b/build_extra/rust/BUILD.gn
@@ -103,6 +103,7 @@ rust_crate("winapi") {
"basetsd",
"cfg",
"cfgmgr32",
+ "combaseapi",
"errhandlingapi",
"excpt",
"fileapi",
@@ -110,6 +111,7 @@ rust_crate("winapi") {
"handleapi",
"inaddr",
"in6addr",
+ "knownfolders",
"ktmtypes",
"libloaderapi",
"lsalookup",
@@ -119,15 +121,24 @@ rust_crate("winapi") {
"ntdef",
"ntsecapi",
"ntstatus",
+ "objbase",
+ "objidl",
+ "objidlbase",
"processthreadsapi",
"profileapi",
+ "propidl",
"qos",
+ "rpc",
+ "rpcdce",
"rpcndr",
+ "shlobj",
+ "shtypes",
"sspi",
"std",
"subauth",
"sysinfoapi",
"timezoneapi",
+ "unknwnbase",
"vadefs",
"vcruntime",
"winbase",
@@ -598,6 +609,14 @@ rust_crate("hyper_rustls") {
]
}
+rust_crate("dirs") {
+ source_root = "$registry_github/dirs-1.0.3/src/lib.rs"
+ extern = [
+ ":libc",
+ ":winapi",
+ ]
+}
+
ring_root = "$registry_github/ring-0.13.2/"
component("ring_primitives") {