Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / components / signin / ios / browser / BUILD.gn
blob3a5ec77275357832693b34218bda5b087b3f52dc
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("browser") {
6   sources = [
7     "account_consistency_service.h",
8     "account_consistency_service.mm",
9     "manage_accounts_delegate.h",
10     "merge_session_observer_bridge.h",
11     "merge_session_observer_bridge.mm",
12     "oauth2_token_service_observer_bridge.h",
13     "oauth2_token_service_observer_bridge.mm",
14     "profile_oauth2_token_service_ios_delegate.h",
15     "profile_oauth2_token_service_ios_delegate.mm",
16     "profile_oauth2_token_service_ios_provider.h",
17   ]
19   deps = [
20     "//ios/web",
21     "//signin/core/browser",
22   ]
25 source_set("test_support") {
26   testonly = true
27   sources = [
28     "fake_profile_oauth2_token_service_ios_delegate.h",
29     "fake_profile_oauth2_token_service_ios_delegate.mm",
30     "fake_profile_oauth2_token_service_ios_provider.h",
31     "fake_profile_oauth2_token_service_ios_provider.mm",
32   ]
34   public_deps = [
35     ":browser",
36     "//base",
37     "//google_apis:test_support",
38   ]
41 source_set("unit_tests") {
42   testonly = true
43   sources = [
44     "account_consistency_service_unittest.mm",
45     "profile_oauth2_token_service_ios_delegate_unittest.mm",
46   ]
48   deps = [
49     ":test_support",
50     "//ios/web",
51     "//third_party/ocmock",
52   ]