"torch/csrc/jit/serialization/type_name_uniquer.cpp",
]
-core_sources_full_mobile = [
+core_sources_full_mobile_no_backend_interface = [
"torch/csrc/jit/api/function_impl.cpp",
"torch/csrc/jit/api/module.cpp",
"torch/csrc/jit/api/object.cpp",
"torch/csrc/jit/backends/backend_debug_handler.cpp",
- "torch/csrc/jit/backends/backend_debug_info.cpp",
"torch/csrc/jit/backends/backend_detail.cpp",
- "torch/csrc/jit/backends/backend_interface.cpp",
"torch/csrc/jit/backends/backend_resolver.cpp",
"torch/csrc/jit/codegen/fuser/codegen.cpp",
"torch/csrc/jit/codegen/fuser/compiler.cpp",
"torch/csrc/utils/variadic.cpp",
] + libtorch_profiler_sources
+core_sources_full_mobile = core_sources_full_mobile_no_backend_interface + [
+ "torch/csrc/jit/backends/backend_debug_info.cpp",
+ "torch/csrc/jit/backends/backend_interface.cpp",
+]
+
core_sources_full = core_sources_full_mobile + [
"torch/csrc/jit/runtime/static/fusion.cpp",
"torch/csrc/jit/runtime/static/impl.cpp",