Allow tink to be fetched and compile presence in bazel builds.

PiperOrigin-RevId: 485876571
This commit is contained in:
Anay Wadhera
2022-11-03 08:15:15 -07:00
committed by Copybara-Service
parent b056e6561a
commit fa983e304a
2 changed files with 8 additions and 2 deletions
+6
View File
@@ -59,6 +59,12 @@ http_archive(
urls = ["https://github.com/google/glog/archive/v0.4.0.tar.gz"],
)
http_archive(
name = "com_google_tink",
strip_prefix = "tink-1.7.0/cc",
urls = ["https://github.com/google/tink/archive/v1.7.0.tar.gz"],
)
new_local_repository(
name = "com_google_ukey2",
path = "./third_party/ukey2/ukey2",
+2 -2
View File
@@ -25,8 +25,8 @@
#include <openssl/cipher.h> // NOLINT
#include <openssl/crypto.h>
#include <openssl/evp.h> // NOLINT
#include "third_party/tink/cc/subtle/hkdf.h"
#include "third_party/tink/cc/subtle/random.h"
#include "tink/subtle/hkdf.h"
#include "tink/subtle/random.h"
namespace nearby {
namespace presence {