diff options
| author | Eli Schwartz <eschwartz@archlinux.org> | 2022-02-21 21:23:43 -0500 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2022-03-01 12:13:24 -0800 |
| commit | d39b3300753dca459f300e29fad7d8f74013c721 (patch) | |
| tree | b6d0fc539d7fdf8935523692ab712b3317aa4229 /mesonbuild/modules/java.py | |
| parent | 2b04e8c5e5c9e65a50b379ed8101139885c44a89 (diff) | |
| download | meson-d39b3300753dca459f300e29fad7d8f74013c721.tar.gz | |
clean up FeatureCheck signature to move location to use time
The point of a .use() function is because we don't always have the
information we need to use a feature check, so we allow creating the
feature and then storing it for later use. When implementing location
checks, although it is optional, actually using it violated that design.
Move the location out of the init method for FeatureCheck itself. It
remains compatible with all cases of .single_use(), but fix the rest up.
Diffstat (limited to 'mesonbuild/modules/java.py')
0 files changed, 0 insertions, 0 deletions
