From d8d570c55e76ef3e02f33a423db994006cd3337f Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Tue, 4 Mar 2025 14:20:16 -0800 Subject: Dist android-info.txt in soong-only builds Fixes: 395159795 Test: m dist && ls out/dist/android-info.txt Change-Id: If12e600e44884ea3fa28e52c5c6f7b8d3ad9064f --- filesystem/android_device.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'filesystem/android_device.go') 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)) + } } } -- cgit v1.2.3-59-g8ed1b