blob: 75d5d3527c3d4ef8f84b9c09eaf1bd1068a114aa [file] [log] [blame]
# Copyright 2018 The Chromium 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/package.gni")
source_set("lib") {
sources = [
"component_controller.cc",
"component_controller.h",
"runner.cc",
"runner.h",
]
public_deps = [
"//garnet/public/lib/component/cpp",
"//garnet/public/fidl/fuchsia.sys",
"//garnet/public/fidl/fuchsia.ui.viewsv1",
"//topaz/runtime/web_runner/services",
]
}
executable("bin") {
output_name = "web_runner_prototype"
sources = [
"main.cc",
]
deps = [
":lib",
"//zircon/public/lib/async-loop-cpp",
]
}
executable("web_runner_unittests") {
testonly = true
sources = [
"runner_unittest.cc",
]
deps = [
":lib",
"//garnet/public/lib/component/cpp/testing",
"//third_party/googletest:gtest_main",
]
}
package("web_runner_prototype") {
deps = [
":bin",
]
binary = "web_runner_prototype"
}
package("web_runner_tests") {
testonly = true
deps = [
":web_runner_unittests",
]
tests = [
{
name = "web_runner_unittests"
},
]
}