summaryrefslogtreecommitdiff
path: root/filesystem/android_device.go
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2025-03-04 14:20:16 -0800
committer Cole Faust <colefaust@google.com> 2025-03-04 14:20:16 -0800
commitd8d570c55e76ef3e02f33a423db994006cd3337f (patch)
tree3956eb6c697a03d80fe523b5168c72f576730b0f /filesystem/android_device.go
parentde3a5c4be8aff15998cbf898e06fcc4679fe911f (diff)
Dist android-info.txt in soong-only builds
Fixes: 395159795 Test: m dist && ls out/dist/android-info.txt Change-Id: If12e600e44884ea3fa28e52c5c6f7b8d3ad9064f
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 005dc3439..a0391601a 100644
--- a/filesystem/android_device.go
+++ b/filesystem/android_device.go
@@ -333,6 +333,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))
+ }
}
}