Merge "Make using python 2 an error" am: 944053e52d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2212957 Change-Id: I5a475da6231b8e43aa188592d7977390ae916be2 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1759,6 +1759,10 @@ func (c *deviceConfig) BuildBrokenTrebleSyspropNeverallow() bool {
|
||||
return c.config.productVariables.BuildBrokenTrebleSyspropNeverallow
|
||||
}
|
||||
|
||||
func (c *deviceConfig) BuildBrokenUsesSoongPython2Modules() bool {
|
||||
return c.config.productVariables.BuildBrokenUsesSoongPython2Modules
|
||||
}
|
||||
|
||||
func (c *deviceConfig) BuildDebugfsRestrictionsEnabled() bool {
|
||||
return c.config.productVariables.BuildDebugfsRestrictionsEnabled
|
||||
}
|
||||
|
@@ -442,6 +442,7 @@ type productVariables struct {
|
||||
BuildBrokenDepfile *bool `json:",omitempty"`
|
||||
BuildBrokenEnforceSyspropOwner bool `json:",omitempty"`
|
||||
BuildBrokenTrebleSyspropNeverallow bool `json:",omitempty"`
|
||||
BuildBrokenUsesSoongPython2Modules bool `json:",omitempty"`
|
||||
BuildBrokenVendorPropertyNamespace bool `json:",omitempty"`
|
||||
BuildBrokenInputDirModules []string `json:",omitempty"`
|
||||
|
||||
|
Reference in New Issue
Block a user