update nearby_connections: proto: analytics: BUILD file.

PiperOrigin-RevId: 394663167
This commit is contained in:
edwinwu
2021-09-03 05:32:43 -07:00
committed by Copybara-Service
parent 43682b0d2b
commit 8d8d435548
2 changed files with 21 additions and 2 deletions
+19
View File
@@ -46,3 +46,22 @@ java_lite_proto_library(
name = "connections_log_java_proto_lite",
deps = [":connections_log_proto"],
)
cc_test(
name = "proto_analytics_test",
size = "small",
srcs = [
"connections_log_test.cc",
],
shard_count = 16,
deps = [
":connections_log_cc_proto",
"//net/proto2/public",
"//testing/base/public:gunit_main",
"//platform/base",
"//platform/impl/g3", # build_cleaner: keep
"//platform/public:logging",
"//proto:connections_enums_portable_proto",
],
)
+2 -2
View File
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "logs/proto/location/nearby/nearby_client_log.proto.h"
#include "google/protobuf/descriptor.h"
#include "gtest/gtest.h"
#include "platform/public/logging.h"
@@ -26,7 +26,7 @@ namespace proto {
namespace {
using G3ConnectionsLog = ::location::nearby::logs::ConnectionsLog;
using G3ConnectionsLog = ::location::nearby::analytics::proto::ConnectionsLog;
using P3ConnectionsLog = ::location::nearby::analytics::proto::ConnectionsLog;
using ::proto2::Descriptor;