cosmetic changes
base.module = module is redundant in InitDefaultsModule() becase of the preceding initAndroidModuleBase() minor reformat of initArchModel() Test: m nothing Bug: n/a Change-Id: I16d5a400a33098a81ffbf6c81eba5b13db6debf1
This commit is contained in:
@@ -11,7 +11,7 @@ var packageTests = []struct {
|
||||
}{
|
||||
// Package default_visibility handling is tested in visibility_test.go
|
||||
{
|
||||
name: "package must not accept visibility and name properties",
|
||||
name: "package must not accept visibility, name or licenses properties",
|
||||
fs: map[string][]byte{
|
||||
"top/Android.bp": []byte(`
|
||||
package {
|
||||
@@ -48,8 +48,7 @@ var packageTests = []struct {
|
||||
default_visibility: ["//visibility:private"],
|
||||
default_applicable_licenses: ["license"],
|
||||
}
|
||||
|
||||
package {
|
||||
package {
|
||||
}`),
|
||||
},
|
||||
expectedErrors: []string{
|
||||
|
Reference in New Issue
Block a user