| # Copyright 2026 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| load("@rules_cc//cc:cc_library.bzl", "cc_library") |
| |
| package(default_applicable_licenses = ["//:license"]) |
| |
| cc_library( |
| name = "google_analytics_4", |
| srcs = [ |
| "batch.cc", |
| "client.cc", |
| "event.cc", |
| "measurement.cc", |
| ], |
| hdrs = [ |
| "batch.h", |
| "client.h", |
| "event.h", |
| "measurement.h", |
| "testing_client.h", |
| ], |
| visibility = [ |
| ":__subpackages__", |
| "//src/lib/analytics/cpp:__subpackages__", |
| ], |
| deps = [ |
| "//sdk/lib/fit", |
| "//sdk/lib/syslog/cpp", |
| "//src/lib/fxl", |
| "//third_party/rapidjson", |
| ], |
| ) |