Merge "Declare proguard_dictionary as implicit output of r8"
This commit is contained in:
@@ -238,12 +238,14 @@ func (j *Module) compileDex(ctx android.ModuleContext, flags javaBuilderFlags,
|
|||||||
if useR8 {
|
if useR8 {
|
||||||
// TODO(ccross): if this is an instrumentation test of an obfuscated app, use the
|
// TODO(ccross): if this is an instrumentation test of an obfuscated app, use the
|
||||||
// dictionary of the app and move the app from libraryjars to injars.
|
// dictionary of the app and move the app from libraryjars to injars.
|
||||||
j.proguardDictionary = android.PathForModuleOut(ctx, "proguard_dictionary")
|
proguardDictionary := android.PathForModuleOut(ctx, "proguard_dictionary")
|
||||||
|
j.proguardDictionary = proguardDictionary
|
||||||
r8Flags, r8Deps := j.r8Flags(ctx, flags)
|
r8Flags, r8Deps := j.r8Flags(ctx, flags)
|
||||||
ctx.Build(pctx, android.BuildParams{
|
ctx.Build(pctx, android.BuildParams{
|
||||||
Rule: r8,
|
Rule: r8,
|
||||||
Description: "r8",
|
Description: "r8",
|
||||||
Output: javalibJar,
|
Output: javalibJar,
|
||||||
|
ImplicitOutput: proguardDictionary,
|
||||||
Input: classesJar,
|
Input: classesJar,
|
||||||
Implicits: r8Deps,
|
Implicits: r8Deps,
|
||||||
Args: map[string]string{
|
Args: map[string]string{
|
||||||
|
Reference in New Issue
Block a user