summaryrefslogtreecommitdiff
path: root/android/packaging.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/packaging.go')
-rw-r--r--android/packaging.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/android/packaging.go b/android/packaging.go
index 6146f02c9..bb1fe4e45 100644
--- a/android/packaging.go
+++ b/android/packaging.go
@@ -89,6 +89,8 @@ type packagingSpecGob struct {
ArchType ArchType
Overrides []string
Owner string
+ RequiresFullInstall bool
+ FullInstallPath InstallPath
Variation string
}
@@ -113,6 +115,8 @@ func (p *PackagingSpec) ToGob() *packagingSpecGob {
ArchType: p.archType,
Overrides: p.overrides.ToSlice(),
Owner: p.owner,
+ RequiresFullInstall: p.requiresFullInstall,
+ FullInstallPath: p.fullInstallPath,
Variation: p.variation,
}
}
@@ -129,6 +133,8 @@ func (p *PackagingSpec) FromGob(data *packagingSpecGob) {
p.archType = data.ArchType
p.overrides = uniquelist.Make(data.Overrides)
p.owner = data.Owner
+ p.requiresFullInstall = data.RequiresFullInstall
+ p.fullInstallPath = data.FullInstallPath
p.variation = data.Variation
}