def cc_library(name, srcs=[], deps=[], visibility=None, warning='yes', defs=[], incs=[], export_incs=[], optimize=[], always_optimize=False, pre_build=False, prebuilt=False, link_all_symbols=False, deprecated=False, extra_cppflags=[], extra_linkflags=[], allow_undefined=False, secure=False, **kwargs):
 target = CcLibrary(name, srcs, deps, visibility, warning, defs, incs, export_incs, optimize, always_optimize, (prebuilt or pre_build), link_all_symbols, deprecated, extra_cppflags, extra_linkflags, allow_undefined, secure, blade.blade, kwargs)
 if pre_build:
  console.warning(("//%s:%s: 'pre_build' has been deprecated, please use 'prebuilt'" % (target.path, target.name)))
 blade.blade.register_target(target)

def cc_library ( name , srcs = [ ] , deps = [ ] , visibility = None , warning = 'yes' , defs = [ ] , incs = [ ] , export_incs = [ ] , optimize = [ ] , always_optimize = False , pre_build = False , prebuilt = False , link_all_symbols = False , deprecated = False , extra_cppflags = [ ] , extra_linkflags = [ ] , allow_undefined = False , secure = False , ** kwargs ) : target = CcLibrary ( name , srcs , deps , visibility , warning , defs , incs , export_incs , optimize , always_optimize , ( prebuilt or pre_build ) , link_all_symbols , deprecated , extra_cppflags , extra_linkflags , allow_undefined , secure , blade . blade , kwargs ) if pre_build : console . warning ( ( "//%s:%s: 'pre_build' has been deprecated, please use 'prebuilt'" % ( target . path , target . name ) ) ) blade . blade . register_target ( target )
cc_library target .