From 65f01fc9c0e384946226d7ba054878e12278ec75 Mon Sep 17 00:00:00 2001 From: Rex Zhang Date: Mon, 4 Aug 2025 16:44:33 -0700 Subject: [PATCH] Remove is_arvr_mode from xplat/executorch/runtime/core/portable_type/c10/c10/targets.bzl (#13103) Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/13103 Removed is_arvr_mode() to achieve more efficient TD. Context: https://fb.workplace.com/groups/3454295018049629/permalink/3734068433405618/ https://www.internalfb.com/wiki/Avoiding_is_arvr_mode%28%29/ Differential Revision: D79558768 --- runtime/core/portable_type/c10/c10/targets.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/core/portable_type/c10/c10/targets.bzl b/runtime/core/portable_type/c10/c10/targets.bzl index 1698d559015..c89212ce9d5 100644 --- a/runtime/core/portable_type/c10/c10/targets.bzl +++ b/runtime/core/portable_type/c10/c10/targets.bzl @@ -1,4 +1,4 @@ -load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime", "is_arvr_mode") +load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime") def get_preprocessor_flags(is_fbcode): flags = ["-DSTANDALONE_TORCH_HEADER"]