diff --git a/shim/BUCK b/shim/BUCK new file mode 100644 index 00000000000..e1933847933 --- /dev/null +++ b/shim/BUCK @@ -0,0 +1,33 @@ +"""Copied from prelude since we need to put this file under shim/ +""" + +load("@prelude//toolchains:cxx.bzl", "system_cxx_toolchain") +load("@prelude//toolchains:genrule.bzl", "system_genrule_toolchain") +load("@prelude//toolchains:python.bzl", "system_python_bootstrap_toolchain", "system_python_toolchain") +load("@prelude//toolchains:rust.bzl", "system_rust_toolchain") + +system_cxx_toolchain( + name = "cxx", + visibility = ["PUBLIC"], +) + +system_genrule_toolchain( + name = "genrule", + visibility = ["PUBLIC"], +) + +system_rust_toolchain( + name = "rust", + default_edition = "2021", + visibility = ["PUBLIC"], +) + +system_python_toolchain( + name = "python", + visibility = ["PUBLIC"], +) + +system_python_bootstrap_toolchain( + name = "python_bootstrap", + visibility = ["PUBLIC"], +) diff --git a/codegen/codegen.bzl b/shim/xplat/executorch/codegen/codegen.bzl similarity index 100% rename from codegen/codegen.bzl rename to shim/xplat/executorch/codegen/codegen.bzl diff --git a/kernels/portable/op_registration_util.bzl b/shim/xplat/executorch/kernels/portable/op_registration_util.bzl similarity index 100% rename from kernels/portable/op_registration_util.bzl rename to shim/xplat/executorch/kernels/portable/op_registration_util.bzl