blob: 49a4789c010936b58b55c9bd325c67ad7b99f5e5 [file] [log] [blame]
# Copyright 2019 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/config/fuchsia/rules.gni")
import("//build/package.gni")
import("//build/test/test_package.gni")
source_set("lib") {
sources = [
"app.cc",
"app.h",
]
public_deps = [
"//sdk/lib/sys/cpp",
"//src/lib/syslog/cpp",
"//src/connectivity/weave/adaptation",
"//zircon/public/lib/async-loop-cpp",
"//zircon/public/lib/async-loop-default",
"//zircon/public/lib/zx",
]
}
executable("bin") {
output_name = "weavestack"
sources = [ "main.cc" ]
deps = [ ":lib" ]
}
group("weavestack") {
testonly = true
public_deps = [
":pkg",
]
}
package("pkg") {
package_name = "weavestack"
deps = [ ":bin" ]
binaries = [
{
name = "weavestack"
},
]
meta = [
{
path = rebase_path("../meta/weavestack.cmx")
dest = "weavestack.cmx"
},
]
}