Skip to content

Commit

Permalink
ARVR: exclude arvr mode from suffixing checks
Browse files Browse the repository at this point in the history
Summary: Adjusts meta library validation condition.

Reviewed By: benb

Differential Revision: D65332507

fbshipit-source-id: 3157e46575ffef80683cada808965fa1cf32c395
  • Loading branch information
milend authored and facebook-github-bot committed Nov 1, 2024
1 parent f36efb9 commit 47dcff0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apple/apple_common.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,13 @@ def _meta_apple_library_validation_enabled_default_value():
return False

meta_apple_library_validation_enabled_default = (read_root_config("apple", "meta_apple_library_validation", "false").lower() == "true")

is_arvr_build = (read_root_config("fb", "arvr_build", "false").lower() == "true")
if is_arvr_build:
# Not all arvr builds have `arvr_mode_enabled` constraint, so under arvr
# build mode, always disable suffixing checks as those graphs are not suffixed
return False

return select({
"DEFAULT": select({
"DEFAULT": meta_apple_library_validation_enabled_default,
Expand Down

0 comments on commit 47dcff0

Please sign in to comment.