Merge "Revert^3 "Add seapp_contexts to allowlist of makefile goal"" am: 865d5e6c9d
am: c24e740cd0
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1934941 Change-Id: Ib284a78d078d154fe7d0c021bbd62bbbc460e6a7
This commit is contained in:
commit
865498319d
2 changed files with 2 additions and 5 deletions
|
@ -214,11 +214,8 @@ func createMakefileGoalRules() []Rule {
|
|||
return []Rule{
|
||||
NeverAllow().
|
||||
ModuleType("makefile_goal").
|
||||
// TODO(b/33691272): remove this after migrating seapp to Soong
|
||||
Without("product_out_path", "obj/ETC/plat_seapp_contexts_intermediates/plat_seapp_contexts").
|
||||
Without("product_out_path", "obj/ETC/plat_seapp_neverallows_intermediates/plat_seapp_neverallows").
|
||||
WithoutMatcher("product_out_path", Regexp("^boot[0-9a-zA-Z.-]*[.]img$")).
|
||||
Because("Only boot images and seapp contexts may be imported as a makefile goal."),
|
||||
Because("Only boot images may be imported as a makefile goal."),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -324,7 +324,7 @@ var neverallowTests = []struct {
|
|||
`),
|
||||
},
|
||||
expectedErrors: []string{
|
||||
"Only boot images and seapp contexts may be imported as a makefile goal.",
|
||||
"Only boot images may be imported as a makefile goal.",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue