aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2022-01-27 10:01:17 -0800
committerEli Schwartz <eschwartz93@gmail.com>2022-01-28 15:53:20 -0500
commitcc4160db04f8325b11bd901c0ff833e451902fd4 (patch)
tree7fa89763c18038dc0a6d040e490b0a197f7a4771
parent08f06b237ecfd9c4e480ef228e15cf373856e8e4 (diff)
downloadmeson-cc4160db04f8325b11bd901c0ff833e451902fd4.zip
meson-cc4160db04f8325b11bd901c0ff833e451902fd4.tar.gz
meson-cc4160db04f8325b11bd901c0ff833e451902fd4.tar.bz2
interpreter: remove dead code from custom_target
This has been completely replaced by typed_kwargs now
-rw-r--r--mesonbuild/interpreter/interpreter.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py
index 641abb2..d636085 100644
--- a/mesonbuild/interpreter/interpreter.py
+++ b/mesonbuild/interpreter/interpreter.py
@@ -1785,10 +1785,8 @@ external dependencies (including libraries) must go to "dependencies".''')
# string in the meantime.
FeatureNew('custom_target() with no name argument', '0.60.0', location=node).use(self.subproject)
name = ''
- kwargs['install_mode'] = self._get_kwarg_install_mode(kwargs)
if 'input' in kwargs:
kwargs['input'] = self.source_strings_to_files(extract_as_list(kwargs, 'input'), strict=False)
- kwargs['env'] = self.unpack_env_kwarg(kwargs)
if 'command' in kwargs and isinstance(kwargs['command'], list) and kwargs['command']:
if isinstance(kwargs['command'][0], str):
kwargs['command'][0] = self.find_program_impl([kwargs['command'][0]])