Merge "sepolicy : check if missing dependencies are allowed" am: 093c870e67
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2253074 Change-Id: Idda66a62e55b9d1a575ccf243317594259d33f4c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
d1c05f92bb
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ func addFuzzerConfigDeps(ctx android.BottomUpMutatorContext) {
|
|||
if _, ok := ctx.Module().(*fuzzerBindingsTestModule); ok {
|
||||
for _, fuzzers := range ServiceFuzzerBindings {
|
||||
for _, fuzzer := range fuzzers {
|
||||
if !ctx.OtherModuleExists(fuzzer) {
|
||||
if !ctx.OtherModuleExists(fuzzer) && !ctx.Config().AllowMissingDependencies() {
|
||||
panic(fmt.Errorf("Fuzzer doesn't exist : %s", fuzzer))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue