diff options
author | Haris Andrianakis <candrian@google.com> | 2018-04-16 12:52:22 -0700 |
---|---|---|
committer | Tink Team <noreply@google.com> | 2018-04-17 22:39:28 -0400 |
commit | 290eb9ada54c4af816c1ec7767f2aecc313c3691 (patch) | |
tree | 833541c1da0542aa515b982e8d837b21561ccde9 /cc/mac/mac_config.cc | |
parent | f932883fb6ddf32990786ee8cf769f8611352771 (diff) | |
download | tink-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.cc')
-rw-r--r-- | cc/mac/mac_config.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cc/mac/mac_config.cc b/cc/mac/mac_config.cc index e8eda7321..bfddf9204 100644 --- a/cc/mac/mac_config.cc +++ b/cc/mac/mac_config.cc @@ -20,7 +20,6 @@ #include "tink/mac/mac_catalogue.h" #include "tink/util/status.h" -namespace util = crypto::tink::util; namespace crypto { namespace tink { |