Allowlist all aconfig deps modulo libprotobuf and libaconfig_protos
Test: b build //external/rust/crates:all
Bug: 295903972
Change-Id: Ieb29516722155ef8921e454eaa1ea51fad99ec08
diff --git a/android/allowlists/allowlists.go b/android/allowlists/allowlists.go
index 96962fd..dda125a 100644
--- a/android/allowlists/allowlists.go
+++ b/android/allowlists/allowlists.go
@@ -498,7 +498,21 @@
"libitoa",
"libos_str_bytes",
"libheck",
- "libclap_ex",
+ "libclap_lex",
+ "libsyn",
+ "libquote",
+ "libunicode_ident",
+ "libproc_macro2",
+ "libthiserror_impl",
+ "libserde_derive",
+ "libclap_derive",
+ "libthiserror",
+ "libserde",
+ "libclap",
+ "libbytes",
+ "libprotobuf_support",
+ "libtinytemplate",
+ "libserde_json",
// ext
"tagsoup",
diff --git a/rust/rust.go b/rust/rust.go
index 545d78f..121d9b4 100644
--- a/rust/rust.go
+++ b/rust/rust.go
@@ -1856,9 +1856,7 @@
}
// This is a workaround by assuming the conventions that rust crate repos are structured
-//
-// while waiting for the sandboxing work to complete.
-//
+// while waiting for the sandboxing work to complete.
// TODO(b/297344471): When crate_root prop is set which enforces inputs sandboxing,
// always use `srcs` and `compile_data` props to generate `srcs` and `compile_data` attributes
// instead of using globs.