| # Copyright 2018 The Chromium 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/toolchain/toolchain.gni") |
| import("//testing/test.gni") |
| |
| test("gcp_unittests") { |
| sources = [ |
| "../gaiacp/associated_user_validator_unittests.cc", |
| "../gaiacp/gaia_credential_base_unittests.cc", |
| "../gaiacp/gaia_credential_other_user_unittests.cc", |
| "../gaiacp/gaia_credential_provider_unittests.cc", |
| "../gaiacp/gaia_credential_unittests.cc", |
| "../gaiacp/gcp_utils_unittests.cc", |
| "../gaiacp/reauth_credential_unittests.cc", |
| "../gaiacp/win_http_url_fetcher_unittests.cc", |
| "com_fakes.cc", |
| "com_fakes.h", |
| "gcp_fakes.cc", |
| "gcp_fakes.h", |
| "gcp_gls_output_unittest.cc", |
| "gcp_setup_unittests.cc", |
| "gcp_test_main.cc", |
| "gls_runner_test_base.cc", |
| "gls_runner_test_base.h", |
| "test_credential.h", |
| "test_credential_provider.h", |
| ] |
| |
| deps = [ |
| "../gaiacp:common", |
| "../gaiacp:gaiacp_lib", |
| "../gaiacp:version", |
| "../setup:common", |
| "//base", |
| "//chrome/test:credential_provider_test_utils", |
| "//net:test_support", |
| "//testing/gmock", |
| "//testing/gtest", |
| ] |
| |
| data_deps = [ |
| "../eventlog:gcp_eventlog_provider", |
| "../gaiacp:gaia1_0", |
| "../setup:gcp_setup", |
| ] |
| |
| data = [ |
| "//net/tools/testserver/", |
| "//third_party/pywebsocket3/src/mod_pywebsocket/", |
| "//third_party/tlslite/", |
| ] |
| } |