Skip to content

Commit c6dcdf5

Browse files
tarun292facebook-github-bot
authored andcommitted
Add switch for android arvr mode (#7179)
Summary: In ARVR repo Linux/Windows etc. targets generally tend to use torch deps that are appended with `ovrsource` whereas mobile targets don't use them. In order to avoid multiple symbol definitions we add another level of platform specification called `ARVR_ANDROID` which will allow us to specify a dep for ARVR Android build modes. Reviewed By: larryliu0820, dbort Differential Revision: D66737951
1 parent 78b60df commit c6dcdf5

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

extension/pytree/aten_util/targets.bzl

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,7 @@ def define_common_targets():
2020
"//executorch/runtime/platform:platform",
2121
],
2222
compiler_flags = ["-Wno-missing-prototypes"],
23-
fbcode_deps = [
24-
"//caffe2:ATen-core",
25-
"//caffe2:ATen-cpu",
26-
"//caffe2/c10:c10",
27-
],
28-
xplat_deps = [
29-
"//xplat/caffe2:torch_mobile_core",
30-
"//xplat/caffe2/c10:c10",
23+
external_deps = [
24+
"torch-core-cpp",
3125
],
3226
)

0 commit comments

Comments
 (0)