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 29492d3 commit e5d2edd
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion internal/platform/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ cc_test(
"@com_google_absl//absl/types:variant",
"@com_google_googletest//:gtest_main",
] + select({
"@platforms//os:windows": [
"//tools/cc_target_os:windows": [
"//internal/platform/implementation/windows",
],
"//conditions:default": [
Expand Down
2 changes: 1 addition & 1 deletion internal/platform/implementation/apple/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ objc_library(
"//internal/platform/implementation/shared:file",
"//third_party/objective_c/google_toolbox_for_mac:GTM_Logger",
] + select({
"@platforms//os:platform_ios": [
"//tools/cc_target_os:platform_ios": [
"//third_party/apple_frameworks:UIKit",
],
"//conditions:default": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ objc_library(
"//third_party/apple_frameworks:QuartzCore",
"//third_party/objective_c/google_toolbox_for_mac:GTM_Logger",
] + select({
"@platforms//os:platform_ios": [
"//tools/cc_target_os:platform_ios": [
"//third_party/apple_frameworks:UIKit",
],
"//conditions:default": [],
Expand Down
1 change: 0 additions & 1 deletion internal/proto/credential.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ syntax = "proto3";

package nearby.internal;

// option cc_api_version = 2;
// option java_api_version = 2;
option java_multiple_files = true;
option java_package = "com.google.nearby.presence";
Expand Down
6 changes: 3 additions & 3 deletions presence/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ cc_test(
"@com_google_absl//absl/types:variant",
"@com_google_googletest//:gtest_main",
] + select({
"@platforms//os:windows": [
"//tools/cc_target_os:windows": [
"//internal/platform/implementation/windows",
],
"//conditions:default": [
Expand All @@ -167,7 +167,7 @@ cc_test(
"@com_github_protobuf_matchers//protobuf-matchers",
"@com_google_googletest//:gtest_main",
] + select({
"@platforms//os:windows": [
"//tools/cc_target_os:windows": [
"//internal/platform/implementation/windows",
],
"//conditions:default": [
Expand Down Expand Up @@ -209,7 +209,7 @@ cc_test(
"@com_google_absl//absl/time",
"@com_google_googletest//:gtest_main",
] + select({
"@platforms//os:windows": [
"//tools/cc_target_os:windows": [
"//internal/platform/implementation/windows",
],
"//conditions:default": [
Expand Down
4 changes: 2 additions & 2 deletions presence/fpp/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ cc_test(
"@com_google_absl//absl/status",
"@com_google_googletest//:gtest_main",
] + select({
"@platforms//os:windows": [
"//tools/cc_target_os:windows": [
"//internal/platform/implementation/windows",
],
"//conditions:default": [
Expand All @@ -80,7 +80,7 @@ cc_test(
"@com_google_absl//absl/status",
"@com_google_googletest//:gtest_main",
] + select({
"@platforms//os:windows": [
"//tools/cc_target_os:windows": [
"//internal/platform/implementation/windows",
],
"//conditions:default": [
Expand Down
24 changes: 12 additions & 12 deletions presence/implementation/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ cc_test(
"@com_google_absl//absl/strings",
"@com_google_googletest//:gtest_main",
] + select({
"@platforms//os:windows": [
"//tools/cc_target_os:windows": [
"//internal/platform/implementation/windows",
],
"//conditions:default": [
Expand All @@ -231,7 +231,7 @@ cc_test(
"@com_google_absl//absl/strings",
"@com_google_googletest//:gtest_main",
] + select({
"@platforms//os:windows": [
"//tools/cc_target_os:windows": [
"//internal/platform/implementation/windows",
],
"//conditions:default": [
Expand All @@ -253,7 +253,7 @@ cc_test(
"@com_google_absl//absl/strings",
"@com_google_googletest//:gtest_main",
] + select({
"@platforms//os:windows": [
"//tools/cc_target_os:windows": [
"//internal/platform/implementation/windows",
],
"//conditions:default": [
Expand All @@ -277,7 +277,7 @@ cc_test(
"@com_google_absl//absl/strings",
"@com_google_googletest//:gtest_main",
] + select({
"@platforms//os:windows": [
"//tools/cc_target_os:windows": [
"//internal/platform/implementation/windows",
],
"//conditions:default": [
Expand All @@ -300,7 +300,7 @@ cc_test(
"@com_github_protobuf_matchers//protobuf-matchers",
"@com_google_googletest//:gtest_main",
] + select({
"@platforms//os:windows": [
"//tools/cc_target_os:windows": [
"//internal/platform/implementation/windows",
],
"//conditions:default": [
Expand All @@ -321,7 +321,7 @@ cc_test(
"@com_google_absl//absl/strings",
"@com_google_googletest//:gtest_main",
] + select({
"@platforms//os:windows": [
"//tools/cc_target_os:windows": [
"//internal/platform/implementation/windows",
],
"//conditions:default": [
Expand All @@ -341,7 +341,7 @@ cc_test(
"@com_google_absl//absl/types:variant",
"@com_google_googletest//:gtest_main",
] + select({
"@platforms//os:windows": [
"//tools/cc_target_os:windows": [
"//internal/platform/implementation/windows",
],
"//conditions:default": [
Expand All @@ -361,7 +361,7 @@ cc_test(
"@com_google_absl//absl/strings",
"@com_google_googletest//:gtest_main",
] + select({
"@platforms//os:windows": [
"//tools/cc_target_os:windows": [
"//internal/platform/implementation/windows",
],
"//conditions:default": [
Expand All @@ -384,7 +384,7 @@ cc_test(
"@com_github_protobuf_matchers//protobuf-matchers",
"@com_google_googletest//:gtest_main",
] + select({
"@platforms//os:windows": [
"//tools/cc_target_os:windows": [
"//internal/platform/implementation/windows",
],
"//conditions:default": [
Expand Down Expand Up @@ -413,7 +413,7 @@ cc_test(
"@com_google_absl//absl/time",
"@com_google_googletest//:gtest_main",
] + select({
"@platforms//os:windows": [
"//tools/cc_target_os:windows": [
"//internal/platform/implementation/windows",
],
"//conditions:default": [
Expand Down Expand Up @@ -444,7 +444,7 @@ cc_test(
"@com_google_absl//absl/types:variant",
"@com_google_googletest//:gtest_main",
] + select({
"@platforms//os:windows": [
"//tools/cc_target_os:windows": [
"//internal/platform/implementation/windows",
],
"//conditions:default": [
Expand Down Expand Up @@ -475,7 +475,7 @@ cc_test(
"@com_google_absl//absl/time",
"@com_google_googletest//:gtest_main",
] + select({
"@platforms//os:windows": [
"//tools/cc_target_os:windows": [
"//internal/platform/implementation/windows",
],
"//conditions:default": [
Expand Down
2 changes: 1 addition & 1 deletion presence/implementation/mediums/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ cc_test(
"@com_github_protobuf_matchers//protobuf-matchers",
"@com_google_googletest//:gtest_main",
] + select({
"@platforms//os:windows": [
"//tools/cc_target_os:windows": [
"//internal/platform/implementation/windows",
],
"//conditions:default": [
Expand Down
2 changes: 1 addition & 1 deletion sharing/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ cc_test(
"@com_google_absl//absl/time",
"@com_google_googletest//:gtest_main",
] + select({
"@platforms//os:windows": [
"//tools/cc_target_os:windows": [
"//internal/platform/implementation/windows",
],
"//conditions:default": [
Expand Down
1 change: 1 addition & 0 deletions sharing/internal/base/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ cc_library(
"utf_string_conversions.h",
],
visibility = ["//visibility:public"],
deps = ["//sharing/internal/base/strings"],
)

cc_library(
Expand Down

0 comments on commit e5d2edd

Please sign in to comment.