diff options
author | Kevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com> | 2018-09-16 18:09:02 -0700 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2018-09-16 18:38:41 -0700 |
commit | 0185f9f9de3d0a65f1ce463e479d5069eabe3c96 (patch) | |
tree | b6839c5514f6bbb56832f6353218dbd72bc2dfa2 /build_extra/rust/BUILD.gn | |
parent | ba8757b44ac824b70c6e5ea10248c1d637716b0d (diff) |
Add the 'dirs' crate, enable the required 'winapi' features
Diffstat (limited to 'build_extra/rust/BUILD.gn')
-rw-r--r-- | build_extra/rust/BUILD.gn | 19 |
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") { |