Merge "Declare proguard_dictionary as implicit output of r8"
am: 8265a8b81f
Change-Id: I201e616913985f5924c67056760a1cc29207551b
This commit is contained in:
@@ -238,12 +238,14 @@ func (j *Module) compileDex(ctx android.ModuleContext, flags javaBuilderFlags,
|
||||
if useR8 {
|
||||
// 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.
|
||||
j.proguardDictionary = android.PathForModuleOut(ctx, "proguard_dictionary")
|
||||
proguardDictionary := android.PathForModuleOut(ctx, "proguard_dictionary")
|
||||
j.proguardDictionary = proguardDictionary
|
||||
r8Flags, r8Deps := j.r8Flags(ctx, flags)
|
||||
ctx.Build(pctx, android.BuildParams{
|
||||
Rule: r8,
|
||||
Description: "r8",
|
||||
Output: javalibJar,
|
||||
ImplicitOutput: proguardDictionary,
|
||||
Input: classesJar,
|
||||
Implicits: r8Deps,
|
||||
Args: map[string]string{
|
||||
|
Reference in New Issue
Block a user