xref: /aosp_15_r20/external/pigweed/pw_assert_fuchsia/BUILD.bazel (revision 61c4878ac05f98d0ceed94b57d316916de578985)
1# Copyright 2024 The Pigweed Authors
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may not
4# use this file except in compliance with the License. You may obtain a copy of
5# the License at
6#
7#     https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations under
13# the License.
14
15package(default_visibility = ["//visibility:public"])
16
17licenses(["notice"])
18
19cc_library(
20    name = "pw_assert_fuchsia",
21    srcs = [
22        "assert.cc",
23    ],
24    hdrs = [
25        "assert_public_overrides/pw_assert_backend/assert_backend.h",
26        "check_public_overrides/pw_assert_backend/check_backend.h",
27        "public/pw_assert_fuchsia/assert_backend.h",
28        "public/pw_assert_fuchsia/check_backend.h",
29    ],
30    includes = [
31        "assert_public_overrides",
32        "check_public_overrides",
33        "public",
34    ],
35    target_compatible_with = ["@platforms//os:fuchsia"],
36    deps = [
37        "//pw_assert:facade",
38    ],
39)
40
41# Bazel does not yet support building docs.
42filegroup(
43    name = "docs",
44    srcs = ["docs.rst"],
45)
46