Remove apex.generate_hashtree
It's deprecated. Ignore-AOSP-First: internal branches use this. Will be gone. Fixes: 184914612 Test: m Change-Id: I14316a9a288ffc2727bb7033ebded4f4d48b1e6c
This commit is contained in:
@@ -167,10 +167,6 @@ type apexBundleProperties struct {
|
||||
// Default is false.
|
||||
Ignore_system_library_special_case *bool
|
||||
|
||||
// Whenever apex_payload.img of the APEX should include dm-verity hashtree.
|
||||
// Default value is true.
|
||||
Generate_hashtree *bool
|
||||
|
||||
// Whenever apex_payload.img of the APEX should not be dm-verity signed. Should be only
|
||||
// used in tests.
|
||||
Test_only_unsigned_payload *bool
|
||||
@@ -1425,11 +1421,6 @@ func (a *apexBundle) installable() bool {
|
||||
return !a.properties.PreventInstall && (a.properties.Installable == nil || proptools.Bool(a.properties.Installable))
|
||||
}
|
||||
|
||||
// See the generate_hashtree property
|
||||
func (a *apexBundle) shouldGenerateHashtree() bool {
|
||||
return proptools.BoolDefault(a.properties.Generate_hashtree, true)
|
||||
}
|
||||
|
||||
// See the test_only_unsigned_payload property
|
||||
func (a *apexBundle) testOnlyShouldSkipPayloadSign() bool {
|
||||
return proptools.Bool(a.properties.Test_only_unsigned_payload)
|
||||
|
Reference in New Issue
Block a user