Roll src/third_party/WebKit f36d5e0:68b67cd (svn 193299:193303)
[chromium-blink-merge.git] / components / proximity_auth / cryptauth / BUILD.gn
blobe496151304029cde0760cfc0c9c30e5fbfe2df4b
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     "cryptauth_access_token_fetcher.h",
8     "cryptauth_account_token_fetcher.cc",
9     "cryptauth_account_token_fetcher.h",
10     "cryptauth_api_call_flow.cc",
11     "cryptauth_api_call_flow.h",
12     "cryptauth_client.cc",
13     "cryptauth_client.h",
14     "cryptauth_client_factory.cc",
15     "cryptauth_client_factory.h",
16     "cryptauth_enrollment_utils.cc",
17     "cryptauth_enrollment_utils.h",
18     "secure_message_delegate.cc",
19     "secure_message_delegate.h",
20   ]
22   deps = [
23     "//base",
24     "//google_apis",
25     "//net",
26   ]
28   public_deps = [
29     "proto",
30   ]
33 source_set("test_support") {
34   sources = [
35     "fake_secure_message_delegate.cc",
36     "fake_secure_message_delegate.h",
37   ]
39   deps = [
40     ":cryptauth",
41     "//base",
42   ]
44   public_deps = [
45     "proto",
46   ]
49 source_set("unit_tests") {
50   testonly = true
51   sources = [
52     "cryptauth_account_token_fetcher_unittest.cc",
53     "cryptauth_api_call_flow_unittest.cc",
54     "cryptauth_client_unittest.cc",
55     "fake_secure_message_delegate_unittest.cc",
56   ]
58   deps = [
59     ":cryptauth",
60     ":test_support",
61     "//base/test:test_support",
62     "//google_apis:test_support",
63     "//net:test_support",
64     "//testing/gtest",
65   ]