Merge "rust: Add missing Rust allow path modules."

This commit is contained in:
Ivan Lozano
2021-06-28 19:05:51 +00:00
committed by Gerrit Code Review
2 changed files with 11 additions and 1 deletions

View File

@@ -35,7 +35,7 @@ func init() {
android.AddNeverAllowRules(
android.NeverAllow().
NotIn(config.RustAllowedPaths...).
NotIn(append(config.RustAllowedPaths, config.DownstreamRustAllowedPaths...)...).
ModuleType(config.RustModuleTypes...))
android.RegisterModuleType("rust_defaults", defaultsFactory)