Skip to content

Commit

Permalink
Imporve path replacement.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 708472227
  • Loading branch information
ftsui authored and copybara-github committed Dec 21, 2024
1 parent 9a77294 commit 133faaa
Show file tree
Hide file tree
Showing 206 changed files with 2,559 additions and 2,693 deletions.
56 changes: 28 additions & 28 deletions connections/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,21 @@ cc_library(
visibility = [
":partners",
"//chrome/chromeos/assistant/data_migration/lib:__pkg__",
"//connections:__subpackages__",
"//location/nearby/testing:__subpackages__",
"//sharing:__subpackages__",
"//third_party/nearby/connections:__subpackages__",
"//third_party/nearby/sharing:__subpackages__",
],
deps = [
":core_types",
"//connections/implementation:internal",
"//connections/v3:v3_types",
"//internal/analytics:event_logger",
"//internal/interop:device",
"//internal/platform:base",
"//internal/platform:types",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/time",
"@com_google_absl//absl/types:span",
"//third_party/absl/strings",
"//third_party/absl/time",
"//third_party/absl/types:span",
"//third_party/nearby/connections/implementation:internal",
"//third_party/nearby/connections/v3:v3_types",
"//third_party/nearby/internal/analytics:event_logger",
"//third_party/nearby/internal/interop:device",
"//third_party/nearby/internal/platform:base",
"//third_party/nearby/internal/platform:types",
],
)

Expand Down Expand Up @@ -80,19 +80,19 @@ cc_library(
visibility = [
":partners",
"//chrome/chromeos/assistant/data_migration/lib:__pkg__",
"//connections:__subpackages__",
"//location/nearby/testing:__subpackages__",
"//sharing:__subpackages__",
"//third_party/nearby/connections:__subpackages__",
"//third_party/nearby/sharing:__subpackages__",
],
deps = [
"//internal/interop:authentication_status",
"//internal/platform:base",
"//internal/platform:types",
"//internal/platform:util",
"//proto:connections_enums_cc_proto",
"@com_google_absl//absl/functional:any_invocable",
"@com_google_absl//absl/random",
"@com_google_absl//absl/types:variant",
"//third_party/absl/functional:any_invocable",
"//third_party/absl/random",
"//third_party/absl/types:variant",
"//third_party/nearby/internal/interop:authentication_status",
"//third_party/nearby/internal/platform:base",
"//third_party/nearby/internal/platform:types",
"//third_party/nearby/internal/platform:util",
"//third_party/nearby/proto:connections_enums_cc_proto",
],
)

Expand All @@ -110,14 +110,14 @@ cc_test(
deps = [
":core",
":core_types",
"//connections/implementation:internal_test",
"//connections/v3:v3_types",
"//internal/platform:base",
"//internal/platform:types",
"//internal/platform/implementation/g3", # build_cleaner: keep
"//third_party/absl/strings",
"//third_party/absl/time",
"//third_party/nearby/connections/implementation:internal_test",
"//third_party/nearby/connections/v3:v3_types",
"//third_party/nearby/internal/platform:base",
"//third_party/nearby/internal/platform:types",
"//third_party/nearby/internal/platform/implementation/g3", # build_cleaner: keep
"@com_github_protobuf_matchers//protobuf-matchers",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/time",
"@com_google_googletest//:gtest_main",
],
)
30 changes: 15 additions & 15 deletions connections/c/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
load("//third_party/cpptoolchains/windows_llvm/build_defs:windows.bzl", "windows")

package(default_visibility = [
"//connections:__subpackages__",
"//location/nearby:__subpackages__",
"//third_party/nearby/connections:__subpackages__",
])

