Merge "Soong system image may update the $PRODUCT_OUT" into main am: 6fab06d56b
am: d94bbc9ce2
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3261533 Change-Id: I7e010d217d7e9dc28429a813f20bbb59994eefe6 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1663,6 +1663,17 @@ func (c *config) ApexTrimEnabled() bool {
|
||||
return Bool(c.productVariables.TrimmedApex)
|
||||
}
|
||||
|
||||
func (c *config) UseSoongSystemImage() bool {
|
||||
return Bool(c.productVariables.UseSoongSystemImage)
|
||||
}
|
||||
|
||||
func (c *config) SoongDefinedSystemImage() string {
|
||||
if c.UseSoongSystemImage() {
|
||||
return String(c.productVariables.ProductSoongDefinedSystemImage)
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (c *config) EnforceSystemCertificate() bool {
|
||||
return Bool(c.productVariables.EnforceSystemCertificate)
|
||||
}
|
||||
|
@@ -423,6 +423,9 @@ type ProductVariables struct {
|
||||
|
||||
TargetFSConfigGen []string `json:",omitempty"`
|
||||
|
||||
UseSoongSystemImage *bool `json:",omitempty"`
|
||||
ProductSoongDefinedSystemImage *string `json:",omitempty"`
|
||||
|
||||
EnforceProductPartitionInterface *bool `json:",omitempty"`
|
||||
|
||||
EnforceInterPartitionJavaSdkLibrary *bool `json:",omitempty"`
|
||||
|
Reference in New Issue
Block a user