summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2025-03-21 21:04:29 +0000
committer Spandan Das <spandandas@google.com> 2025-03-21 21:35:51 +0000
commit9329c67e4535f7545529aeae96064c1fbbc887dd (patch)
tree01ca4f1a6e8880798e856dbe9b93db0d50e2a59e
parentf68322e3286becff1d006f557e5dc71afadcf26f (diff)
Dist Soong built misc_info.txt in Soong only builds
Soong built misc_info.txt for aosp_cf_x86_64_phone is not bit-identical to Make built misc_info.txt, but I think the diffs are not meaningful. b/398036609#comment14 has some additional information on the diffs. Bug: 398036609 Test: m dist dist_files Change-Id: I32e163b9dfd55c18db6f88531653ff35167bd399
-rw-r--r--filesystem/android_device.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/filesystem/android_device.go b/filesystem/android_device.go
index 8af0fdff6..a2181c1a1 100644
--- a/filesystem/android_device.go
+++ b/filesystem/android_device.go
@@ -395,6 +395,13 @@ func (a *androidDevice) distFiles(ctx android.ModuleContext) {
if a.deviceProps.Android_info != nil {
ctx.DistForGoal("droidcore-unbundled", android.PathForModuleSrc(ctx, *a.deviceProps.Android_info))
}
+ if a.miscInfo != nil {
+ ctx.DistForGoal("droidcore-unbundled", a.miscInfo)
+ if a.partitionProps.Super_partition_name != nil {
+ ctx.DistForGoalWithFilename("dist_files", a.miscInfo, "super_misc_info.txt")
+ }
+ }
+
}
}