Skip to content

Commit

Permalink
[export] Get grpc to build on visionOS.
Browse files Browse the repository at this point in the history
----
DO NOT SUBMIT. This PR is for testing purposes only. [cl/627375020](http://cl/627375020)

PiperOrigin-RevId: 627375020
  • Loading branch information
gRPC Team Bot authored and Copybara-Service committed Apr 23, 2024
1 parent 8dd1566 commit 58ff00b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@ config_setting(
values = {"apple_platform_type": "tvos"},
)

config_setting(
name = "visionos",
constraint_values = ["@platforms//os:visionos"],
)

config_setting(
name = "watchos",
values = {"apple_platform_type": "watchos"},
Expand Down
1 change: 1 addition & 0 deletions src/core/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2599,6 +2599,7 @@ grpc_cc_library(
],
"//:ios": ["cf_event_engine"],
"//:tvos": ["cf_event_engine"],
"//:visionos": ["cf_event_engine"],
"//:watchos": ["cf_event_engine"],
"//conditions:default": ["posix_event_engine"],
},
Expand Down

0 comments on commit 58ff00b

Please sign in to comment.