• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package(
2    default_visibility = ["//visibility:public"],
3)
4
5licenses(["notice"])  # Apache 2.0
6
7cc_library(
8    name = "c_api_internal",
9    srcs = ["c_api_internal.c"],
10    hdrs = [
11        "builtin_op_data.h",
12        "c_api_internal.h",
13    ],
14    visibility = [
15        "//learning/brain/mobile/kernel_test:__subpackages__",
16        "//tensorflow/lite:__subpackages__",
17    ],
18)
19
20# Test the C extension API code.
21cc_test(
22    name = "c_api_internal_test",
23    size = "small",
24    srcs = ["c_api_internal_test.cc"],
25    deps = [
26        ":c_api_internal",
27        "@com_google_googletest//:gtest",
28    ],
29)
30
31cc_test(
32    name = "builtin_op_data_test",
33    size = "small",
34    srcs = ["builtin_op_data_test.cc"],
35    copts = ["-Wno-unused-variable"],
36    deps = [
37        ":c_api_internal",
38        "@com_google_googletest//:gtest",
39    ],
40)
41