Skip to content

Commit

Permalink
Add constraint_overrides to apple_binary
Browse files Browse the repository at this point in the history
Summary:
This does not actually implement anything, just fixes the API so the attribute is accepted.

EDIT: Actually, I think this fixes things.

Reviewed By: milend

Differential Revision: D66171874

fbshipit-source-id: 9e1eeee9e12aeafe5656b8fc2a05392b31d47c99
  • Loading branch information
mzlee authored and facebook-github-bot committed Nov 20, 2024
1 parent 9745213 commit c5e397d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apple/apple_rules_impl.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ load("@prelude//cxx:link_groups_types.bzl", "LINK_GROUP_MAP_ATTR")
load("@prelude//linking:execution_preference.bzl", "link_execution_preference_attr")
load("@prelude//linking:link_info.bzl", "LinkOrdering")
load("@prelude//linking:types.bzl", "Linkage")
load("@prelude//transitions/constraint_overrides.bzl", "constraint_overrides")
load(":apple_asset_catalog.bzl", "apple_asset_catalog_impl")
load(":apple_binary.bzl", "apple_binary_impl")
load(":apple_bundle.bzl", "apple_bundle_impl")
Expand Down Expand Up @@ -95,6 +96,7 @@ def _apple_binary_extra_attrs():
ATTRS_VALIDATORS_NAME: ATTRS_VALIDATORS_TYPE,
}
attribs.update(apple_dsymutil_attrs())
attribs.update(constraint_overrides.attributes)
return attribs

def _apple_library_extra_attrs():
Expand Down

0 comments on commit c5e397d

Please sign in to comment.