apple
Stay organized with collections
Save and categorize content based on your preferences.
Report an issueopen_in_new
View sourceopen_in_new
Nightly
·
8.4
·
8.3
·
8.2
·
8.1
·
8.0
·
7.6
A configuration fragment for Apple platforms.
Members
apple_platform apple.multi_arch_platform(platform_type)
The platform of the current configuration for the given platform type. This should only be invoked in a context where multiple architectures may be supported; consider
single_arch_platform for other cases.
Parameters
Parameter |
Description |
platform_type
|
string;
required
The apple platform type.
|
single_arch_cpu
string apple.single_arch_cpu
The single "effective" architecture for this configuration (e.g.,
i386
or
arm64
) in the context of rule logic that is only concerned with a single architecture (such as
objc_library
, which registers single-architecture compile actions).
apple_platform apple.single_arch_platform
The platform of the current configuration. This should only be invoked in a context where only a single architecture may be supported; consider
multi_arch_platform for other cases.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[null,null,["Last updated 2025-09-04 UTC."],[],[],null,[]]