OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
| 5 import("//build/config/features.gni") |
| 6 |
5 static_library("browser") { | 7 static_library("browser") { |
6 sources = [ | 8 sources = [ |
7 "about_signin_internals.cc", | 9 "about_signin_internals.cc", |
8 "about_signin_internals.h", | 10 "about_signin_internals.h", |
9 "account_fetcher_service.cc", | 11 "account_fetcher_service.cc", |
10 "account_fetcher_service.h", | 12 "account_fetcher_service.h", |
11 "account_info_fetcher.cc", | 13 "account_info_fetcher.cc", |
12 "account_info_fetcher.h", | 14 "account_info_fetcher.h", |
13 "account_reconcilor.cc", | 15 "account_reconcilor.cc", |
14 "account_reconcilor.h", | 16 "account_reconcilor.h", |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 "//third_party/icu", | 71 "//third_party/icu", |
70 "//components/content_settings/core/browser", | 72 "//components/content_settings/core/browser", |
71 "//components/content_settings/core/common", | 73 "//components/content_settings/core/common", |
72 "//components/google/core/browser", | 74 "//components/google/core/browser", |
73 "//components/invalidation/public", | 75 "//components/invalidation/public", |
74 "//components/keyed_service/core", | 76 "//components/keyed_service/core", |
75 "//components/os_crypt", | 77 "//components/os_crypt", |
76 "//components/webdata/common", | 78 "//components/webdata/common", |
77 ] | 79 ] |
78 | 80 |
79 if (is_chromeos) { | 81 if (use_cros_fe) { |
80 sources -= [ "signin_manager.cc" ] | 82 sources -= [ "signin_manager.cc" ] |
81 } | 83 } |
82 | 84 |
83 if (is_android) { | 85 if (is_android) { |
84 sources -= [ | 86 sources -= [ |
85 "child_account_info_fetcher_impl.cc", | 87 "child_account_info_fetcher_impl.cc", |
86 "child_account_info_fetcher_impl.h", | 88 "child_account_info_fetcher_impl.h", |
87 ] | 89 ] |
88 deps += [ "android:jni_headers" ] | 90 deps += [ "android:jni_headers" ] |
89 } | 91 } |
(...skipping 12 matching lines...) Expand all Loading... |
102 "fake_signin_manager.h", | 104 "fake_signin_manager.h", |
103 "test_signin_client.cc", | 105 "test_signin_client.cc", |
104 "test_signin_client.h", | 106 "test_signin_client.h", |
105 ] | 107 ] |
106 | 108 |
107 deps = [ | 109 deps = [ |
108 ":browser", | 110 ":browser", |
109 "//testing/gtest", | 111 "//testing/gtest", |
110 ] | 112 ] |
111 } | 113 } |
OLD | NEW |