diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-10-13 19:44:41 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-10-15 01:56:59 +0300 |
commit | 7c377e5a5d1e413ea3494ceed0800985fcd804ae (patch) | |
tree | beb8d9e6dfe24740de92151eaa5906b4c52b5cda /mesonbuild/build.py | |
parent | 30d78f39812a0585a27e24ab44ef4e9da1f12574 (diff) | |
download | meson-7c377e5a5d1e413ea3494ceed0800985fcd804ae.zip meson-7c377e5a5d1e413ea3494ceed0800985fcd804ae.tar.gz meson-7c377e5a5d1e413ea3494ceed0800985fcd804ae.tar.bz2 |
intro: Add extra_files key to intro output (fixes #7310)
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r-- | mesonbuild/build.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index bc1f54a..26b54ff 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -370,6 +370,7 @@ a hard error in the future.'''.format(name)) self.build_always_stale = False self.option_overrides_base = {} self.option_overrides_compiler = defaultdict(dict) + self.extra_files = [] # type: T.List[File] if not hasattr(self, 'typename'): raise RuntimeError('Target type is not set for target class "{}". This is a bug'.format(type(self).__name__)) @@ -518,7 +519,6 @@ class BuildTarget(Target): self.pch = {} self.extra_args = {} self.generated = [] - self.extra_files = [] self.d_features = {} self.pic = False self.pie = False @@ -1011,7 +1011,7 @@ This will become a hard error in a future Meson release.''') if self.gnu_symbol_visibility not in permitted: raise InvalidArguments('GNU symbol visibility arg {} not one of: {}'.format(self.symbol_visibility, ', '.join(permitted))) - def validate_win_subsystem(self, value: str) -> str: + def validate_win_subsystem(self, value: str) -> str: value = value.lower() if re.fullmatch(r'(boot_application|console|efi_application|efi_boot_service_driver|efi_rom|efi_runtime_driver|native|posix|windows)(,\d+(\.\d+)?)?', value) is None: raise InvalidArguments('Invalid value for win_subsystem: {}.'.format(value)) @@ -2058,7 +2058,6 @@ class CustomTarget(Target): self.depend_files = [] # Files that this target depends on but are not on the command line. self.depfile = None self.process_kwargs(kwargs, backend) - self.extra_files = [] # Whether to use absolute paths for all files on the commandline self.absolute_paths = absolute_paths unknowns = [] |