Fix incorrect includes in apple implementations.

PiperOrigin-RevId: 829107159
This commit is contained in:
Francis Tsui
2025-11-06 14:29:01 -08:00
committed by Copybara-Service
parent 600eb80df0
commit 5caa639fcf
4 changed files with 8 additions and 5 deletions
+4 -2
View File
@@ -260,7 +260,9 @@ objc_library(
# Prevent Objective-C++ headers from being pulled into swift.
aspect_hints = ["//tools/build_defs/swift:no_module"],
deps = [
"//internal/platform:logging",
"//third_party/apple_frameworks:os",
"@com_google_absl//absl/log:log_entry",
"@com_google_absl//absl/log:log_sink",
"@com_google_absl//absl/strings",
],
)
@@ -277,7 +279,7 @@ objc_library(
aspect_hints = ["//tools/build_defs/swift:no_module"],
deps = [
":os_log_sink",
"//internal/platform:logging",
"@com_google_absl//absl/log:log_sink_registry",
],
)
@@ -17,8 +17,8 @@
#include <cstdint>
#include <string>
#include "absl/log/log_sink_registry.h"
#include "internal/platform/implementation/apple/os_log_sink.h"
#include "internal/platform/logging.h"
namespace nearby {
namespace apple {
@@ -17,7 +17,8 @@
#include <os/log.h>
#include "internal/platform/logging.h"
#include "absl/log/log_entry.h"
#include "absl/log/log_sink.h"
namespace nearby {
namespace apple {
@@ -16,8 +16,8 @@
#include <os/log.h>
#include "absl/log/log_entry.h"
#include "absl/strings/str_cat.h"
#include "internal/platform/logging.h"
namespace nearby {
namespace apple {