blob: f87e956022e5e14b60ca1b357a6d485f94ae63f9 [file] [edit]
# Copyright 2022 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("target_defaults") {
pkg_deps = [
"libbrillo",
"libchrome",
"libmojo",
"protobuf",
"system_api",
]
}
source_set("libdaemon") {
sources = [ "dbus_service.cc" ]
configs += [ ":target_defaults" ]
deps = [
"//rmad/executor/mojom:executor_mojo_bindings",
"//rmad/system:libsystem",
"//rmad/utils:libutils",
]
}
if (use.test) {
source_set("libdaemon_test") {
sources = [ "dbus_service_test.cc" ]
configs += [
"//common-mk:test",
":target_defaults",
]
deps = [ ":libdaemon" ]
}
}