blob: 1ecae351805a7bb0de9e397b8e076891664594e3 [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("//src/sys/build/components.gni")
source_set("lib") {
sources = [
"limbo_client.cc",
"limbo_client.h",
"options.cc",
"options.h",
]
deps = [
"//sdk/lib/sys/cpp",
"//src/lib/fsl",
"//src/lib/fxl",
]
public_deps = [ "//sdk/fidl/fuchsia.exception" ]
# TODO(fxbug.dev/58162): delete the below and fix compiler warnings
configs += [ "//build/config:Wno-conversion" ]
}
executable("exe") {
output_name = "limbo_client"
sources = [ "main.cc" ]
deps = [
":lib",
"//sdk/lib/sys/cpp",
"//zircon/public/lib/zx",
"//zircon/system/ulib/async-loop:async-loop-cpp",
"//zircon/system/ulib/async-loop:async-loop-default",
]
# TODO(fxbug.dev/58162): delete the below and fix compiler warnings
configs += [ "//build/config:Wno-conversion" ]
}
fuchsia_component("component") {
manifest = "meta/limbo_client.cmx"
component_name = "limbo_client"
deps = [ ":exe" ]
}
fuchsia_package("limbo-client") {
deps = [ ":component" ]
}