xref: /aosp_15_r20/external/executorch/backends/qualcomm/quantizer/targets.bzl (revision 523fa7a60841cd1ecfb9cc4201f1ca8b03ed023a)
1load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
2
3def define_common_targets():
4    """Defines targets that should be shared between fbcode and xplat.
5
6    The directory containing this targets.bzl file should also contain both
7    TARGETS and BUCK files that call this function.
8    """
9    runtime.python_library(
10        name = "quantizer",
11        srcs = glob([
12            "*.py",
13        ]),
14        visibility = [
15            "@EXECUTORCH_CLIENTS",
16        ],
17        deps = [
18            "//executorch/backends/transforms:decompose_sdpa",
19        ],
20    )
21