blob: 8ad41ad0b97edca5ba183c0e09e4843a4b493083 [file] [log] [blame]
# Copyright 2019 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//common-mk/generate-dbus-proxies.gni")
import("//common-mk/pkg_config.gni")
group("all") {
deps = [
":dbus-proxies",
"//diagnostics/cros_health_tool:cros-health-tool",
"//diagnostics/cros_healthd:cros_healthd",
"//diagnostics/cros_healthd/routines:floating-point-accuracy",
"//diagnostics/cros_healthd/routines:prime-search",
"//diagnostics/cros_healthd/routines:smartctl-check",
"//diagnostics/cros_healthd/routines:urandom",
"//diagnostics/wilco_dtc_supportd:wilco_dtc_supportd",
]
if (use.test) {
deps += [
"//diagnostics/cros_healthd:cros_healthd_test",
"//diagnostics/wilco_dtc_supportd:wilco_dtc_supportd_test",
]
}
if (use.fuzzer) {
deps += [ "//diagnostics/cros_healthd/fetchers:fetch_system_info_fuzzer" ]
}
}
group("dbus-proxies") {
deps = [ ":cras-proxies" ]
}
generate_dbus_proxies("cras-proxies") {
sources =
[ "${sysroot}/usr/share/dbus-1/interfaces/org.chromium.cras.Control.xml" ]
proxy_output_file = "include/cras/dbus-proxies.h"
mock_output_file = "include/cras/dbus-proxy-mocks.h"
}