blob: 557b8e428732115f162eba6cdd2540455ab11b52 [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/rust/rustc_library.gni")
import("//build/test/test_package.gni")
import("//build/testing/environments.gni")
group("account_manager_integration") {
testonly = true
deps = [
":account_manager_integration_test_pkg",
"//src/identity/bin/dev_auth_provider",
"//src/identity/bin/dev_auth_provider_iotid",
]
}
rustc_library("lib") {
name = "account_manager_integration"
edition = "2018"
testonly = true
with_unit_tests = true
source_root = "tests/lib.rs"
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",
"//sdk/fidl/fuchsia.auth.account:fuchsia.auth.account-rustc",
"//src/identity/lib/account_common",
"//third_party/rust_crates:failure",
"//third_party/rust_crates:futures-preview",
"//third_party/rust_crates:log",
"//third_party/rust_crates:parking_lot",
]
}
test_package("account_manager_integration_test_pkg") {
deps = [
":lib",
]
tests = [
{
name = "account_manager_integration_lib_test"
environments = basic_envs
},
]
}