blob: 20ac70b488425905844c65213e0aa5f337bdeb53 [file] [log] [blame]
# Any targets that should be shared between fbcode and xplat must be defined in
# targets.bzl. This file can contain fbcode-only targets.
load("@fbcode_macros//build_defs:python_binary.bzl", "python_binary")
load("@fbcode_macros//build_defs:python_unittest.bzl", "python_unittest")
load(":targets.bzl", "define_common_targets")
oncall("executorch")
define_common_targets()
python_unittest(
name = "gen_supported_features_test",
srcs = ["gen_supported_features_test.py"],
deps = [
"fbsource//third-party/pypi/pyyaml:pyyaml",
":gen_supported_features_lib",
],
)
python_binary(
name = "test_case_gen",
srcs = [
"test_case_gen.py",
],
main_function = "executorch.kernels.test.test_case_gen.main",
deps = [
"//caffe2:torch",
],
)
python_binary(
name = "summarize_supported_features",
srcs = [
"summarize_supported_features.py",
],
main_function = "executorch.kernels.test.summarize_supported_features.make_md_table",
deps = [
"fbsource//third-party/pypi/pyyaml:pyyaml",
],
)