Pass declarations as separate arguments

Aconfig take declarations as separate arguments if there are multiple
declaration files.

Bug: 291926035
Test: build flags
Change-Id: Ic0d069184f48ceaf8947acc5b951eecff7c308f9
This commit is contained in:
Zhi Dou
2023-07-19 18:04:24 +00:00
parent cfcd0a4960
commit 8a35a6fa71
3 changed files with 7 additions and 4 deletions

View File

@@ -26,7 +26,10 @@ func TestAconfigDeclarations(t *testing.T) {
aconfig_declarations {
name: "module_name",
package: "com.example.package",
srcs: ["foo.aconfig"],
srcs: [
"foo.aconfig",
"bar.aconfig",
],
}
`
result := runTest(t, android.FixtureExpectsNoErrors, bp)