blob: cfa5a9154badcaffb069ded4119a878d0dbdb5a4 [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/package.gni")
source_set("lib") {
sources = [
"simple_camera_server_app.cpp",
"simple_camera_server_app.h",
]
public_deps = [
"//garnet/public/lib/component/cpp",
"//sdk/fidl/fuchsia.simplecamera",
"//sdk/lib/fidl/cpp",
"//src/camera/simple_camera/simple_camera_lib",
]
}
executable("bin") {
output_name = "simple_camera_server_cpp"
sources = [
"simple_camera_server.cpp",
]
deps = [
":lib",
"//zircon/public/lib/async-default",
"//zircon/public/lib/async-loop-cpp",
]
}
package("simple_camera_server_cpp") {
deps = [
":bin",
]
meta = [
{
path = rebase_path("meta/simple_camera_server_cpp.cmx")
dest = "simple_camera_server_cpp.cmx"
},
]
binary = "simple_camera_server_cpp"
}