Revert "Dexpreopt soong modules inside soong"
This reverts commit 29ff88741e
.
Test: none
Bug: 119412419
This commit is contained in:
@@ -138,17 +138,6 @@ var (
|
||||
CommandDeps: []string{"${config.JavaCmd}", "${config.JetifierJar}"},
|
||||
},
|
||||
)
|
||||
|
||||
zipalign = pctx.AndroidStaticRule("zipalign",
|
||||
blueprint.RuleParams{
|
||||
Command: "if ! ${config.ZipAlign} -c 4 $in > /dev/null; then " +
|
||||
"${config.ZipAlign} -f 4 $in $out; " +
|
||||
"else " +
|
||||
"cp -f $in $out; " +
|
||||
"fi",
|
||||
CommandDeps: []string{"${config.ZipAlign}"},
|
||||
},
|
||||
)
|
||||
)
|
||||
|
||||
func init() {
|
||||
@@ -421,15 +410,6 @@ func GenerateMainClassManifest(ctx android.ModuleContext, outputFile android.Wri
|
||||
})
|
||||
}
|
||||
|
||||
func TransformZipAlign(ctx android.ModuleContext, outputFile android.WritablePath, inputFile android.Path) {
|
||||
ctx.Build(pctx, android.BuildParams{
|
||||
Rule: zipalign,
|
||||
Description: "align",
|
||||
Input: inputFile,
|
||||
Output: outputFile,
|
||||
})
|
||||
}
|
||||
|
||||
type classpath []android.Path
|
||||
|
||||
func (x *classpath) FormJavaClassPath(optName string) string {
|
||||
|
Reference in New Issue
Block a user