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
diff --git a/filesystem/android_device.go b/filesystem/android_device.go
index 8af0fdf..a2181c1 100644
--- a/filesystem/android_device.go
+++ b/filesystem/android_device.go
@@ -395,6 +395,13 @@
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")
+ }
+ }
+
}
}