1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 source_set("cryptauth") {
9 "cryptauth_access_token_fetcher.h",
10 "cryptauth_access_token_fetcher_impl.cc",
11 "cryptauth_access_token_fetcher_impl.h",
12 "cryptauth_api_call_flow.cc",
13 "cryptauth_api_call_flow.h",
15 "cryptauth_client_impl.cc",
16 "cryptauth_client_impl.h",
17 "cryptauth_device_manager.cc",
18 "cryptauth_device_manager.h",
19 "cryptauth_enroller.h",
20 "cryptauth_enroller_impl.cc",
21 "cryptauth_enroller_impl.h",
22 "cryptauth_enrollment_manager.cc",
23 "cryptauth_enrollment_manager.h",
24 "cryptauth_enrollment_utils.cc",
25 "cryptauth_enrollment_utils.h",
26 "cryptauth_gcm_manager.cc",
27 "cryptauth_gcm_manager.h",
28 "cryptauth_gcm_manager_impl.cc",
29 "cryptauth_gcm_manager_impl.h",
32 "secure_message_delegate.cc",
33 "secure_message_delegate.h",
36 "sync_scheduler_impl.cc",
37 "sync_scheduler_impl.h",
43 "//components/gcm_driver",
44 "//components/proximity_auth/logging",
54 source_set("test_support") {
58 "fake_cryptauth_gcm_manager.cc",
59 "fake_cryptauth_gcm_manager.h",
60 "fake_secure_message_delegate.cc",
61 "fake_secure_message_delegate.h",
62 "mock_cryptauth_client.cc",
63 "mock_cryptauth_client.h",
64 "mock_sync_scheduler.cc",
65 "mock_sync_scheduler.h",
79 source_set("unit_tests") {
82 "base64url_unittest.cc",
83 "cryptauth_access_token_fetcher_impl_unittest.cc",
84 "cryptauth_api_call_flow_unittest.cc",
85 "cryptauth_client_impl_unittest.cc",
86 "cryptauth_device_manager_unittest.cc",
87 "cryptauth_enroller_impl_unittest.cc",
88 "cryptauth_enrollment_manager_unittest.cc",
89 "cryptauth_gcm_manager_impl_unittest.cc",
90 "fake_secure_message_delegate_unittest.cc",
91 "sync_scheduler_impl_unittest.cc",
97 "//base:prefs_test_support",
98 "//base/test:test_support",
99 "//components/gcm_driver:test_support",
100 "//google_apis:test_support",
101 "//net:test_support",