File tree Expand file tree Collapse file tree
runtime/core/portable_type/c10/c10 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,7 +78,13 @@ def define_common_targets():
7878 "fbsource//xplat/caffe2/c10:c10_headers" ,
7979 ] + select ({
8080 "DEFAULT" : ["fbsource//xplat/caffe2:generated_aten_config_header" ],
81- "ovr_config//build_mode:arvr_mode[enabled]" : ["fbsource//xplat/caffe2:ovrsource_aten_Config.h" ],
81+ "ovr_config//build_mode:arvr_mode[enabled]" : select ({
82+ "DEFAULT" : ["fbsource//xplat/caffe2:ovrsource_aten_Config.h" ],
83+ # ovrsource_aten_Config.h is an oxx_static_library that only
84+ # works on OVR-native platforms. On Android, it produces no
85+ # outputs, so use the xplat variant instead.
86+ "ovr_config//os:android" : ["fbsource//xplat/caffe2:generated_aten_config_header" ],
87+ }),
8288 }) + get_sleef_deps (),
8389 fbcode_exported_deps = ([
8490 "//caffe2:aten-headers-cpu" ,
You can’t perform that action at this time.
0 commit comments