Remove obsolete notice property.

Bug: 192434786

Test: m droid dist

Change-Id: I0f384ae895cebab9732448b82db600c67eb8f711
This commit is contained in:
Bob Badour
2022-07-18 14:41:23 -07:00
parent cf3844c879
commit 0cc5facf79
8 changed files with 0 additions and 61 deletions

View File

@@ -58,7 +58,6 @@ func init() {
AddNeverAllowRules(createMakefileGoalRules()...)
AddNeverAllowRules(createInitFirstStageRules()...)
AddNeverAllowRules(createProhibitFrameworkAccessRules()...)
AddNeverAllowRules(createNoticeDeprecationRules()...)
}
// Add a NeverAllow rule to the set of rules to apply.
@@ -239,15 +238,6 @@ func createProhibitFrameworkAccessRules() []Rule {
}
}
func createNoticeDeprecationRules() []Rule {
return []Rule{
NeverAllow().
WithMatcher("notice", isSetMatcherInstance).
NotIn("vendor/linaro/linux-firmware/").
Because("notice has been replaced by licenses/default_applicable_licenses"),
}
}
func neverallowMutator(ctx BottomUpMutatorContext) {
m, ok := ctx.Module().(Module)
if !ok {