blob: 2e241f052c776d8ccaa006652bc04f0db25161a2 [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 = "dev_auth_provider_iotid"
with_unit_tests = true
edition = "2018"
deps = [
"//garnet/public/lib/fidl/rust/fidl",
"//garnet/public/rust/fuchsia-async",
"//garnet/public/rust/fuchsia-component",
"//garnet/public/rust/fuchsia-syslog",
"//garnet/public/rust/fuchsia-zircon",
"//sdk/fidl/fuchsia.auth:fuchsia.auth-rustc",
"//third_party/rust_crates:failure",
"//third_party/rust_crates:futures-preview",
"//third_party/rust_crates:log",
"//third_party/rust_crates:rand",
]
}
package("dev_auth_provider_iotid") {
deps = [
":bin",
]
binary = "rust_crates/dev_auth_provider_iotid"
meta = [
{
path = rebase_path("meta/dev_auth_provider_iotid.cmx")
dest = "dev_auth_provider_iotid.cmx"
},
]
}