Move third_party/nearby/cpp/analytics to third_party/nearby/internal/analytics.

PiperOrigin-RevId: 420135432
This commit is contained in:
suetfei
2022-01-06 13:47:33 -08:00
committed by Copybara-Service
parent cdcd37c616
commit acc6f2de9a
15 changed files with 20 additions and 20 deletions
+2 -2
View File
@@ -59,9 +59,9 @@ cc_library(
compatible_with = ["//buildenv/target:non_prod"],
copts = ["-DCORE_ADAPTER_DLL"],
visibility = [
"//third_party/nearby/cpp/analytics:__subpackages__",
"//core:__subpackages__",
"//platform/impl/ios:__subpackages__",
"//analytics:__subpackages__",
],
deps = [
"//absl/strings",
@@ -80,7 +80,7 @@ cc_library(
],
compatible_with = ["//buildenv/target:non_prod"],
visibility = [
"//third_party/nearby/cpp/analytics:__subpackages__",
"//analytics:__subpackages__",
],
deps = [
"//proto/analytics:connections_log_cc_proto",
+2 -2
View File
@@ -100,7 +100,6 @@ cc_library(
"//absl/strings",
"//absl/time",
"//absl/types:span",
"//third_party/nearby/cpp/analytics",
"//core:core_types",
"//core/internal/mediums",
"//core/internal/mediums:utils",
@@ -113,6 +112,7 @@ cc_library(
"//platform/public:comm",
"//platform/public:logging",
"//platform/public:types",
"//analytics",
"//proto:connections_enums_portable_proto",
"//proto/connections:offline_wire_formats_portable_proto",
"//securegcm:ukey2",
@@ -197,7 +197,6 @@ cc_test(
"//absl/synchronization",
"//absl/time",
"//absl/types:span",
"//third_party/nearby/cpp/analytics",
"//core:core_types",
"//core/internal/mediums",
"//core/internal/mediums:utils",
@@ -207,6 +206,7 @@ cc_test(
"//platform/public:comm",
"//platform/public:logging",
"//platform/public:types",
"//analytics",
"//proto:connections_enums_portable_proto",
"//proto/connections:offline_wire_formats_portable_proto",
"//securegcm:ukey2",
+2 -2
View File
@@ -101,7 +101,6 @@ cc_library(
"//third_party/absl/strings",
"//third_party/absl/time",
"//third_party/absl/types:span",
"//third_party/nearby/cpp/analytics",
"//third_party/nearby/cpp/core:core_types",
"//third_party/nearby/cpp/core/internal/mediums",
"//third_party/nearby/cpp/core/internal/mediums:utils",
@@ -113,6 +112,7 @@ cc_library(
"//third_party/nearby/cpp/platform/public:comm",
"//third_party/nearby/cpp/platform/public:logging",
"//third_party/nearby/cpp/platform/public:types",
"//third_party/nearby/internal/analytics",
"//third_party/nearby/proto:connections_enums_portable_proto",
"//third_party/nearby/proto/connections:offline_wire_formats_portable_proto",
"//third_party/ukey2",
@@ -199,7 +199,6 @@ cc_test(
"//third_party/absl/synchronization",
"//third_party/absl/time",
"//third_party/absl/types:span",
"//third_party/nearby/cpp/analytics",
"//third_party/nearby/cpp/core:core_types",
"//third_party/nearby/cpp/core/internal/mediums",
"//third_party/nearby/cpp/core/internal/mediums:utils",
@@ -209,6 +208,7 @@ cc_test(
"//third_party/nearby/cpp/platform/public:comm",
"//third_party/nearby/cpp/platform/public:logging",
"//third_party/nearby/cpp/platform/public:types",
"//third_party/nearby/internal/analytics",
"//third_party/nearby/proto:connections_enums_portable_proto",
"//third_party/nearby/proto/connections:offline_wire_formats_portable_proto",
"//third_party/ukey2",
+1 -1
View File
@@ -21,7 +21,6 @@
#include "securegcm/d2d_connection_context_v1.h"
#include "absl/base/thread_annotations.h"
#include "third_party/nearby/cpp/analytics/analytics_recorder.h"
#include "core/internal/endpoint_channel.h"
#include "platform/base/byte_array.h"
#include "platform/base/input_stream.h"
@@ -30,6 +29,7 @@
#include "platform/public/condition_variable.h"
#include "platform/public/mutex.h"
#include "platform/public/system_clock.h"
#include "analytics/analytics_recorder.h"
namespace location {
namespace nearby {
+1 -1
View File
@@ -20,7 +20,6 @@
#include <string>
#include <vector>
#include "third_party/nearby/cpp/analytics/analytics_recorder.h"
#include "core/listeners.h"
#include "core/options.h"
#include "core/status.h"
@@ -31,6 +30,7 @@
#include "platform/base/prng.h"
#include "platform/public/cancelable_alarm.h"
#include "platform/public/mutex.h"
#include "analytics/analytics_recorder.h"
// Prefer using absl:: versions of a set and a map; they tend to be more
// efficient: implementation is using open-addressing hash tables.
#include "absl/container/flat_hash_map.h"
+1 -1
View File
@@ -20,10 +20,10 @@
#include "securegcm/d2d_connection_context_v1.h"
#include "absl/time/clock.h"
#include "third_party/nearby/cpp/analytics/analytics_recorder.h"
#include "platform/base/byte_array.h"
#include "platform/base/exception.h"
#include "platform/public/mutex.h"
#include "analytics/analytics_recorder.h"
#include "proto/connections_enums.pb.h"
namespace location {
+2 -2
View File
@@ -44,11 +44,11 @@ cc_library(
compatible_with = ["//buildenv/target:non_prod"],
copts = ["-DCORE_ADAPTER_DLL"],
visibility = [
"//third_party/nearby/cpp/analytics:__subpackages__",
"//third_party/nearby/cpp/cal:__subpackages__",
"//core:__subpackages__",
"//platform:__subpackages__",
"//platform/api:__subpackages__",
"//analytics:__subpackages__",
"//proto/analytics:__subpackages__",
],
deps = [
@@ -140,9 +140,9 @@ cc_library(
],
compatible_with = ["//buildenv/target:non_prod"],
visibility = [
"//third_party/nearby/cpp/analytics:__subpackages__",
"//core/internal:__subpackages__",
"//platform/impl:__subpackages__",
"//analytics:__subpackages__",
],
deps = [
":logging",
+1 -1
View File
@@ -109,9 +109,9 @@ cc_library(
"platform.cc",
],
visibility = [
"//third_party/nearby/cpp/analytics:__subpackages__",
"//core:__subpackages__",
"//platform:__subpackages__",
"//analytics:__subpackages__",
"//proto/analytics:__subpackages__",
],
deps = [
+3 -3
View File
@@ -52,12 +52,12 @@ cc_library(
],
compatible_with = ["//buildenv/target:non_prod"],
visibility = [
"//third_party/nearby/cpp/analytics:__subpackages__",
"//core:__subpackages__",
"//platform/base:__pkg__",
"//platform/impl/ios:__subpackages__",
"//platform/impl/windows:__subpackages__",
"//platform/public:__pkg__",
"//analytics:__subpackages__",
],
deps = [
":logging",
@@ -90,9 +90,9 @@ cc_library(
copts = ["-DCORE_ADAPTER_DLL"],
visibility = [
"//googlemac/iPhone/Shared/Nearby/Connections:__subpackages__",
"//third_party/nearby/cpp/analytics:__subpackages__",
"//core:__subpackages__",
"//platform/public:__pkg__",
"//analytics:__subpackages__",
],
deps = [
":logging",
@@ -116,9 +116,9 @@ cc_library(
compatible_with = ["//buildenv/target:non_prod"],
copts = ["-DCORE_ADAPTER_DLL"],
visibility = [
"//third_party/nearby/cpp/analytics:__subpackages__",
"//core:__subpackages__",
"//platform:__subpackages__",
"//analytics:__subpackages__",
"//proto/analytics:__subpackages__",
],
deps = [
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "third_party/nearby/cpp/analytics/analytics_recorder.h"
#include "analytics/analytics_recorder.h"
#include <string>
#include <utility>
@@ -19,13 +19,13 @@
#include "absl/container/btree_map.h"
#include "absl/time/time.h"
#include "third_party/nearby/cpp/analytics/connection_attempt_metadata_params.h"
#include "core/event_logger.h"
#include "core/payload.h"
#include "core/strategy.h"
#include "platform/base/error_code_params.h"
#include "platform/public/mutex.h"
#include "platform/public/single_thread_executor.h"
#include "analytics/connection_attempt_metadata_params.h"
#include "proto/analytics/connections_log.pb.h"
#include "proto/connections_enums.pb.h"
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "third_party/nearby/cpp/analytics/analytics_recorder.h"
#include "analytics/analytics_recorder.h"
#include <string>
#include <utility>
@@ -20,11 +20,11 @@
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "absl/time/time.h"
#include "third_party/nearby/cpp/analytics/connection_attempt_metadata_params.h"
#include "platform/base/error_code_params.h"
#include "platform/base/error_code_recorder.h"
#include "platform/public/count_down_latch.h"
#include "platform/public/logging.h"
#include "analytics/connection_attempt_metadata_params.h"
#include "proto/analytics/connections_log.pb.h"
#include "proto/connections_enums.pb.h"
+1 -1
View File
@@ -36,8 +36,8 @@ cc_proto_library(
name = "connections_log_cc_proto",
compatible_with = ["//buildenv/target:non_prod"],
visibility = [
"//third_party/nearby/cpp/analytics:__subpackages__",
"//core:__subpackages__",
"//analytics:__subpackages__",
],
deps = [":connections_log_proto"],
)