-
Notifications
You must be signed in to change notification settings - Fork 519
/
Copy pathTARGETS
36 lines (31 loc) · 921 Bytes
/
TARGETS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Any targets that should be shared between fbcode and xplat must be defined in
# targets.bzl. This file can contain fbcode-only targets.
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
oncall("executorch")
runtime.python_library(
name = "parse_profiler_library",
srcs = [
"parse_profiler_results.py",
"profiler_results_cli.py",
],
base_module = "executorch.profiler",
visibility = ["@EXECUTORCH_CLIENTS"],
external_deps = ["prettytable"],
)
runtime.python_library(
name = "profiler_results_cli_lib",
srcs = [
"profiler_results_cli.py",
],
base_module = "executorch.profiler",
deps = [
":parse_profiler_library",
],
)
runtime.python_binary(
name = "profiler_results_cli",
main_function = "executorch.profiler.profiler_results_cli.invoke_main",
deps = [
":profiler_results_cli_lib",
],
)