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. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e916a2c758d2a95037d1d366e7cd0e10d241d510) Merged-In: I4ab4271c67a35d0fdcc0b57c27260e29fb7dea56 Change-Id: I4ab4271c67a35d0fdcc0b57c27260e29fb7dea56
This commit is contained in:
committed by
Android Build Cherrypicker Worker
parent
b39c877ae0
commit
315a53c5cb
@@ -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"],
|
||||
}
|
||||
|
||||
@@ -112,6 +113,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"],
|
||||
}
|
||||
|
||||
@@ -167,6 +169,7 @@ func TestAndroidMkCcLibrary(t *testing.T) {
|
||||
aconfig_declarations {
|
||||
name: "my_aconfig_declarations_bar",
|
||||
package: "com.example.package",
|
||||
container: "com.android.foo",
|
||||
srcs: ["bar.aconfig"],
|
||||
}
|
||||
|
||||
@@ -241,6 +244,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