Support for rust recovery snapshot.
Bug: 197866992 Test: source build/envsetup.sh Test: m -j nothing Change-Id: I02bb188669cf9f17073592a4622998f96d5f54ac
This commit is contained in:
@@ -71,6 +71,10 @@ func (RecoverySnapshotImage) Init(ctx android.RegistrationContext) {
|
||||
ctx.RegisterSingletonType("recovery-snapshot", RecoverySnapshotSingleton)
|
||||
}
|
||||
|
||||
func (RecoverySnapshotImage) RegisterAdditionalModule(ctx android.RegistrationContext, name string, factory android.ModuleFactory) {
|
||||
ctx.RegisterModuleType(name, factory)
|
||||
}
|
||||
|
||||
func (RecoverySnapshotImage) shouldGenerateSnapshot(ctx android.SingletonContext) bool {
|
||||
// RECOVERY_SNAPSHOT_VERSION must be set to 'current' in order to generate a
|
||||
// snapshot.
|
||||
|
Reference in New Issue
Block a user