Merge "Include TARGET_ODM_PROP to odm/etc/build.prop" into main am: 09557a0aa3
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3237749 Change-Id: Ic2eb7fac04e50bb4dfd98cd2757e3d15a5e83090 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -63,6 +63,8 @@ func (p *buildPropModule) propFiles(ctx ModuleContext) Paths {
|
||||
return ctx.Config().SystemExtPropFiles(ctx)
|
||||
} else if partition == "product" {
|
||||
return ctx.Config().ProductPropFiles(ctx)
|
||||
} else if partition == "odm" {
|
||||
return ctx.Config().OdmPropFiles(ctx)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
@@ -2062,6 +2062,10 @@ func (c *config) ProductPropFiles(ctx PathContext) Paths {
|
||||
return PathsForSource(ctx, c.productVariables.ProductPropFiles)
|
||||
}
|
||||
|
||||
func (c *config) OdmPropFiles(ctx PathContext) Paths {
|
||||
return PathsForSource(ctx, c.productVariables.OdmPropFiles)
|
||||
}
|
||||
|
||||
func (c *config) EnableUffdGc() string {
|
||||
return String(c.productVariables.EnableUffdGc)
|
||||
}
|
||||
|
@@ -512,6 +512,7 @@ type ProductVariables struct {
|
||||
SystemPropFiles []string `json:",omitempty"`
|
||||
SystemExtPropFiles []string `json:",omitempty"`
|
||||
ProductPropFiles []string `json:",omitempty"`
|
||||
OdmPropFiles []string `json:",omitempty"`
|
||||
|
||||
EnableUffdGc *string `json:",omitempty"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user