blob: 3f4be9217f2db8e3997e06ee70af6b1da184faf2 [file] [log] [blame]
# Copyright 2018 The Fuchsia 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("//build/fidl/fidl.gni")
import("//build/package.gni")
group("mock_runner") {
testonly = true
deps = [
":appmgr_mock_runner",
":fake_component_for_runner",
]
}
executable("bin") {
testonly = true
output_name = "appmgr_mock_runner"
sources = [
"main.cc",
"mock_runner.cc",
"mock_runner.h",
]
deps = [
"//sdk/fidl/fuchsia.sys",
"//sdk/lib/sys/cpp",
"//src/lib/fxl",
"//src/sys/appmgr/integration_tests/fidl:test.component.mockrunner",
"//zircon/public/lib/async-loop-cpp",
"//zircon/public/lib/async-loop-default",
]
}
package("fake_component_for_runner") {
testonly = true
meta = [
{
path = rebase_path("fake_component/meta/fake_component.cmx")
dest = "fake_component_for_runner.cmx"
},
]
}
package("appmgr_mock_runner") {
testonly = true
deps = [
":bin",
":fake_component_for_runner",
]
meta = [
{
path = rebase_path("meta/mock_runner.cmx")
dest = "appmgr_mock_runner.cmx"
},
]
binary = "appmgr_mock_runner"
}