parameters: (name,
                 srcs=[],
                 deps=[],
                 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=[],
                 **kwargs)
docstring: cc_library target.
docstring_summary: cc_library target.
docstring_tokens: cc_library target .
function: def cc_library(name,
                 srcs=[],
                 deps=[],
                 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=[],
                 **kwargs):
      """cc_library target. """
      target = CcLibrary(name,
                         srcs,
                         deps,
                         warning,
                         defs,
                         incs,
                         export_incs,
                         optimize,
                         always_optimize,
                         prebuilt or pre_build,
                         link_all_symbols,
                         deprecated,
                         extra_cppflags,
                         extra_linkflags,
                         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)
function_tokens: def cc_library ( name , srcs = [ ] , deps = [ ] , 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 = [ ] , * * kwargs ) : target = CcLibrary ( name , srcs , deps , warning , defs , incs , export_incs , optimize , always_optimize , prebuilt or pre_build , link_all_symbols , deprecated , extra_cppflags , extra_linkflags , 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 )