Ejemplo n.º 1
0
def create_nds(self, target, source, **kwargs):
    env, attr = parse_task_gen_args(kwargs)
    tg = self.new_task_gen(features='nds',
                           target=target,
                           source=source,
                           **attr)
    apply_env_values(tg, env)
Ejemplo n.º 2
0
def create_nds(self, target, source, **kwargs):
    env, attr = parse_task_gen_args(kwargs)
    tg = self.new_task_gen(
            features='nds',
            target=target,
            source=source,
            **attr)
    apply_env_values(tg, env)
Ejemplo n.º 3
0
def objcopy(self, source, **kwargs):
    env, attr = parse_task_gen_args(kwargs)
    tg = self.new_task_gen(features='objcopy', source=source, **attr)
    apply_env_values(tg, env)
    return tg
Ejemplo n.º 4
0
 def transform_image(self, source, **kwargs):
     env, attr = parse_task_gen_args(kwargs)
     tg = self.new_task_gen(features='grit', source=source, **attr)
     apply_env_values(tg, env)
     return tg
Ejemplo n.º 5
0
 def testParseTaskGenArgs(self):
     args = {'foo':'foo_value',
             'BAR12_V': 'bar_value'}
     env, attr = scwaf.parse_task_gen_args(args)
     self.assertEquals({'BAR12_V': 'bar_value'} , env)
     self.assertEquals({'foo': 'foo_value'} , attr)
Ejemplo n.º 6
0
 def transform_image(self, source, **kwargs):
     env, attr = parse_task_gen_args(kwargs)
     tg = self.new_task_gen(features='grit', source=source, **attr)
     apply_env_values(tg, env)
     return tg
Ejemplo n.º 7
0
def objcopy(self, source, **kwargs):
    env, attr = parse_task_gen_args(kwargs)
    tg = self.new_task_gen(features='objcopy', source=source, **attr)
    apply_env_values(tg, env)
    return tg