blob: d5b79a263836bc46de1a3cd8fe1f4756a141e402 [file] [log] [blame] [edit]
# Copyright 2020 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//common-mk/pkg_config.gni")
pkg_config("libcommon_pkg_deps") {
pkg_deps = [
"libbrillo",
"libchrome",
]
}
source_set("libcommon") {
configs += [ ":libcommon_pkg_deps" ]
deps = [ "//diagnostics/dpsl:libdpsl" ]
sources = [ "common.cc" ]
}
# Executable for E2E VM tests.
executable("diagnostics_dpsl_test_listener") {
sources = [ "listener.cc" ]
configs += [ ":libcommon_pkg_deps" ]
deps = [
":libcommon",
"//diagnostics/grpc:wilco_dtc_grpc_protos",
]
}
# Executable for E2E VM tests.
executable("diagnostics_dpsl_test_requester") {
sources = [ "requester.cc" ]
configs += [ ":libcommon_pkg_deps" ]
deps = [
":libcommon",
"//diagnostics/grpc:wilco_dtc_grpc_protos",
]
}