Commit c5cb7c4
committed
Implement ctx.runfiles() entirely in Starlark
Right now this function calls into a native implementation that lives in
ConfiguredTarget. This one returns runfiles objects that are implemented
in Go.
This change gets rid of that, replacing runfiles objects with a simple
struct. The merge() and merge_all() methods are provided in the form of
computed fields.1 parent 85a9fab commit c5cb7c4
16 files changed
Lines changed: 2806 additions & 2989 deletions
File tree
- pkg
- model
- analysis
- starlark
- proto/model
- analysis
- starlark
- starlark/builtins_core
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| |||
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
170 | 181 | | |
171 | 182 | | |
172 | 183 | | |
| |||
0 commit comments