Commit 0bd777f
Declare that android_local_test provides JavaInfo
It's best practice for rules to declare which providers they provide. That allows aspects to make better tradeoffs between correctness and efficiency: It's possible to restrict which targets an aspect propagates to with `aspect.required_providers`, but since that pruning is done _before_ analysis, it restricts that based on `rule.providers`, not what the rule actually returns (which can be a super-set of what's in `rule.providers`).
PiperOrigin-RevId: 863236597
Change-Id: I47f15a5ed51a247a32286663ed5ba8c4609d75fe1 parent d8336b1 commit 0bd777f
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
0 commit comments