Merge "Add build_prop soong module" into main
This commit is contained in:
@@ -806,6 +806,17 @@ func (c *config) DisplayBuildNumber() bool {
|
||||
return Bool(c.productVariables.DisplayBuildNumber)
|
||||
}
|
||||
|
||||
// BuildFingerprintFile returns the path to a text file containing metadata
|
||||
// representing the current build's fingerprint.
|
||||
//
|
||||
// Rules that want to reference the build fingerprint should read from this file
|
||||
// without depending on it. They will run whenever their other dependencies
|
||||
// require them to run and get the current build fingerprint. This ensures they
|
||||
// don't rebuild on every incremental build when the build number changes.
|
||||
func (c *config) BuildFingerprintFile(ctx PathContext) Path {
|
||||
return PathForArbitraryOutput(ctx, "target", "product", c.DeviceName(), String(c.productVariables.BuildFingerprintFile))
|
||||
}
|
||||
|
||||
// BuildNumberFile returns the path to a text file containing metadata
|
||||
// representing the current build's number.
|
||||
//
|
||||
@@ -1905,6 +1916,10 @@ func (c *deviceConfig) BuildBrokenDontCheckSystemSdk() bool {
|
||||
return c.config.productVariables.BuildBrokenDontCheckSystemSdk
|
||||
}
|
||||
|
||||
func (c *deviceConfig) BuildBrokenDupSysprop() bool {
|
||||
return c.config.productVariables.BuildBrokenDupSysprop
|
||||
}
|
||||
|
||||
func (c *config) BuildWarningBadOptionalUsesLibsAllowlist() []string {
|
||||
return c.productVariables.BuildWarningBadOptionalUsesLibsAllowlist
|
||||
}
|
||||
|
Reference in New Issue
Block a user