Loading android/gen_notice.go +1 −1 Original line number Diff line number Diff line Loading @@ -179,7 +179,7 @@ func GenNoticeFactory() Module { // The visibility property needs to be checked and parsed by the visibility module. setPrimaryVisibilityProperty(module, "visibility", &module.properties.Visibility) initAndroidModuleBase(module) InitAndroidArchModule(module, DeviceSupported, MultilibCommon) InitDefaultableModule(module) return module Loading android/gen_notice_test.go +0 −13 Original line number Diff line number Diff line Loading @@ -11,19 +11,6 @@ var genNoticeTests = []struct { fs MockFS expectedErrors []string }{ { name: "gen_notice must not accept licenses property", fs: map[string][]byte{ "top/Android.bp": []byte(` gen_notice { name: "top_license", licenses: ["other_license"], }`), }, expectedErrors: []string{ `unrecognized property "licenses"`, }, }, { name: "bad gen_notice", fs: map[string][]byte{ Loading Loading
android/gen_notice.go +1 −1 Original line number Diff line number Diff line Loading @@ -179,7 +179,7 @@ func GenNoticeFactory() Module { // The visibility property needs to be checked and parsed by the visibility module. setPrimaryVisibilityProperty(module, "visibility", &module.properties.Visibility) initAndroidModuleBase(module) InitAndroidArchModule(module, DeviceSupported, MultilibCommon) InitDefaultableModule(module) return module Loading
android/gen_notice_test.go +0 −13 Original line number Diff line number Diff line Loading @@ -11,19 +11,6 @@ var genNoticeTests = []struct { fs MockFS expectedErrors []string }{ { name: "gen_notice must not accept licenses property", fs: map[string][]byte{ "top/Android.bp": []byte(` gen_notice { name: "top_license", licenses: ["other_license"], }`), }, expectedErrors: []string{ `unrecognized property "licenses"`, }, }, { name: "bad gen_notice", fs: map[string][]byte{ Loading