Exemplo n.º 1
0
 def __init__(self, name, dependencies=None, num_sources=0, exclusives=None):
   with ParseContext.temp():
     InternalTarget.__init__(self, name, dependencies, exclusives=exclusives)
     TargetWithSources.__init__(self, name, exclusives=exclusives)
   self.num_sources = num_sources
   self.declared_exclusives = defaultdict(set)
   if exclusives is not None:
     for k in exclusives:
       self.declared_exclusives[k] = set([exclusives[k]])
   self.exclusives = None
Exemplo n.º 2
0
 def __init__(self, name, dependencies=None, num_sources=0):
     with ParseContext.temp():
         InternalTarget.__init__(self, name, dependencies)
         TargetWithSources.__init__(self, name)
     self.num_sources = num_sources
Exemplo n.º 3
0
 def __init__(self, name, dependencies=None, num_sources=0):
   with ParseContext.temp():
     InternalTarget.__init__(self, name, dependencies)
     TargetWithSources.__init__(self, name)
   self.num_sources = num_sources