Skip to content
Permalink
Browse files

Adapt to https://github.com/googleapis/google-cloud-cpp refactoring.

PiperOrigin-RevId: 280219393
Change-Id: I3b4d1eaa17328ed00ab35d250734545a0ec2be34
  • Loading branch information
timford committed Nov 13, 2019
1 parent 306332c commit 7a029ce7196518fe516dff8b340ef1dc1f0f771f
@@ -92,9 +92,9 @@ git_repository(
# Google Cloud CPP
http_archive(
name = "com_github_googleapis_google_cloud_cpp",
url = "http://github.com/googleapis/google-cloud-cpp/archive/v0.11.0.tar.gz",
strip_prefix = "google-cloud-cpp-0.11.0",
sha256 = "3abe2cf553ce33ff58d23848ae716cd2fcabfd454b89f6f65a92ed261244c1df",
url = "http://github.com/googleapis/google-cloud-cpp/archive/v0.15.0.tar.gz",
strip_prefix = "google-cloud-cpp-0.15.0",
sha256 = "23602261630556e6c6283fea300075b40d4711e47ad9627423b01258784247ca",
)
load("@com_github_googleapis_google_cloud_cpp//bazel:google_cloud_cpp_deps.bzl", "google_cloud_cpp_deps")
google_cloud_cpp_deps()
@@ -13,7 +13,7 @@ cc_library(
"status.h",
],
deps = [
"@com_github_googleapis_google_cloud_cpp//google/cloud:google_cloud_cpp_common",
"@com_github_googleapis_google_cloud_cpp_common//google/cloud:google_cloud_cpp_common",
"@com_google_absl//absl/base:core_headers",
"@com_google_absl//absl/strings",
],
@@ -23,7 +23,7 @@ cc_library(
name = "statusor",
hdrs = ["statusor.h"],
deps = [
"@com_github_googleapis_google_cloud_cpp//google/cloud:google_cloud_cpp_common",
"@com_github_googleapis_google_cloud_cpp_common//google/cloud:google_cloud_cpp_common",
],
)

@@ -122,8 +122,8 @@ cc_library(
":oauth_token_provider",
"//cxx/helpers/status",
"//cxx/helpers/status:statusor",
"//third_party/google_cloud_cpp_common/google/cloud:google_cloud_cpp_common",
"@com_github_googleapis_google_cloud_cpp//google/cloud/storage:storage_client",
"@com_github_googleapis_google_cloud_cpp_common//google/cloud:google_cloud_cpp_common",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/synchronization",
"@com_google_absl//absl/types:optional",
@@ -139,7 +139,7 @@ cc_test(
deps = [
":google_oauth_fetcher",
"//cxx/helpers/status:status_matchers",
"//third_party/google_cloud_cpp_common/google/cloud:google_cloud_cpp_common",
"@com_github_googleapis_google_cloud_cpp_common//google/cloud:google_cloud_cpp_common",
"@com_google_absl//absl/strings",
"@com_google_googletest//:gtest_main",
],
@@ -19,7 +19,7 @@
#include "absl/types/optional.h"
#include "google/cloud/storage/oauth2/credentials.h"
#include "google/cloud/storage/oauth2/google_credentials.h"
#include "third_party/google_cloud_cpp_common/google/cloud/status.h"
#include "google/cloud/status.h"
#include "cxx/helpers/status/canonical_errors.h"
#include "re2/re2.h"

@@ -19,8 +19,8 @@

#include "absl/synchronization/mutex.h"
#include "google/cloud/storage/oauth2/credentials.h"
#include "third_party/google_cloud_cpp_common/google/cloud/status.h"
#include "third_party/google_cloud_cpp_common/google/cloud/status_or.h"
#include "google/cloud/status.h"
#include "google/cloud/status_or.h"
#include "cxx/helpers/status/statusor.h"
#include "cxx/internal/storage_client/oauth_token_provider.h"

@@ -17,7 +17,7 @@
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "absl/strings/str_cat.h"
#include "third_party/google_cloud_cpp_common/google/cloud/status.h"
#include "google/cloud/status.h"
#include "cxx/helpers/status/status_matchers.h"

// Tests that we properly handle the result of
@@ -61,7 +61,6 @@ cc_test(
"//proto/clients/analyzers:threshold_analyzer_cc_proto",
"//proto/helpers/rolling_window_reducer:rolling_window_reducer_cc_proto",
"//proto/quickstore:quickstore_cc_proto",
"//spec/cxx:fileio",
"//spec/proto:mako_cc_proto",
"@com_google_absl//absl/container:flat_hash_set",
"@com_google_absl//absl/memory",
@@ -19,7 +19,6 @@
#include "glog/logging.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "spec/cxx/fileio.h"
#include "absl/container/flat_hash_set.h"
#include "absl/memory/memory.h"
#include "cxx/clients/aggregator/standard_aggregator.h"

0 comments on commit 7a029ce

Please sign in to comment.
You can’t perform that action at this time.