diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2023-07-23 13:27:24 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2023-07-24 15:42:41 -0400 |
commit | 22d842a97da45740a19f210d694ce23272a45cf9 (patch) | |
tree | d749c0c3ff0b9b3b8f9f9283d3781aaa9f55bc6f /mesonbuild/interpreter/kwargs.py | |
parent | 59af1d902616563383fe06a6ddb50bddb4de54bc (diff) | |
download | meson-22d842a97da45740a19f210d694ce23272a45cf9.zip meson-22d842a97da45740a19f210d694ce23272a45cf9.tar.gz meson-22d842a97da45740a19f210d694ce23272a45cf9.tar.bz2 |
ninjabackend: remove useless and unused API bits in phony targets
I originally refactored this wrapper function in commit
dd2f1c4c57874a0efcd9f6d331985c408101c30d and at the time I made it take
the following call pattern:
```
self.create_phony_target(self.all_outputs, ..., implicit_outs=None)
```
I am not sure *why*. There are a couple problems here:
- When creating a phony target, there are never implicit outs and we never
try to create them.
- It's invalid to call it without self.all_outputs as the first argument,
so really we should just use that directly.
This made the function signature pointlessly longer and more
complicated.
Diffstat (limited to 'mesonbuild/interpreter/kwargs.py')
0 files changed, 0 insertions, 0 deletions