Enforce one aconfig_declaration per aconfig package

Bug: b/319121098
Change-Id: Ibe3f1587ed7754f00f464cf385ce51ee9a142412
This commit is contained in:
Dennis Shen
2024-01-05 19:06:50 +00:00
parent 8f17189ced
commit 4e7773d81e
5 changed files with 68 additions and 4 deletions

View File

@@ -4347,14 +4347,14 @@ func TestAppFlagsPackages(t *testing.T) {
}
aconfig_declarations {
name: "bar",
package: "com.example.package",
package: "com.example.package.bar",
srcs: [
"bar.aconfig",
],
}
aconfig_declarations {
name: "baz",
package: "com.example.package",
package: "com.example.package.baz",
srcs: [
"baz.aconfig",
],