Don't preload rarely seen large images
[chromium-blink-merge.git] / components / proximity_auth / cryptauth / BUILD.gn
blob12e48c8ed51d730e763f879b131d6c3b932730d8
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") {
6   sources = [
7     "base64url.cc",
8     "base64url.h",
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",
14     "cryptauth_client.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     "pref_names.cc",
27     "pref_names.h",
28     "secure_message_delegate.cc",
29     "secure_message_delegate.h",
30     "sync_scheduler.cc",
31     "sync_scheduler.h",
32     "sync_scheduler_impl.cc",
33     "sync_scheduler_impl.h",
34   ]
36   deps = [
37     "//base",
38     "//crypto",
39     "//components/proximity_auth/logging",
40     "//google_apis",
41     "//net",
42   ]
44   public_deps = [
45     "proto",
46   ]
49 source_set("test_support") {
50   testonly = true
52   sources = [
53     "fake_secure_message_delegate.cc",
54     "fake_secure_message_delegate.h",
55     "mock_cryptauth_client.cc",
56     "mock_cryptauth_client.h",
57     "mock_sync_scheduler.cc",
58     "mock_sync_scheduler.h",
59   ]
61   deps = [
62     ":cryptauth",
63     "//base",
64     "//testing/gmock",
65   ]
67   public_deps = [
68     "proto",
69   ]
72 source_set("unit_tests") {
73   testonly = true
74   sources = [
75     "base64url_unittest.cc",
76     "cryptauth_access_token_fetcher_impl_unittest.cc",
77     "cryptauth_api_call_flow_unittest.cc",
78     "cryptauth_client_impl_unittest.cc",
79     "cryptauth_device_manager_unittest.cc",
80     "cryptauth_enroller_impl_unittest.cc",
81     "cryptauth_enrollment_manager_unittest.cc",
82     "fake_secure_message_delegate_unittest.cc",
83     "sync_scheduler_impl_unittest.cc",
84   ]
86   deps = [
87     ":cryptauth",
88     ":test_support",
89     "//base:prefs_test_support",
90     "//base/test:test_support",
91     "//google_apis:test_support",
92     "//net:test_support",
93     "//testing/gtest",
94   ]