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
@@ -15,8 +15,9 @@
|
||||
package java
|
||||
|
||||
import (
|
||||
"android/soong/android"
|
||||
"testing"
|
||||
|
||||
"android/soong/android"
|
||||
)
|
||||
|
||||
func TestAarImportProducesJniPackages(t *testing.T) {
|
||||
@@ -98,6 +99,7 @@ func TestLibraryFlagsPackages(t *testing.T) {
|
||||
aconfig_declarations {
|
||||
name: "bar",
|
||||
package: "com.example.package.bar",
|
||||
container: "com.android.foo",
|
||||
srcs: [
|
||||
"bar.aconfig",
|
||||
],
|
||||
@@ -105,6 +107,7 @@ func TestLibraryFlagsPackages(t *testing.T) {
|
||||
aconfig_declarations {
|
||||
name: "baz",
|
||||
package: "com.example.package.baz",
|
||||
container: "com.android.foo",
|
||||
srcs: [
|
||||
"baz.aconfig",
|
||||
],
|
||||
|
Reference in New Issue
Block a user