licenses(["notice"])
Expand All @@ -38,18 +38,18 @@ cc_library(
copts = ["-DNC_DLL"],
deps = [
":nc_types",
"//connections:core",
"//connections:core_types",
"//connections/implementation/flags:connections_flags",
"//internal/flags:nearby_flags",
"//internal/platform:base",
"//internal/platform:types",
"//proto:connections_enums_cc_proto",
"@com_google_absl//absl/base:no_destructor",
"@com_google_absl//absl/container:flat_hash_map",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/strings:str_format",
"@com_google_absl//absl/types:span",
"//third_party/absl/base:no_destructor",
"//third_party/absl/container:flat_hash_map",
"//third_party/absl/strings",
"//third_party/absl/strings:str_format",
"//third_party/absl/types:span",
"//third_party/nearby/connections:core",
"//third_party/nearby/connections:core_types",
"//third_party/nearby/connections/implementation/flags:connections_flags",
"//third_party/nearby/internal/flags:nearby_flags",
"//third_party/nearby/internal/platform:base",
"//third_party/nearby/internal/platform:types",
"//third_party/nearby/proto:connections_enums_cc_proto",
],
)

Expand All @@ -60,7 +60,7 @@ windows.cc_windows_dll(
tags = ["windows-dll"],
deps = [
":nc",
"//internal/platform/implementation/windows",
"@com_google_absl//absl/strings",
"//third_party/absl/strings",
"//third_party/nearby/internal/platform/implementation/windows",
],
)
1 change: 0 additions & 1 deletion connections/core_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <vector>

#include "gmock/gmock.h"
#include "protobuf-matchers/protocol-buffer-matchers.h"
#include "gtest/gtest.h"
#include "absl/strings/string_view.h"
#include "connections/advertising_options.h"
Expand Down
46 changes: 23 additions & 23 deletions connections/dart/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ windows.cc_windows_dll(
copts = ["-DNC_DART_DLL"],
tags = ["windows-dll"],
deps = [
"//connections/c:nc_types",
"//connections/c:nc_windows",
"//internal/platform:types",
"//internal/platform/implementation/windows",
"//third_party/absl/base:core_headers",
"//third_party/absl/base:no_destructor",
"//third_party/absl/container:flat_hash_map",
"//third_party/absl/strings",
"//third_party/absl/strings:string_view",
"//third_party/absl/synchronization",
"//third_party/dart_lang/v2:dart_api_dl",
"@com_google_absl//absl/base:core_headers",
"@com_google_absl//absl/base:no_destructor",
"@com_google_absl//absl/container:flat_hash_map",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/strings:string_view",
"@com_google_absl//absl/synchronization",
"//third_party/nearby/connections/c:nc_types",
"//third_party/nearby/connections/c:nc_windows",
"//third_party/nearby/internal/platform:types",
"//third_party/nearby/internal/platform/implementation/windows",
],
)

Expand All @@ -61,20 +61,20 @@ objc_library(
"nearby_connections_client_state.h",
],
deps = [
"//connections/c:nc",
"//connections/c:nc_types",
"//connections/implementation/flags:connections_flags",
"//internal/flags:nearby_flags",
"//internal/platform:base",
"//internal/platform:types",
"//internal/platform/implementation/apple", # buildcleaner: keep
"//third_party/absl/base:core_headers",
"//third_party/absl/base:no_destructor",
"//third_party/absl/container:flat_hash_map",
"//third_party/absl/strings",
"//third_party/absl/strings:string_view",
"//third_party/absl/synchronization",
"//third_party/dart_lang/v2:dart_api_dl",
"@com_google_absl//absl/base:core_headers",
"@com_google_absl//absl/base:no_destructor",
"@com_google_absl//absl/container:flat_hash_map",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/strings:string_view",
"@com_google_absl//absl/synchronization",
"//third_party/nearby/connections/c:nc",
"//third_party/nearby/connections/c:nc_types",
"//third_party/nearby/connections/implementation/flags:connections_flags",
"//third_party/nearby/internal/flags:nearby_flags",
"//third_party/nearby/internal/platform:base",
"//third_party/nearby/internal/platform:types",
"//third_party/nearby/internal/platform/implementation/apple", # buildcleaner: keep
],
alwayslink = 1,
)
Loading

0 comments on commit 133faaa

Please sign in to comment.