Merge "Don't pass --legacy by default to aapt2 compile" am: b2e4f475c3
am: 2eda0f6f5d
Change-Id: I3e5a027c57de092e9748ede5fc3366e26f643cc9
This commit is contained in:
commit
6e07ef95ef
|
@ -55,7 +55,7 @@ func pathsToAapt2Paths(ctx android.ModuleContext, resPaths android.Paths) androi
|
|||
|
||||
var aapt2CompileRule = pctx.AndroidStaticRule("aapt2Compile",
|
||||
blueprint.RuleParams{
|
||||
Command: `${config.Aapt2Cmd} compile -o $outDir $cFlags --legacy $in`,
|
||||
Command: `${config.Aapt2Cmd} compile -o $outDir $cFlags $in`,
|
||||
CommandDeps: []string{"${config.Aapt2Cmd}"},
|
||||
},
|
||||
"outDir", "cFlags")
|
||||
|
@ -97,7 +97,7 @@ func aapt2Compile(ctx android.ModuleContext, dir android.Path, paths android.Pat
|
|||
var aapt2CompileZipRule = pctx.AndroidStaticRule("aapt2CompileZip",
|
||||
blueprint.RuleParams{
|
||||
Command: `${config.ZipSyncCmd} -d $resZipDir $zipSyncFlags $in && ` +
|
||||
`${config.Aapt2Cmd} compile -o $out $cFlags --legacy --dir $resZipDir`,
|
||||
`${config.Aapt2Cmd} compile -o $out $cFlags --dir $resZipDir`,
|
||||
CommandDeps: []string{
|
||||
"${config.Aapt2Cmd}",
|
||||
"${config.ZipSyncCmd}",
|
||||
|
|
Loading…
Reference in New Issue