Allowlist all aconfig deps modulo libprotobuf and libaconfig_protos

Test: b build //external/rust/crates:all
Bug: 295903972
Change-Id: Ieb29516722155ef8921e454eaa1ea51fad99ec08
This commit is contained in:
Vinh Tran
2023-08-24 12:10:49 -04:00
parent b4bb20f583
commit c1a6ceefd3
2 changed files with 16 additions and 4 deletions

View File

@@ -498,7 +498,21 @@ var (
"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",

View File

@@ -1856,9 +1856,7 @@ func (m *Module) ConvertWithBp2build(ctx android.TopDownMutatorContext) {
}
// 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.