def __init__(self, name, subdir, subproject, kwargs, absolute_paths=False):
    self.typename = 'custom'
    super().__init__(name, subdir, subproject, False)
    self.dependencies = []
    self.extra_depends = []
    self.depend_files = []
    self.depfile = None
    self.process_kwargs(kwargs)
    self.extra_files = []
    self.absolute_paths = absolute_paths
    unknowns = []
    for k in kwargs:
        if (k not in CustomTarget.known_kwargs):
            unknowns.append(k)
    if (len(unknowns) > 0):
        mlog.warning(('Unknown keyword arguments in target %s: %s' % (self.name, ', '.join(unknowns))))
def __init__(self, name, subdir, subproject, kwargs, absolute_paths=False):
    self.typename = 'custom'
    super().__init__(name, subdir, subproject, False)
    self.dependencies = []
    self.extra_depends = []
    self.depend_files = []
    self.depfile = None
    self.process_kwargs(kwargs)
    self.extra_files = []
    self.absolute_paths = absolute_paths
    unknowns = []
    for k in kwargs:
        if (k not in CustomTarget.known_kwargs):
            unknowns.append(k)
    if (len(unknowns) > 0):
        mlog.warning(('Unknown keyword arguments in target %s: %s' % (self.name, ', '.join(unknowns))))