blob: 7a7e262705cd8b178aa4e458ad9f10e4796579d9 [file] [log] [blame]
Wyatt Hepler0fbcdfc2020-01-02 07:53:39 -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
15pw_add_module_library(pw_unit_test
16 SOURCES
17 framework.cc
18 PUBLIC_DEPS
Wyatt Heplera55d4c72020-01-16 10:26:04 -080019 pw_polyfill
Wyatt Hepler0fbcdfc2020-01-02 07:53:39 -080020 pw_preprocessor
21 pw_string
22)
23
24# pw_unit_test overrides the gtest/gtest.h header.
25target_include_directories(pw_unit_test PUBLIC public_overrides)
26
27pw_add_module_library(pw_unit_test.main
28 SOURCES
Keir Mierleda0bccb2020-01-17 13:51:35 -080029 simple_printing_main.cc
Wyatt Hepler0fbcdfc2020-01-02 07:53:39 -080030 simple_printing_event_handler.cc
31 PUBLIC_DEPS
32 pw_unit_test
33 PRIVATE_DEPS
34 pw_preprocessor
35 pw_dumb_io
36 pw_string
37)