added sepereate cc_library for system clock

This commit is contained in:
Lasan Mahaliyana
2026-03-26 20:49:27 +05:30
parent 7c3eae2db2
commit 29e1aa0555
+17 -1
View File
@@ -163,6 +163,22 @@ cc_library(
],
)
cc_library(
name = "system_clock",
srcs = [
"system_clock.cc",
],
alwayslink = True,
visibility = [
"//sharing/linux:__pkg__",
],
deps = [
"//internal/platform:base",
"//internal/platform/implementation:types",
"@com_google_absl//absl/time",
],
)
cc_library(
name = "linux",
srcs = [
@@ -200,7 +216,6 @@ cc_library(
"scheduled_executor.cc",
"stream.cc",
"submittable_executor.cc",
"system_clock.cc",
"thread_pool.cc",
"utils.cc",
# "wifi_direct.cc",
@@ -225,6 +240,7 @@ cc_library(
deps = [
":comm",
":crypto", # build_cleaner: keep
":system_clock",
":types",
"//internal/flags:nearby_flags",
"//internal/platform:base",