# Copyright 2018 The Chromium Authors
# 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 = [
"../extension/app_inventory_manager_unittests.cc",
"../extension/service_unittests.cc",
"../extension/task_manager_unittests.cc",
"../gaiacp/associated_user_validator_unittests.cc",
"../gaiacp/device_policies_manager_unittests.cc",
"../gaiacp/experiments_manager_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/gem_device_details_manager_unittests.cc",
"../gaiacp/os_gaia_user_manager_unittests.cc",
"../gaiacp/reauth_credential_unittests.cc",
"../gaiacp/user_policies_manager_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 = [
"../extension:app_inventory",
"../extension:common",
"../extension:extension_lib",
"../gaiacp:common",
"../gaiacp:gaia_credential_provider_idl",
"../gaiacp:gaiacp_lib",
"../gaiacp:mdm_utils",
"../gaiacp:policies",
"../gaiacp:string_resources",
"../gaiacp:util",
"../gaiacp:version",
"../setup:common",
"//base",
"//chrome/common:non_code_constants",
"//chrome/common:version_header",
"//chrome/test:credential_provider_test_utils",
"//content/public/browser",
"//google_apis",
"//net:test_support",
"//testing/gmock",
"//testing/gtest",
]
data_deps = [
"../eventlog:gcp_eventlog_provider",
"../extension:gcpw_extension",
"../gaiacp:gaia1_0",
"../setup:gcp_setup",
]
data = [
"//net/tools/testserver/",
"//third_party/pywebsocket3/src/mod_pywebsocket/",
]
}