objc

Report an issue View source

A configuration fragment for Objective-C.

Members

bool objc.alwayslink_by_default

Returns whether objc_library and objc_import should default to alwayslink=True.

copts_for_current_compilation_mode

list objc.copts_for_current_compilation_mode

Returns a list of default options to use for compiling Objective-C in the current mode.

disallow_sdk_frameworks_attributes

bool objc.disallow_sdk_frameworks_attributes

Returns whether sdk_frameworks and weak_sdk_frameworks are disallowed attributes.

ios_simulator_device

string objc.ios_simulator_device

The type of device (e.g. 'iPhone 6') to use when running on the simulator. May return None.

ios_simulator_version

DottedVersion objc.ios_simulator_version

The SDK version of the iOS simulator to use when running on the simulator. May return None.

run_memleaks

bool objc.run_memleaks

Returns a boolean indicating whether memleaks should be run during tests or not.

signing_certificate_name

string objc.signing_certificate_name

Returns the flag-supplied certificate name to be used in signing, or None if no such certificate was specified. May return None.

strip_executable_safely

bool objc.strip_executable_safely

Returns whether executable strip action should use flag -x, which does not break dynamic symbol resolution.

uses_device_debug_entitlements

bool objc.uses_device_debug_entitlements

Returns whether device debug entitlements should be included when signing an application.
{"cc_re__cc_re__cc_by_4_0": ["s</h2>\n        <p><pre class=\"rule-signature\" translate=\"no\" dir=\"ltr\"><a class=\"anchor\" href=\"https://bazel.google.cn/rules/lib/core/bool.html\">bool</a> objc.uses_device_debug_entitlements</pre></p>\n\n    Returns whether device debug entitlements should be included when signing an application.\n\n\n\n  \n\n  \n</div>\n\n  \n\n  \n    \n    \n      \n       \n    \n    \n  \n\n  \n  \n</article>\n\n\n<devsite-content-footer class=\"nocontent\">\n  <p>Except as otherwise noted, the content of this page is licensed under the <a href=\"https://creativecommons.org/licenses/by/4.0/\">Creative Commons Attribution 4.0 License</a>, and code samples are licensed under the <a href=\"https://www.apache.org/licenses/LICENSE-2.0\">Apache 2.0 License</a>. For details, see the <a href=\"https://developers.google.cn/site-policies\">Google Developers Site Policies</a>. Java is a registered trademark of Oracle and/or its affiliates.</p>\n  <p>Last updated 2024-02-17 UTC.</p>\n</devsite-content-footer>\n\n\n<devsite-notification\n>\n</devsite-notification>\n\n\n  \n<div class=\"devsite-content-data\">\n  <"]}