summaryrefslogtreecommitdiff
path: root/java/app.go
diff options
context:
space:
mode:
author LaMont Jones <lamontjones@google.com> 2023-12-19 19:01:57 +0000
committer LaMont Jones <lamontjones@google.com> 2023-12-19 19:34:00 +0000
commitaa005ae080b4837c42ff8174ee8300f0dff9628e (patch)
treeb6ab2c15fd7ea7199e563b5d3dc0c274b4ef7466 /java/app.go
parent349ef8750509e0eb3fb026df2e481f970652b069 (diff)
move CollectDependencyAconfigFiles to android
This needs to be called by some modules in android. Bug: 308625757 Test: manual Change-Id: I389fcfd88a3f4bd85a9218fdd4dd66d8a239bb67
Diffstat (limited to 'java/app.go')
-rwxr-xr-xjava/app.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/java/app.go b/java/app.go
index 7f0303a6b..8b28dac78 100755
--- a/java/app.go
+++ b/java/app.go
@@ -22,7 +22,6 @@ import (
"path/filepath"
"strings"
- "android/soong/aconfig"
"android/soong/testing"
"github.com/google/blueprint"
@@ -509,7 +508,7 @@ func (a *AndroidApp) aaptBuildActions(ctx android.ModuleContext) {
var aconfigTextFilePaths android.Paths
ctx.VisitDirectDepsWithTag(aconfigDeclarationTag, func(dep android.Module) {
- if provider, ok := android.OtherModuleProvider(ctx, dep, aconfig.DeclarationsProviderKey); ok {
+ if provider, ok := android.OtherModuleProvider(ctx, dep, android.AconfigDeclarationsProviderKey); ok {
aconfigTextFilePaths = append(aconfigTextFilePaths, provider.IntermediateDumpOutputPath)
} else {
ctx.ModuleErrorf("Only aconfig_declarations module type is allowed for "+