Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: components/signin/core/browser/BUILD.gn

Issue 2151653003: Convert some GN test support targets to static libs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: crypto Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/sessions/BUILD.gn ('k') | components/storage_monitor/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 if (is_android) { 5 if (is_android) {
6 import("//build/config/android/rules.gni") 6 import("//build/config/android/rules.gni")
7 } 7 }
8 8
9 source_set("browser") { 9 static_library("browser") {
10 sources = [ 10 sources = [
11 "about_signin_internals.cc", 11 "about_signin_internals.cc",
12 "about_signin_internals.h", 12 "about_signin_internals.h",
13 "account_fetcher_service.cc", 13 "account_fetcher_service.cc",
14 "account_fetcher_service.h", 14 "account_fetcher_service.h",
15 "account_info.cc", 15 "account_info.cc",
16 "account_info.h", 16 "account_info.h",
17 "account_info_fetcher.cc", 17 "account_info_fetcher.cc",
18 "account_info_fetcher.h", 18 "account_info_fetcher.h",
19 "account_investigator.cc", 19 "account_investigator.cc",
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 if (is_android) { 107 if (is_android) {
108 sources -= [ 108 sources -= [
109 "child_account_info_fetcher_impl.cc", 109 "child_account_info_fetcher_impl.cc",
110 "child_account_info_fetcher_impl.h", 110 "child_account_info_fetcher_impl.h",
111 ] 111 ]
112 deps += [ "android:jni_headers" ] 112 deps += [ "android:jni_headers" ]
113 } 113 }
114 } 114 }
115 115
116 source_set("test_support") { 116 static_library("test_support") {
117 testonly = true 117 testonly = true
118 sources = [ 118 sources = [
119 "fake_account_fetcher_service.cc", 119 "fake_account_fetcher_service.cc",
120 "fake_account_fetcher_service.h", 120 "fake_account_fetcher_service.h",
121 "fake_auth_status_provider.cc", 121 "fake_auth_status_provider.cc",
122 "fake_auth_status_provider.h", 122 "fake_auth_status_provider.h",
123 "fake_gaia_cookie_manager_service.cc", 123 "fake_gaia_cookie_manager_service.cc",
124 "fake_gaia_cookie_manager_service.h", 124 "fake_gaia_cookie_manager_service.h",
125 "fake_profile_oauth2_token_service.cc", 125 "fake_profile_oauth2_token_service.cc",
126 "fake_profile_oauth2_token_service.h", 126 "fake_profile_oauth2_token_service.h",
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 } 172 }
173 173
174 if (is_android) { 174 if (is_android) {
175 # GYP: //component/signin.gypi:investigated_scenario_java 175 # GYP: //component/signin.gypi:investigated_scenario_java
176 java_cpp_enum("investigated_scenario_java") { 176 java_cpp_enum("investigated_scenario_java") {
177 sources = [ 177 sources = [
178 "signin_investigator.h", 178 "signin_investigator.h",
179 ] 179 ]
180 } 180 }
181 } 181 }
OLDNEW
« no previous file with comments | « components/sessions/BUILD.gn ('k') | components/storage_monitor/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698