anchor.diff:        File unalignedApk = new File('${tempDir.path}/app.apk.unaligned');
         builder.package(unalignedApk, components.manifest, assetBuilder.directory,
                         artifactBuilder.directory, components.resources);
  -      builder.sign(components.keystore, _kKeystorePassword, _kKeystoreKeyName, unalignedApk);
  +
  +      int signResult = _signApk(builder, components, unalignedApk);
  +      if (signResult != 0)
  +        return signResult;
   
         File finalApk = new File(argResults['output-file']);
         ensureDirectoryExists(finalApk.path);
  
positive.code:     } finally {
        tempDir.deleteSync(recursive: true);
      }
    }
  
    @override
  
negative.code:   File icuData;
    File classesDex;
    File libSkyShell;
    File debugKeystore;
    Directory resources;
  }
  
  