Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c1a6ceef authored by Vinh Tran's avatar Vinh Tran
Browse files

Allowlist all aconfig deps modulo libprotobuf and libaconfig_protos

Test: b build //external/rust/crates:all
Bug: 295903972
Change-Id: Ieb29516722155ef8921e454eaa1ea51fad99ec08
parent b4bb20f5
Loading
Loading
Loading
Loading
+15 −1
Original line number Diff line number Diff line
@@ -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",
+1 −3
Original line number Diff line number Diff line
@@ -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.
//
// 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.