blob: b7b5b414b240e07fd4952fe0c5ce17f93f0d78f9 [file]
# 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("//build/bazel/rules/cc:fx_cc_library.bzl", "fx_cc_library")
package(default_applicable_licenses = ["//:license"])
# LINT.IfChange
# TODO(https://fxbug.dev/376105715): Promote to "partner" with devicetree.
fx_cc_library(
name = "cpp",
srcs = ["device-watcher.cc"],
hdrs = ["device-watcher.h"],
implementation_deps = ["//sdk/lib/fdio"],
visibility = ["//:__subpackages__"],
deps = [
"//sdk/fidl/fuchsia.io:fuchsia.io_cpp",
"//sdk/lib/fit",
"//zircon/system/ulib/zx",
],
alwayslink = True,
)
# LINT.ThenChange(BUILD.gn)