mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
fix include paths
PiperOrigin-RevId: 525315412
This commit is contained in:
committed by
Copybara-Service
parent
f300012bcd
commit
f1a1a7510b
@@ -22,7 +22,7 @@
|
||||
#include <vector>
|
||||
|
||||
#ifdef NEARBY_CHROMIUM
|
||||
#include "base/check.h"
|
||||
#include "internal/platform/logging.h"
|
||||
#elif defined(NEARBY_SWIFTPM)
|
||||
#include "internal/platform/logging.h"
|
||||
#else
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <vector>
|
||||
|
||||
#ifdef NEARBY_CHROMIUM
|
||||
#include "base/check.h"
|
||||
#include "internal/platform/logging.h"
|
||||
#elif defined(NEARBY_SWIFTPM)
|
||||
#include "internal/platform/logging.h"
|
||||
#else
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <vector>
|
||||
|
||||
#ifdef NEARBY_CHROMIUM
|
||||
#include "base/check.h"
|
||||
#include "internal/platform/logging.h"
|
||||
#elif defined(NEARBY_SWIFTPM)
|
||||
#include "internal/platform/logging.h"
|
||||
#else
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include <string>
|
||||
|
||||
#ifdef NEARBY_CHROMIUM
|
||||
#include "base/check.h"
|
||||
#include "internal/platform/logging.h"
|
||||
#elif defined(NEARBY_SWIFTPM)
|
||||
#include "internal/platform/logging.h"
|
||||
#else
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include <string>
|
||||
|
||||
#ifdef NEARBY_CHROMIUM
|
||||
#include "base/check.h"
|
||||
#include "internal/platform/logging.h"
|
||||
#elif defined(NEARBY_SWIFTPM)
|
||||
#include "internal/platform/logging.h"
|
||||
#else
|
||||
|
||||
@@ -19,7 +19,9 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#ifdef NEARBY_SWIFTPM
|
||||
#ifdef NEARBY_CHROMIUM
|
||||
#include "internal/platform/logging.h"
|
||||
#elif defined(NEARBY_SWIFTPM)
|
||||
#include "internal/platform/logging.h"
|
||||
#else
|
||||
#include "absl/log/log.h" // nogncheck
|
||||
@@ -30,24 +32,6 @@
|
||||
|
||||
namespace crypto {
|
||||
|
||||
namespace {
|
||||
|
||||
// Callback routine for OpenSSL to print error messages. |str| is a
|
||||
// NULL-terminated string of length |len| containing diagnostic information
|
||||
// such as the library, function and reason for the error, the file and line
|
||||
// where the error originated, plus potentially any context-specific
|
||||
// information about the error. |context| contains a pointer to user-supplied
|
||||
// data, which is currently unused.
|
||||
// If this callback returns a value <= 0, OpenSSL will stop processing the
|
||||
// error queue and return, otherwise it will continue calling this function
|
||||
// until all errors have been removed from the queue.
|
||||
int OpenSSLErrorCallback(const char* str, size_t len, void* context) {
|
||||
LOG(INFO) << "\t" << absl::string_view(str, len);
|
||||
return 1;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
void EnsureOpenSSLInit() {
|
||||
// CRYPTO_library_init may be safely called concurrently.
|
||||
CRYPTO_library_init();
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include <memory>
|
||||
|
||||
#ifdef NEARBY_CHROMIUM
|
||||
#include "base/check.h"
|
||||
#include "internal/platform/logging.h"
|
||||
#elif defined(NEARBY_SWIFTPM)
|
||||
#include "internal/platform/logging.h"
|
||||
#else
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <utility>
|
||||
|
||||
#ifdef NEARBY_CHROMIUM
|
||||
#include "base/check.h"
|
||||
#include "internal/platform/logging.h"
|
||||
#elif defined(NEARBY_SWIFTPM)
|
||||
#include "internal/platform/logging.h"
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user