blob: bb4dcc0cfc4e9f0da6eb7090d9360bd4e8007a02 [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"
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") {
deps = [
":bin",
]
binary = "rust_crates/dev_auth_provider"
meta = [
{
path = rebase_path("meta/dev_auth_provider.cmx")
dest = "dev_auth_provider.cmx"
},
]
}