Update neverallow rules for Trusty genrule
We're now having four modules, so updating the neverallow rules.
Bug: 358302178
Test: build
Change-Id: Iad951d0710f53e01ef8801fbaad2884af5ee7493
diff --git a/android/neverallow.go b/android/neverallow.go
index 57373d5..44ac2cd 100644
--- a/android/neverallow.go
+++ b/android/neverallow.go
@@ -289,8 +289,10 @@
Without("visibility", "//trusty/vendor/google/aosp/scripts").Because(reason),
NeverAllow().
ModuleType("genrule").
- Without("name", "lk.elf.arm64").
- Without("name", "lk.elf.x86_64").
+ Without("name", "trusty-arm64.lk.elf.gen").
+ Without("name", "trusty-arm64-test.lk.elf.gen").
+ Without("name", "trusty-x86_64.lk.elf.gen").
+ Without("name", "trusty-x86_64-test.lk.elf.gen").
WithMatcher("dir_srcs", isSetMatcherInstance).Because(reason),
}
}