xref: /aosp_15_r20/external/executorch/kernels/test/TARGETS (revision 523fa7a60841cd1ecfb9cc4201f1ca8b03ed023a)
1# Any targets that should be shared between fbcode and xplat must be defined in
2# targets.bzl. This file can contain fbcode-only targets.
3
4load("@fbcode_macros//build_defs:python_binary.bzl", "python_binary")
5load("@fbcode_macros//build_defs:python_unittest.bzl", "python_unittest")
6load(":targets.bzl", "define_common_targets")
7
8oncall("executorch")
9
10define_common_targets()
11
12python_unittest(
13    name = "gen_supported_features_test",
14    srcs = ["gen_supported_features_test.py"],
15    deps = [
16        "fbsource//third-party/pypi/pyyaml:pyyaml",
17        ":gen_supported_features_lib",
18    ],
19)
20
21python_binary(
22    name = "test_case_gen",
23    srcs = [
24        "test_case_gen.py",
25    ],
26    main_function = "executorch.kernels.test.test_case_gen.main",
27    deps = [
28        "//caffe2:torch",
29    ],
30)
31
32python_binary(
33    name = "summarize_supported_features",
34    srcs = [
35        "summarize_supported_features.py",
36    ],
37    main_function = "executorch.kernels.test.summarize_supported_features.make_md_table",
38    deps = [
39        "fbsource//third-party/pypi/pyyaml:pyyaml",
40    ],
41)
42