Make container mandatory in aconfig_declarations.
Bug: 330354107 Test: Unit test and CI. Ignore-AOSP-First: It is easier to detect all the missing ones in internal master. Change-Id: I4ab4271c67a35d0fdcc0b57c27260e29fb7dea56
This commit is contained in:
@@ -50,6 +50,7 @@ func testCCCodegenModeHelper(t *testing.T, bpMode string, ruleMode string) {
|
||||
aconfig_declarations {
|
||||
name: "my_aconfig_declarations",
|
||||
package: "com.example.package",
|
||||
container: "com.android.foo",
|
||||
srcs: ["foo.aconfig"],
|
||||
}
|
||||
|
||||
@@ -92,6 +93,7 @@ func testIncorrectCCCodegenModeHelper(t *testing.T, bpMode string, err string) {
|
||||
aconfig_declarations {
|
||||
name: "my_aconfig_declarations",
|
||||
package: "com.example.package",
|
||||
container: "com.android.foo",
|
||||
srcs: ["foo.aconfig"],
|
||||
}
|
||||
|
||||
@@ -126,6 +128,7 @@ func TestAndroidMkCcLibrary(t *testing.T) {
|
||||
aconfig_declarations {
|
||||
name: "my_aconfig_declarations_bar",
|
||||
package: "com.example.package",
|
||||
container: "com.android.foo",
|
||||
srcs: ["bar.aconfig"],
|
||||
}
|
||||
|
||||
@@ -176,6 +179,7 @@ func TestForceReadOnly(t *testing.T) {
|
||||
aconfig_declarations {
|
||||
name: "my_aconfig_declarations",
|
||||
package: "com.example.package",
|
||||
container: "com.android.foo",
|
||||
srcs: ["foo.aconfig"],
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user