Members
- apple_host_system_env
- apple_toolchain
- AppleDebugOutputs
- AppleDynamicFramework
- AppleExecutableBinary
- dotted_version
- link_multi_arch_binary
- link_multi_arch_static_library
- new_dynamic_framework_provider
- new_executable_binary_provider
- new_objc_provider
- Objc
- platform
- platform_type
- target_apple_env
- XcodeProperties
- XcodeVersionConfig
apple_host_system_env
Parameters
| Parameter | Description |
|---|---|
xcode_config | required A provider containing information about the xcode configuration. |
apple_toolchain
AppleDebugOutputs
AppleDebugOutputs provider.
If a target propagates the AppleDebugOutputs provider, use this as the key with which to retrieve it. Example:
AppleDynamicFramework
AppleDynamicFramework provider.
If a target propagates the AppleDynamicFramework provider, use this as the key with which to retrieve it. Example:
AppleExecutableBinary
AppleExecutableBinary provider.
If a target propagates the AppleExecutableBinary provider, use this as the key with which to retrieve it. Example:
dotted_version
Parameters
| Parameter | Description |
|---|---|
version | required |
link_multi_arch_binary
apple_binary rule in the rules_apple domain and exists to aid in the migration of its linking logic to Starlark in rules_apple.
This API is highly experimental and subject to change at any time. Do not depend on the stability of this function at this time.
Parameters
| Parameter | Description |
|---|---|
ctx | required |
avoid_deps | sequence of Targets; or None; default is None |
extra_linkopts | sequence of strings; default is [] Extra linkopts to be passed to the linker action. |
extra_link_inputs | sequence of Files; default is [] Extra files to pass to the linker action. |
extra_requested_features | sequence of strings; default is [] Extra requested features to be passed to the linker action. |
extra_disabled_features | sequence of strings; default is [] Extra disabled features to be passed to the linker action. |
stamp | default is -1 Whether to include build information in the linked binary. If 1, build information is always included. If 0, build information is always excluded. If -1 (the default), then the behavior is determined by the —[no]stamp flag. This should be set to 0 when generating the executable output for test rules. |
link_multi_arch_static_library
apple_static_library rule logic, in the rules_apple domain and exists to aid in the migration of its linking logic to Starlark in rules_apple.
This API is highly experimental and subject to change at any time. Do not depend on the stability of this function at this time.
Parameters
| Parameter | Description |
|---|---|
ctx | required The Starlark rule context. |
new_dynamic_framework_provider
Parameters
| Parameter | Description |
|---|---|
binary | File; or None; default is None The dylib binary artifact of the dynamic framework. |
cc_info | default is None A CcInfo which contains information about the transitive dependencies linked into the binary. |
objc | default is None An ObjcProvider which contains information about the transitive dependencies linked into the binary. |
framework_dirs | depset of strings; or None; default is None The framework path names used as link inputs in order to link against the dynamic framework. |
framework_files | depset of Files; or None; default is None The full set of artifacts that should be included as inputs to link against the dynamic framework |
new_executable_binary_provider
Parameters
| Parameter | Description |
|---|---|
binary | File; or None; default is None The binary artifact of the executable. |
cc_info | default is None A CcInfo which contains information about the transitive dependencies linked into the binary. |
objc | default is None An ObjcProvider which contains information about the transitive dependencies linked into the binary. |
new_objc_provider
Parameters
| Parameter | Description |
|---|---|
kwargs | default is {} Dictionary of arguments. |
Objc
Objc provider.
If a target propagates the Objc provider, use this as the key with which to retrieve it. Example:
platform
ios_deviceios_simulatormacostvos_devicetvos_simulatorvisionos_devicevisionos_simulatorwatchos_devicewatchos_simulator
platform_type
iosmacostvosvisionoswatchos
target_apple_env
dict of environment variables that should be set for actions that build targets of the given Apple platform type. For example, this dictionary contains variables that denote the platform name and SDK version with which to build. The keys are variable names and the values are their corresponding values.
Parameters
| Parameter | Description |
|---|---|
xcode_config | required |
platform | required |
XcodeProperties
XcodeVersionProperties provider.
If a target propagates the XcodeVersionProperties provider, use this as the key with which to retrieve it. Example:
XcodeVersionConfig
XcodeVersionConfig provider.