third_party.pigweed.src/targets/host/host_common.gni
Alexei Frolov b7e952b79f Disable host_tools by default in host build
This change disables building host tools by default as they are packaged
in CIPD.

Change-Id: Ie5129805affa748dbcbc93ade7c208f733a61c88
2020-03-18 00:32:07 +00:00

32 lines
1.0 KiB
Plaintext

# Copyright 2019 The Pigweed Authors
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.
import("$dir_pigweed/pw_vars_default.gni")
declare_args() {
pw_build_host_tools = false
}
# Use logging-based test output on host.
pw_unit_test_main = "$dir_pw_unit_test:logging_main"
# Configure backend for assert facade.
dir_pw_assert_backend = "$dir_pw_assert_basic"
# Configure backend for logging facade.
dir_pw_log_backend = "$dir_pw_log_basic"
# Configure backend for pw_sys_io facade.
dir_pw_sys_io_backend = "$dir_pw_sys_io_stdio"