blob: ad7ac0719bd13ece11481608b46ebf7b373f0de9 [file] [log] [blame]
Keir Mierleaf5e3582019-12-30 13:11:05 -08001# Copyright 2020 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
Wyatt Hepler49810582020-01-24 11:26:35 -080015load(
16 "//pw_build:pigweed.bzl",
17 "pw_cc_library",
18)
19
Keir Mierleaf5e3582019-12-30 13:11:05 -080020package(default_visibility = ["//visibility:public"])
21
22licenses(["notice"]) # Apache License 2.0
23
Wyatt Hepler49810582020-01-24 11:26:35 -080024pw_cc_library(
Keir Mierleaf5e3582019-12-30 13:11:05 -080025 name = "pw_log_basic",
26 srcs = [
Wyatt Hepler49810582020-01-24 11:26:35 -080027 "log_basic.cc",
28 ],
29 hdrs = [
Keir Mierleaf5e3582019-12-30 13:11:05 -080030 "public/pw_log_basic/log_basic.h",
31 "public_overrides/pw_log_backend/log_backend.h",
Wyatt Hepler49810582020-01-24 11:26:35 -080032 ],
33 includes = [
34 "public",
35 "public_overrides",
36 ],
37 deps = [
Wyatt Hepler49810582020-01-24 11:26:35 -080038 "//pw_log:facade",
39 "//pw_string",
Armando Montanezf7a5a742020-03-02 14:58:59 -080040 "//pw_sys_io",
Keir Mierleaf5e3582019-12-30 13:11:05 -080041 ],
42)