From f8c1a3d9806d8c4adf2104be0b0ee395d548a6cb Mon Sep 17 00:00:00 2001 From: Jason Zaman Date: Fri, 7 Sep 2018 17:06:01 +0800 Subject: systemlibs: unbundle googleapis Signed-off-by: Jason Zaman --- tensorflow/workspace.bzl | 1 + third_party/systemlibs/googleapis.BUILD | 12 ++++++++++++ third_party/systemlibs/syslibs_configure.bzl | 1 + 3 files changed, 14 insertions(+) create mode 100644 third_party/systemlibs/googleapis.BUILD diff --git a/tensorflow/workspace.bzl b/tensorflow/workspace.bzl index 0e73e911c3..32c20d4087 100755 --- a/tensorflow/workspace.bzl +++ b/tensorflow/workspace.bzl @@ -194,6 +194,7 @@ def tf_workspace(path_prefix = "", tf_repo_name = ""): sha256 = "824870d87a176f26bcef663e92051f532fac756d1a06b404055dc078425f4378", strip_prefix = "googleapis-f81082ea1e2f85c43649bee26e0d9871d4b41cdb", build_file = clean_dep("//third_party:googleapis.BUILD"), + system_build_file = clean_dep("//third_party/systemlibs:googleapis.BUILD"), ) tf_http_archive( diff --git a/third_party/systemlibs/googleapis.BUILD b/third_party/systemlibs/googleapis.BUILD new file mode 100644 index 0000000000..7687745df9 --- /dev/null +++ b/third_party/systemlibs/googleapis.BUILD @@ -0,0 +1,12 @@ +licenses(["notice"]) # Apache 2.0 + +filegroup( + name = "LICENSE", + visibility = ["//visibility:public"], +) + +cc_library( + name = "bigtable_protos", + linkopts = ["-lbigtable_protos"], + visibility = ["//visibility:public"], +) diff --git a/third_party/systemlibs/syslibs_configure.bzl b/third_party/systemlibs/syslibs_configure.bzl index 86ee25ebd4..7812b00d4d 100644 --- a/third_party/systemlibs/syslibs_configure.bzl +++ b/third_party/systemlibs/syslibs_configure.bzl @@ -13,6 +13,7 @@ VALID_LIBS = [ "absl_py", "astor_archive", "boringssl", + "com_github_googleapis_googleapis", "com_github_googlecloudplatform_google_cloud_cpp", "com_googlesource_code_re2", "curl", -- cgit v1.2.3