Skip to main content

Rules

objc_import

View rule sourceopen_in_new
objc_import(name, deps, hdrs, alwayslink, archives, compatible_with, deprecation, distribs, exec_compatible_with, exec_properties, features, includes, restricted_to, sdk_dylibs, sdk_frameworks, sdk_includes, tags, target_compatible_with, testonly, textual_hdrs, toolchains, visibility, weak_sdk_frameworks)

Arguments

Attributes
nameName; required A unique name for this target.
hdrsList of labels; default is []
alwayslinkBoolean; default is False
archivesList of labels; required
includesList of strings; default is []
sdk_dylibsList of strings; default is []
sdk_frameworksList of strings; default is []
sdk_includesList of strings; default is []
textual_hdrsList of labels; default is []
weak_sdk_frameworksList of strings; default is []

objc_library

View rule sourceopen_in_new
objc_library(name, deps, srcs, data, hdrs, alwayslink, compatible_with, copts, defines, deprecation, distribs, enable_modules, exec_compatible_with, exec_properties, features, implementation_deps, includes, linkopts, module_map, module_name, non_arc_srcs, pch, restricted_to, sdk_dylibs, sdk_frameworks, sdk_includes, stamp, tags, target_compatible_with, testonly, textual_hdrs, toolchains, visibility, weak_sdk_frameworks)

Arguments

Attributes
nameName; required A unique name for this target.
hdrsList of labels; default is []
alwayslinkBoolean; default is False
coptsList of strings; default is []
definesList of strings; default is []
enable_modulesBoolean; default is False
implementation_depsList of labels; default is []
includesList of strings; default is []
linkoptsList of strings; default is []
module_mapLabel; default is None
module_nameString; default is ""
non_arc_srcsList of labels; default is []
pchLabel; default is None
sdk_dylibsList of strings; default is []
sdk_frameworksList of strings; default is []
sdk_includesList of strings; default is []
stampBoolean; default is False
textual_hdrsList of labels; default is []
weak_sdk_frameworksList of strings; default is []