aboutsummaryrefslogtreecommitdiff
path: root/cc/mac/mac_config_test.cc
diff options
context:
space:
mode:
authorHaris Andrianakis <candrian@google.com>2018-04-16 12:52:22 -0700
committerTink Team <noreply@google.com>2018-04-17 22:39:28 -0400
commit290eb9ada54c4af816c1ec7767f2aecc313c3691 (patch)
tree833541c1da0542aa515b982e8d837b21561ccde9 /cc/mac/mac_config_test.cc
parentf932883fb6ddf32990786ee8cf769f8611352771 (diff)
downloadtink-290eb9ada54c4af816c1ec7767f2aecc313c3691.tar.gz
Use Portable Protocol Buffers (go/portableproto) for Tink C++.
Changes: - Renamed all references of something_cc_proto to something_portable_proto. - Added //cc/util/protobuf_helper which creates a namespace portable_port that maps to the correct namespace. - Replaced all deps to //net/proto2/ with //cc/util:protobuf_helper. - Replaced all instances of the proto2:: namespace with portable_proto:: - Deleted the line 'namespace util = crypto::tink::util' because it was conflicting with //util/task/status.h (a dependency of portable_proto_lib). Also, it wasn't really used in any of the files. Notes: - When adding a new proto you will need to whitelist it in proto/portable_tink_filter.asciipb - For google3 (BUILD) we should use portable_proto_lib, for opensource (BUILD.bazel) we should use cc_proto_lib. PiperOrigin-RevId: 193084414 GitOrigin-RevId: 266a0dbb7f66549655e521350b70b10d4a872286
Diffstat (limited to 'cc/mac/mac_config_test.cc')
-rw-r--r--cc/mac/mac_config_test.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/cc/mac/mac_config_test.cc b/cc/mac/mac_config_test.cc
index 6e0e82fe3..585fcd516 100644
--- a/cc/mac/mac_config_test.cc
+++ b/cc/mac/mac_config_test.cc
@@ -23,7 +23,6 @@
#include "tink/util/status.h"
#include "gtest/gtest.h"
-namespace util = crypto::tink::util;
namespace crypto {
namespace tink {