|
2 | 2 |
|
3 | 3 | load("@bazel_skylib//lib:dicts.bzl", "dicts") |
4 | 4 | load("@bazel_skylib//lib:paths.bzl", "paths") |
5 | | -load("@bazel_skylib//lib:sets.bzl", "sets") |
6 | 5 | load("@bazel_skylib//lib:selects.bzl", "selects") |
| 6 | +load("@bazel_skylib//lib:sets.bzl", "sets") |
7 | 7 | load("@bazel_skylib//rules:write_file.bzl", "write_file") |
8 | 8 | load("@build_bazel_rules_apple//apple/internal:apple_framework_import.bzl", "apple_dynamic_framework_import", "apple_static_framework_import") |
9 | 9 | load("@build_bazel_rules_apple//apple/internal/resource_rules:apple_intent_library.bzl", "apple_intent_library") |
10 | 10 | load("@build_bazel_rules_swift//swift:swift.bzl", "swift_interop_hint", "swift_library") |
11 | | -load("//rules:precompiled_apple_resource_bundle.bzl", "precompiled_apple_resource_bundle") |
12 | | -load("//rules:hmap.bzl", "headermap") |
13 | 11 | load("//rules:features.bzl", "feature_names") |
| 12 | +load("//rules:hmap.bzl", "headermap") |
| 13 | +load("//rules:import_middleman.bzl", "import_middleman") |
| 14 | +load("//rules:precompiled_apple_resource_bundle.bzl", "precompiled_apple_resource_bundle") |
| 15 | +load("//rules:utils.bzl", "bundle_identifier_for_bundle") |
14 | 16 | load("//rules/framework:vfs_overlay.bzl", "framework_vfs_overlay", VFS_OVERLAY_FRAMEWORK_SEARCH_PATH = "FRAMEWORK_SEARCH_PATH") |
15 | 17 | load("//rules/library:resources.bzl", "wrap_resources_in_filegroup") |
16 | 18 | load("//rules/library:xcconfig.bzl", "copts_by_build_setting_with_defaults") |
17 | | -load("//rules:import_middleman.bzl", "import_middleman") |
18 | | -load("//rules:utils.bzl", "bundle_identifier_for_bundle") |
19 | 19 |
|
20 | 20 | PrivateHeadersInfo = provider( |
21 | 21 | doc = "Propagates private headers, so they can be accessed if necessary", |
@@ -499,7 +499,7 @@ def apple_library( |
499 | 499 | the respective bazel build setting is resolved during the analysis phase. |
500 | 500 | objc_defines: A list of Objective-C defines to add to the compilation command line. They should be in the form KEY=VALUE or simply KEY and are passed not only to the compiler for this target (as copts are) but also to all objc_ dependers of this target. |
501 | 501 | swift_defines: A list of Swift defines to add to the compilation command line. Swift defines do not have values, so strings in this list should be simple identifiers and not KEY=VALUE pairs. (only expections are KEY=1 and KEY=0). These flags are added for the target and every target that depends on it. |
502 | | - **kwargs: keyword arguments. |
| 502 | + **kwargs: keyword arguments. Note: plugins parameter for Swift macros should be passed through kwargs. |
503 | 503 |
|
504 | 504 | Returns: |
505 | 505 | Struct with a bunch of info |
|
0 commit comments