summaryrefslogtreecommitdiff
path: root/filesystem/android_device.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-03-06 19:14:15 -0800
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-03-06 19:14:15 -0800
commitd47793ff0c48a71ac6da6209e5bbce9b37d3db06 (patch)
treeb82516e04d5077b216153ffe15b36fa9d199416c /filesystem/android_device.go
parent2e704899b085c22a4ef203f0a743e3c380320a68 (diff)
parent52e53c643ee30aab988b394a16413aa01218a371 (diff)
Merge "Modify namings of disted installed files" 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 04eaf840e..a7aa59684 100644
--- a/filesystem/android_device.go
+++ b/filesystem/android_device.go
@@ -349,6 +349,10 @@ func (a *androidDevice) distFiles(ctx android.ModuleContext) {
if !ctx.Config().KatiEnabled() && proptools.Bool(a.deviceProps.Main_device) {
fsInfoMap := a.getFsInfos(ctx)
for _, partition := range android.SortedKeys(fsInfoMap) {
+ // installed-files-*{.txt | .json} is not disted for userdata partition
+ if partition == "userdata" {
+ continue
+ }
fsInfo := fsInfoMap[partition]
if fsInfo.InstalledFiles.Json != nil {
ctx.DistForGoal("droidcore-unbundled", fsInfo.InstalledFiles.Json)