xref: /aosp_15_r20/external/executorch/util/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 xplat-only targets.
3
4load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
5load(":targets.bzl", "define_common_targets")
6
7oncall("executorch")
8
9define_common_targets()
10
11runtime.python_library(
12    name = "memory_profiler",
13    srcs = [
14        "activation_memory_profiler.py",
15    ],
16    _is_external_target = True,
17    visibility = [
18        "//executorch/...",
19        "@EXECUTORCH_CLIENTS",
20    ],
21    deps = [
22        "//caffe2:torch",
23        "//executorch/exir:lib",
24    ],
25)
26