1 # Copyright 2020 The Pigweed Authors
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
7 # https://www.apache.org/licenses/LICENSE-2.0
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
16 "//pw_build:pigweed.bzl",
22 package(default_visibility = ["//visibility:public"])
24 licenses(["notice"]) # Apache License 2.0
26 # TODO(pwbug/101): Need to add support for facades/backends to Bazel.
31 "public/pw_trace/trace.h",
32 "public/pw_trace/internal/trace_internal.h",
34 includes = ["public"],
53 name = "trace_backend_compile_test",
55 "trace_backend_compile_test.cc",
56 "trace_backend_compile_test_c.c",
68 name = "trace_facade_test",
70 "trace_facade_test.cc",
71 "pw_trace_test/fake_backend.h",
72 "pw_trace_test/public_overrides/pw_trace_backend/trace_backend.h",
76 "pw_trace_test/public_overrides"
88 name = "pw_trace_sample_app",
89 srcs = [ "example/sample_app.cc" ],
90 includes = [ "example/public" ],
91 deps = [ "//pw_trace" ],
92 hdrs = [ "example/public/pw_trace/example/sample_app.h" ]
96 name = "trace_example_basic",
98 ":pw_trace_sample_app",
101 srcs = [ "example/basic.cc" ]