blob: 9d02ea03e9bc8d757a39ecfbfb1c658d346722e6 [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")
import("//build/rust/rustc_binary.gni")
rustc_binary("bin") {
name = "network_settings_server"
edition = "2018"
deps = [
"//garnet/public/rust/fuchsia-syslog",
"//third_party/rust_crates:failure",
"//third_party/rust_crates:rouille",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_derive",
"//third_party/rust_crates:serde_json",
]
}
package("network_settings_server") {
deps = [
":bin",
]
binary = "rust_crates/network_settings_server"
resources = [
{
path = rebase_path("resources/index.html")
dest = "index.html"
},
]
meta = [
{
path = rebase_path("meta/network_settings_server.cmx")
dest = "network_settings_server.cmx"
},
]
}