def cc_test(name, srcs=[], deps=[], warning='yes', defs=[], incs=[], embed_version=False, optimize=[], dynamic_link=None, testdata=[], extra_cppflags=[], extra_linkflags=[], export_dynamic=False, always_run=False, exclusive=False, heap_check=None, heap_check_debug=False, **kwargs):
 cc_test_target = CcTest(name, srcs, deps, warning, defs, incs, embed_version, optimize, dynamic_link, testdata, extra_cppflags, extra_linkflags, export_dynamic, always_run, exclusive, heap_check, heap_check_debug, blade.blade, kwargs)
 blade.blade.register_target(cc_test_target)

def cc_test ( name , srcs = [ ] , deps = [ ] , warning = 'yes' , defs = [ ] , incs = [ ] , embed_version = False , optimize = [ ] , dynamic_link = None , testdata = [ ] , extra_cppflags = [ ] , extra_linkflags = [ ] , export_dynamic = False , always_run = False , exclusive = False , heap_check = None , heap_check_debug = False , ** kwargs ) : cc_test_target = CcTest ( name , srcs , deps , warning , defs , incs , embed_version , optimize , dynamic_link , testdata , extra_cppflags , extra_linkflags , export_dynamic , always_run , exclusive , heap_check , heap_check_debug , blade . blade , kwargs ) blade . blade . register_target ( cc_test_target )
cc_test target .