diff options
author | 2018-12-14 11:47:19 -0800 | |
---|---|---|
committer | 2018-12-14 11:49:58 -0800 | |
commit | 4ff85ebeb782a08ffeaefb8fbcdd678e89aec87f (patch) | |
tree | b2a63ee0091756b871d99431113e9b1d79950365 /java/builder.go | |
parent | 359e6436be620356b3860ab52d6e98f4a997e68a (diff) |
Revert "Dexpreopt soong modules inside soong"
This reverts commit 29ff88741e710b05743dcf347484c31311e81cda.
Test: none
Bug: 119412419
Diffstat (limited to 'java/builder.go')
-rw-r--r-- | java/builder.go | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/java/builder.go b/java/builder.go index 861566495..cefb916df 100644 --- a/java/builder.go +++ b/java/builder.go @@ -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 { |