xref: /aosp_15_r20/external/tensorflow/tensorflow/lite/experimental/telemetry/BUILD (revision b6fb3261f9314811a0f4371741dbb8839866f948)
1load("//tensorflow/lite:build_def.bzl", "tflite_copts")
2load("//tensorflow:tensorflow.bzl", "get_compatible_with_portable")
3
4package(
5    default_visibility = ["//visibility:public"],
6    licenses = ["notice"],
7)
8
9cc_library(
10    name = "profiler",
11    srcs = ["profiler.cc"],
12    hdrs = ["profiler.h"],
13    compatible_with = get_compatible_with_portable(),
14    copts = tflite_copts(),
15    deps = [
16        ":telemetry_settings",
17        ":telemetry_status",
18        "//tensorflow/lite/c:common",
19        "//tensorflow/lite/core/api",
20    ],
21)
22
23cc_library(
24    name = "telemetry_status",
25    hdrs = ["telemetry_status.h"],
26    compatible_with = get_compatible_with_portable(),
27    copts = tflite_copts(),
28    deps = ["//tensorflow/lite/c:c_api_types"],
29)
30
31cc_library(
32    name = "telemetry_settings",
33    hdrs = ["telemetry_settings.h"],
34    compatible_with = get_compatible_with_portable(),
35    copts = tflite_copts(),
36    deps = [":telemetry_status"],
37)
38