| # 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/idk:idk_cc_source_library.bzl", "idk_cc_source_library") | |
| package(default_applicable_licenses = ["//:license"]) | |
| idk_cc_source_library( | |
| name = "cpp", | |
| srcs = ["pdev.cc"], | |
| hdrs = ["pdev.h"], | |
| api_area = "Driver SDK", | |
| category = "partner", | |
| idk_name = "driver_platform_device_cpp", | |
| include_base = "//sdk", | |
| public_configs = ["//sdk/config"], | |
| stable = False, | |
| visibility = ["//:__subpackages__"], | |
| deps = [ | |
| "//sdk/fidl/fuchsia.hardware.platform.device:fuchsia.hardware.platform.device_cpp", | |
| "//sdk/lib/driver/incoming/cpp", | |
| "//sdk/lib/driver/mmio/cpp", | |
| "//sdk/lib/driver/power/cpp", | |
| "//zircon/system/ulib/zx", | |
| ], | |
| ) |