1load("@fbcode_macros//build_defs:python_library.bzl", "python_library") 2 3oncall("executorch") 4 5python_library( 6 # @autodeps-skip for some reason autodeps thinks this target 7 # needs to depend on exir:lib which it doesn't. 8 name = "serialize", 9 srcs = [ 10 "export_serialize.py", 11 "schema.py", 12 "schema_check.py", 13 "serialize.py", 14 "union.py", 15 "upgrade.py", 16 ], 17 deps = [ 18 "fbsource//third-party/pypi/sympy:sympy", 19 "//caffe2:torch", 20 "//executorch/exir:delegate", 21 "//executorch/exir:lowered_backend_module", 22 "//executorch/exir:memory", 23 "//executorch/exir/backend:compile_spec_schema", 24 "//executorch/exir/dialects:lib", 25 "//executorch/exir/dialects/backend:lib", 26 "//executorch/exir/dialects/edge:lib", 27 ], 28) 29