Fix aar rules

aar files should build to the module out directory, not the root of
the out directory.  Also give the rules a description so they get a
better status line.

Test: m out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/SystemUI-core.aar
Change-Id: Ie8de0421427985c466d909f83c8e0146f7e0bea8
This commit is contained in:
Colin Cross
2019-01-25 13:20:38 -08:00
parent eefe9a35b2
commit f57c57825e
2 changed files with 5 additions and 4 deletions

View File

@@ -122,9 +122,10 @@ func BuildAAR(ctx android.ModuleContext, outputFile android.WritablePath,
}
ctx.Build(pctx, android.BuildParams{
Rule: buildAAR,
Implicits: deps,
Output: outputFile,
Rule: buildAAR,
Description: "aar",
Implicits: deps,
Output: outputFile,
Args: map[string]string{
"manifest": manifest.String(),
"classesJar": classesJarPath,