| # Copyright 2017 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("//src/sys/build/components.gni") |
| |
| group("token_manager_integration") { |
| testonly = true |
| deps = [ |
| ":token_manager_integration_test", |
| "//src/identity/bin/dev_auth_provider", |
| ] |
| } |
| |
| executable("bin") { |
| output_name = "token_manager_integration_test" |
| testonly = true |
| |
| sources = [ "dev_token_mgr_test.cc" ] |
| |
| public_deps = [ "//sdk/lib/sys/cpp" ] |
| |
| deps = [ |
| "//garnet/public/lib/gtest", |
| "//sdk/fidl/fuchsia.auth", |
| "//sdk/lib/sys/cpp/testing:integration", |
| "//src/lib/callback", |
| "//src/lib/fsl", |
| "//src/lib/fxl", |
| "//src/lib/fxl/test:gtest_main", |
| "//third_party/rapidjson", |
| ] |
| } |
| |
| fuchsia_unittest_package("token_manager_integration_test") { |
| deps = [ ":bin" ] |
| manifest = "meta/token_manager_integration_test.cmx" |
| } |