Add sourcepath to inputs of remoteable metalava action.
Bug: b/156613606 Test: presubmit Change-Id: Idd77abddac0a676302226eb62883c74d5d7489af Merged-In: Idd77abddac0a676302226eb62883c74d5d7489af
This commit is contained in:
parent
1fb3cd8496
commit
46bad760ec
|
@ -1414,6 +1414,7 @@ func metalavaCmd(ctx android.ModuleContext, rule *android.RuleBuilder, javaVersi
|
||||||
pool = v
|
pool = v
|
||||||
}
|
}
|
||||||
inputs := []string{android.PathForOutput(ctx, "host", ctx.Config().PrebuiltOS(), "framework", "metalava.jar").String()}
|
inputs := []string{android.PathForOutput(ctx, "host", ctx.Config().PrebuiltOS(), "framework", "metalava.jar").String()}
|
||||||
|
inputs = append(inputs, sourcepaths.Strings()...)
|
||||||
if v := ctx.Config().Getenv("RBE_METALAVA_INPUTS"); v != "" {
|
if v := ctx.Config().Getenv("RBE_METALAVA_INPUTS"); v != "" {
|
||||||
inputs = append(inputs, strings.Split(v, ",")...)
|
inputs = append(inputs, strings.Split(v, ",")...)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue