blob: df2b443fbb04622884b9eff33aa9b029692c57fa [file] [log] [blame] [edit]
# Copyright 2023 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("libexecutor_pkg_deps") {
pkg_deps = [ "libbrillo" ]
}
source_set("libexecutor") {
sources = [ "executor.cc" ]
configs += [ ":libexecutor_pkg_deps" ]
}
if (use.test) {
pkg_config("mock_executor_pkg_deps") {
pkg_deps = [
"libchrome",
"libchrome-test",
"libmojo",
]
}
source_set("mock_executor") {
sources = [ "mock_executor.cc" ]
configs += [ ":mock_executor_pkg_deps" ]
deps = [ "//printscanmgr/mojom:mojo_bindings" ]
}
}