build: Add a type annotation to CustomTarget

pull/8838/head
Dylan Baker 4 years ago
parent b107171307
commit ff0fd7d44c
  1. 2
      mesonbuild/build.py

@ -2242,7 +2242,7 @@ class CustomTarget(Target, CommandBase):
self.typename = 'custom'
# TODO expose keyword arg to make MachineChoice.HOST configurable
super().__init__(name, subdir, subproject, False, MachineChoice.HOST)
self.dependencies = []
self.dependencies: T.List[T.Union[CustomTarget, BuildTarget]] = []
self.extra_depends = []
self.depend_files = [] # Files that this target depends on but are not on the command line.
self.depfile = None

Loading…
Cancel
Save