summaryrefslogtreecommitdiff
path: root/filesystem/android_device.go
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2025-03-05 12:30:40 -0800
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-03-05 12:30:40 -0800
commit93b4ad25e161361dae2d97a9890224ca2f40de01 (patch)
treed1be16449475cb6b5f4bb7e53e7e840a39be1cba /filesystem/android_device.go
parente20307b4baf812993d867bc8fc6ad13abaa47bbd (diff)
parentd8d570c55e76ef3e02f33a423db994006cd3337f (diff)
Merge "Dist android-info.txt in soong-only builds" into main
Diffstat (limited to 'filesystem/android_device.go')
-rw-r--r--filesystem/android_device.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/filesystem/android_device.go b/filesystem/android_device.go
index 5911a4e68..989003fcf 100644
--- a/filesystem/android_device.go
+++ b/filesystem/android_device.go
@@ -335,6 +335,10 @@ func (a *androidDevice) distFiles(ctx android.ModuleContext) {
ctx.DistForGoalWithFilename("droidcore-unbundled", a.proguardDictZip, namePrefix+insertBeforeExtension(a.proguardDictZip.Base(), "-FILE_NAME_TAG_PLACEHOLDER"))
ctx.DistForGoalWithFilename("droidcore-unbundled", a.proguardDictMapping, namePrefix+insertBeforeExtension(a.proguardDictMapping.Base(), "-FILE_NAME_TAG_PLACEHOLDER"))
ctx.DistForGoalWithFilename("droidcore-unbundled", a.proguardUsageZip, namePrefix+insertBeforeExtension(a.proguardUsageZip.Base(), "-FILE_NAME_TAG_PLACEHOLDER"))
+
+ if a.deviceProps.Android_info != nil {
+ ctx.DistForGoal("droidcore-unbundled", android.PathForModuleSrc(ctx, *a.deviceProps.Android_info))
+ }
}
}