Create BUILD files and corresponding targets for tensorflow/core/api_def/base_api.

PiperOrigin-RevId: 343581258
Change-Id: Ia144d927a56e0c15ef66d601c68418a32ea15b69
This commit is contained in:
Amit Patankar 2020-11-20 15:57:28 -08:00 committed by TensorFlower Gardener
parent b9322e1891
commit c75297bb18
2 changed files with 23 additions and 3 deletions

View File

@ -6,7 +6,6 @@
# :python_api_def
# :java_api_def
load("//tensorflow:tensorflow.bzl", "filegroup")
load("//tensorflow/core/platform:rules_cc.bzl", "cc_library")
load(
"//tensorflow:tensorflow.bzl",
@ -27,9 +26,9 @@ package(
licenses = ["notice"], # Apache 2.0
)
filegroup(
alias(
name = "base_api_def",
srcs = glob(["base_api/*"]),
actual = "//tensorflow/core/api_def/base_api:base_api_def",
visibility = ["//tensorflow:internal"],
)

View File

@ -0,0 +1,21 @@
# Description:
# Expose TensorFlow base api.
load("//tensorflow:tensorflow.bzl", "filegroup")
package(
licenses = ["notice"], # Apache 2.0
)
filegroup(
name = "base_api_def",
srcs = glob(
[
"*",
],
exclude = [
"BUILD",
],
),
visibility = ["//tensorflow:internal"],
)