From 0185f9f9de3d0a65f1ce463e479d5069eabe3c96 Mon Sep 17 00:00:00 2001 From: "Kevin (Kun) \"Kassimo\" Qian" Date: Sun, 16 Sep 2018 18:09:02 -0700 Subject: Add the 'dirs' crate, enable the required 'winapi' features --- build_extra/rust/BUILD.gn | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'build_extra/rust/BUILD.gn') 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") { -- cgit v1.2.3