Armando Montanez | 68de071 | 2019-11-14 18:29:39 -0800 | [diff] [blame] | 1 | # Copyright 2019 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 | |
| 15 | import("$dir_pigweed/pw_vars_default.gni") |
| 16 | |
Alexei Frolov | 4905eae | 2020-01-09 16:05:42 -0800 | [diff] [blame] | 17 | declare_args() { |
| 18 | pw_build_host_tools = true |
| 19 | } |
Keir Mierle | af5e358 | 2019-12-30 13:11:05 -0800 | [diff] [blame] | 20 | |
Keir Mierle | da0bccb | 2020-01-17 13:51:35 -0800 | [diff] [blame] | 21 | # Use logging-based test output on host. |
| 22 | pw_unit_test_main = "$dir_pw_unit_test:logging_main" |
| 23 | |
Keir Mierle | 3cee879 | 2020-01-22 17:08:13 -0800 | [diff] [blame^] | 24 | # Configure backend for assert facade. |
| 25 | dir_pw_assert_backend = "$dir_pw_assert_basic" |
| 26 | |
Keir Mierle | af5e358 | 2019-12-30 13:11:05 -0800 | [diff] [blame] | 27 | # Configure backend for pw_dumb_io facade. |
| 28 | dir_pw_dumb_io_backend = "$dir_pw_dumb_io_stdio" |
| 29 | |
| 30 | # Configure backend for logging facade. |
| 31 | dir_pw_log_backend = "$dir_pw_log_basic" |