Remove obsolete notice property.
Bug: 192434786 Test: m droid dist Change-Id: I0f384ae895cebab9732448b82db600c67eb8f711
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user