ObjcProvider
A provider for compilation and linking of objc.Members
- compilation_context
- define
- direct_headers
- direct_module_maps
- direct_sources
- dynamic_framework_file
- dynamic_framework_names
- dynamic_framework_paths
- exported_debug_artifacts
- force_load_library
- framework_search_path_only
- header
- imported_library
- include
- include_system
- iquote
- j2objc_library
- jre_library
- library
- link_inputs
- linked_binary
- linkmap_file
- linkopt
- merge_zip
- module_map
- multi_arch_dynamic_libraries
- multi_arch_linked_archives
- multi_arch_linked_binaries
- sdk_dylib
- sdk_framework
- source
- static_framework_file
- static_framework_names
- static_framework_paths
- strict_include
- umbrella_header
- weak_sdk_framework
compilation_context
CompilationContext ObjcProvider.compilation_contextDeprecated. This API is deprecated and will be removed soon. Please do not depend on it. It is disabled with
---incompatible_objc_provider_remove_compile_info
. Use this flag to verify your code is compatible with its imminent removal. Returns the embedded
CcCompilationContext
that contains theprovider's compilation information.
define
depset ObjcProvider.defineDeprecated. This API is deprecated and will be removed soon. Please do not depend on it. It is disabled with
---incompatible_objc_provider_remove_compile_info
. Use this flag to verify your code is compatible with its imminent removal. A set of strings from 'defines' attributes. These are to be passed as '-D' flags to all invocations of the compiler for this target and all depending targets.
direct_headers
sequence ObjcProvider.direct_headersHeader files from this target directly (no transitive headers). These may be either public or private headers.
direct_module_maps
sequence ObjcProvider.direct_module_mapsModule map files from this target directly (no transitive module maps). Used to enforce proper use of private header files and for Swift compilation.
direct_sources
sequence ObjcProvider.direct_sourcesAll direct source files from this target (no transitive files).
dynamic_framework_file
depset ObjcProvider.dynamic_framework_fileThe library files in .framework directories belonging to a dynamically linked framework.
dynamic_framework_names
depset ObjcProvider.dynamic_framework_namesReturns all names of dynamic frameworks in this provider.
dynamic_framework_paths
depset ObjcProvider.dynamic_framework_pathsReturns all framework paths to dynamic frameworks in this provider.
exported_debug_artifacts
depset ObjcProvider.exported_debug_artifactsDebug files that should be exported by the top-level target.
force_load_library
depset ObjcProvider.force_load_libraryLibraries to load with -force_load.
framework_search_path_only
depset ObjcProvider.framework_search_path_onlyDeprecated. This API is deprecated and will be removed soon. Please do not depend on it. It is disabled with
---incompatible_objc_provider_remove_compile_info
. Use this flag to verify your code is compatible with its imminent removal. Exec paths of .framework directories corresponding to frameworks to include in search paths, but not to link.
header
depset ObjcProvider.headerDeprecated. This API is deprecated and will be removed soon. Please do not depend on it. It is disabled with
---incompatible_objc_provider_remove_compile_info
. Use this flag to verify your code is compatible with its imminent removal. All header files. These may be either public or private headers.
imported_library
depset ObjcProvider.imported_libraryImported precompiled static libraries (.a files) to be linked into the binary.
include
depset ObjcProvider.includeDeprecated. This API is deprecated and will be removed soon. Please do not depend on it. It is disabled with
---incompatible_objc_provider_remove_compile_info
. Use this flag to verify your code is compatible with its imminent removal. Include search paths specified with '-I' on the command line. Also known as header search paths (and distinct from user header search paths).
include_system
depset ObjcProvider.include_systemDeprecated. This API is deprecated and will be removed soon. Please do not depend on it. It is disabled with
---incompatible_objc_provider_remove_compile_info
. Use this flag to verify your code is compatible with its imminent removal. System include search paths (typically specified with -isystem).
iquote
depset ObjcProvider.iquoteDeprecated. This API is deprecated and will be removed soon. Please do not depend on it. It is disabled with
---incompatible_objc_provider_remove_compile_info
. Use this flag to verify your code is compatible with its imminent removal. User header search paths (typically specified with -iquote).
j2objc_library
depset ObjcProvider.j2objc_libraryStatic libraries that are built from J2ObjC-translated Java code.
jre_library
depset ObjcProvider.jre_libraryJ2ObjC JRE emulation libraries and their dependencies.
library
depset ObjcProvider.libraryLibrary (.a) files compiled by dependencies of the current target.
link_inputs
depset ObjcProvider.link_inputsLink time artifacts from dependencies that do not fall into any other category such as libraries or archives. This catch-all provides a way to add arbitrary data (e.g. Swift AST files) to the linker. The rule that adds these is also responsible to add the necessary linker flags to 'linkopt'.
linked_binary
depset ObjcProvider.linked_binarySingle-architecture linked binaries to be combined for the final multi-architecture binary.
linkmap_file
depset ObjcProvider.linkmap_fileSingle-architecture link map for a binary.
linkopt
depset ObjcProvider.linkoptLinking options.
merge_zip
depset ObjcProvider.merge_zipDeprecated. This API is deprecated and will be removed soon. Please do not depend on it. It is disabled with
---incompatible_objc_provider_remove_compile_info
. Use this flag to verify your code is compatible with its imminent removal. Merge zips to include in the bundle. The entries of these zip files are included in the final bundle with the same path. The entries in the merge zips should not include the bundle root path (e.g. 'Foo.app').
module_map
depset ObjcProvider.module_mapClang module maps, used to enforce proper use of private header files.
multi_arch_dynamic_libraries
depset ObjcProvider.multi_arch_dynamic_librariesCombined-architecture dynamic libraries to include in the final bundle.
multi_arch_linked_archives
depset ObjcProvider.multi_arch_linked_archivesCombined-architecture archives to include in the final bundle.
multi_arch_linked_binaries
depset ObjcProvider.multi_arch_linked_binariesCombined-architecture binaries to include in the final bundle.
sdk_dylib
depset ObjcProvider.sdk_dylibNames of SDK .dylib libraries to link with. For instance, 'libz' or 'libarchive'.
sdk_framework
depset ObjcProvider.sdk_frameworkNames of SDK frameworks to link with (e.g. 'AddressBook', 'QuartzCore').
source
depset ObjcProvider.sourceAll transitive source files.
static_framework_file
depset ObjcProvider.static_framework_fileThe library files in .framework directories that should be statically linked.
static_framework_names
depset ObjcProvider.static_framework_namesReturns all names of static frameworks in this provider.
static_framework_paths
depset ObjcProvider.static_framework_pathsReturns all framework paths to static frameworks in this provider.
strict_include
depset ObjcProvider.strict_includeNon-propagated include search paths specified with '-I' on the command line. Also known as header search paths (and distinct from user header search paths).
umbrella_header
depset ObjcProvider.umbrella_headerClang umbrella header. Public headers are #included in umbrella headers to be compatible with J2ObjC segmented headers.
weak_sdk_framework
depset ObjcProvider.weak_sdk_frameworkNames of SDK frameworks to weakly link with. For instance, 'MediaAccessibility'. In difference to regularly linked SDK frameworks, symbols from weakly linked frameworks do not cause an error if they are not present at runtime.