Handle the case where the release value set is a list.
Bug: 304814040 Test: CI, unit test, b build build/make/tools/aconfig:aconfig.test.cpp b test build/make/tools/aconfig:AconfigJavaHostTest Change-Id: I9ca939348a063c39e9528f24e788f9757458d30c
This commit is contained in:
@@ -74,8 +74,8 @@ func (module *DeclarationsModule) DepsMutator(ctx android.BottomUpMutatorContext
|
||||
// RELEASE_ACONFIG_VALUE_SETS, and add any aconfig_values that
|
||||
// match our package.
|
||||
valuesFromConfig := ctx.Config().ReleaseAconfigValueSets()
|
||||
if valuesFromConfig != "" {
|
||||
ctx.AddDependency(ctx.Module(), implicitValuesTag, valuesFromConfig)
|
||||
if len(valuesFromConfig) > 0 {
|
||||
ctx.AddDependency(ctx.Module(), implicitValuesTag, valuesFromConfig...)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user