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

Side by Side Diff: google_apis/google_apis.gyp

Issue 2332843004: Remove GYP files. (Closed)
Patch Set: Merge Created 4 years, 3 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 | « google_apis/gcm/gcm.gyp ('k') | google_update/google_update.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2012 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.
4
5 {
6 'variables': {
7 'chromium_code': 1, # Use higher warning level.
8 },
9 'includes': [
10 '../build/win_precompile.gypi',
11 ],
12 'targets': [
13 {
14 # GN version: //google_apis
15 'target_name': 'google_apis',
16 'type': 'static_library',
17 'includes': [
18 'determine_use_official_keys.gypi',
19 ],
20 'dependencies': [
21 '../base/base.gyp:base',
22 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
23 '../crypto/crypto.gyp:crypto',
24 '../net/net.gyp:net',
25 '../url/url.gyp:url_lib',
26 ],
27 'conditions': [
28 ['google_api_key!=""', {
29 'defines': ['GOOGLE_API_KEY="<(google_api_key)"'],
30 }],
31 ['google_default_client_id!=""', {
32 'defines': [
33 'GOOGLE_DEFAULT_CLIENT_ID="<(google_default_client_id)"',
34 ]
35 }],
36 ['google_default_client_secret!=""', {
37 'defines': [
38 'GOOGLE_DEFAULT_CLIENT_SECRET="<(google_default_client_secret)"',
39 ]
40 }],
41 ['enable_extensions==1', {
42 'sources': [
43 # Note: sources list duplicated in GN build.
44 'drive/auth_service.cc',
45 'drive/auth_service.h',
46 'drive/auth_service_interface.h',
47 'drive/auth_service_observer.h',
48 'drive/base_requests.cc',
49 'drive/base_requests.h',
50 'drive/drive_api_error_codes.cc',
51 'drive/drive_api_error_codes.h',
52 'drive/drive_api_parser.cc',
53 'drive/drive_api_parser.h',
54 'drive/drive_api_requests.cc',
55 'drive/drive_api_requests.h',
56 'drive/drive_api_url_generator.cc',
57 'drive/drive_api_url_generator.h',
58 'drive/drive_common_callbacks.h',
59 'drive/files_list_request_runner.cc',
60 'drive/files_list_request_runner.h',
61 'drive/request_sender.cc',
62 'drive/request_sender.h',
63 'drive/request_util.cc',
64 'drive/request_util.h',
65 'drive/task_util.cc',
66 'drive/task_util.h',
67 'drive/time_util.cc',
68 'drive/time_util.h',
69 ],
70 }],
71 ],
72 'sources': [
73 # Note: sources list duplicated in GN build.
74 'gaia/account_tracker.cc',
75 'gaia/account_tracker.h',
76 'gaia/gaia_auth_consumer.cc',
77 'gaia/gaia_auth_consumer.h',
78 'gaia/gaia_auth_fetcher.cc',
79 'gaia/gaia_auth_fetcher.h',
80 'gaia/gaia_auth_util.cc',
81 'gaia/gaia_auth_util.h',
82 'gaia/gaia_constants.cc',
83 'gaia/gaia_constants.h',
84 'gaia/gaia_oauth_client.cc',
85 'gaia/gaia_oauth_client.h',
86 'gaia/gaia_switches.cc',
87 'gaia/gaia_switches.h',
88 'gaia/gaia_urls.cc',
89 'gaia/gaia_urls.h',
90 'gaia/google_service_auth_error.cc',
91 'gaia/google_service_auth_error.h',
92 'gaia/identity_provider.cc',
93 'gaia/identity_provider.h',
94 'gaia/oauth2_access_token_consumer.h',
95 'gaia/oauth2_access_token_fetcher.cc',
96 'gaia/oauth2_access_token_fetcher.h',
97 'gaia/oauth2_access_token_fetcher_impl.cc',
98 'gaia/oauth2_access_token_fetcher_impl.h',
99 'gaia/oauth2_access_token_fetcher_immediate_error.cc',
100 'gaia/oauth2_access_token_fetcher_immediate_error.h',
101 'gaia/oauth2_api_call_flow.cc',
102 'gaia/oauth2_api_call_flow.h',
103 'gaia/oauth2_mint_token_flow.cc',
104 'gaia/oauth2_mint_token_flow.h',
105 'gaia/oauth2_token_service.cc',
106 'gaia/oauth2_token_service.h',
107 'gaia/oauth2_token_service_delegate.cc',
108 'gaia/oauth2_token_service_delegate.h',
109 'gaia/oauth2_token_service_request.cc',
110 'gaia/oauth2_token_service_request.h',
111 'gaia/oauth_request_signer.cc',
112 'gaia/oauth_request_signer.h',
113 'gaia/ubertoken_fetcher.cc',
114 'gaia/ubertoken_fetcher.h',
115 'google_api_keys.cc',
116 'google_api_keys.h',
117 ],
118 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
119 'msvs_disabled_warnings': [4267, ],
120 },
121 {
122 'target_name': 'google_apis_unittests',
123 'type': 'executable',
124 'dependencies': [
125 '../base/base.gyp:run_all_unittests',
126 '../testing/gmock.gyp:gmock',
127 '../testing/gtest.gyp:gtest',
128 'google_apis',
129 'google_apis_test_support',
130 ],
131 'includes': [
132 'determine_use_official_keys.gypi',
133 ],
134 'include_dirs': [
135 '..',
136 ],
137 'sources': [
138 'gaia/account_tracker_unittest.cc',
139 'gaia/gaia_auth_fetcher_unittest.cc',
140 'gaia/gaia_auth_util_unittest.cc',
141 'gaia/gaia_oauth_client_unittest.cc',
142 'gaia/google_service_auth_error_unittest.cc',
143 'gaia/oauth2_access_token_fetcher_impl_unittest.cc',
144 'gaia/oauth2_api_call_flow_unittest.cc',
145 'gaia/oauth2_mint_token_flow_unittest.cc',
146 'gaia/oauth2_token_service_request_unittest.cc',
147 'gaia/oauth2_token_service_unittest.cc',
148 'gaia/oauth_request_signer_unittest.cc',
149 'gaia/ubertoken_fetcher_unittest.cc',
150 'google_api_keys_unittest.cc',
151 ],
152 'conditions': [
153 ['enable_extensions==1', {
154 'sources': [
155 'drive/base_requests_server_unittest.cc',
156 'drive/base_requests_unittest.cc',
157 'drive/drive_api_parser_unittest.cc',
158 'drive/drive_api_requests_unittest.cc',
159 'drive/drive_api_url_generator_unittest.cc',
160 'drive/files_list_request_runner_unittest.cc',
161 'drive/request_sender_unittest.cc',
162 'drive/request_util_unittest.cc',
163 'drive/time_util_unittest.cc',
164 ],
165 }],
166 ],
167 },
168 {
169 # GN version: //google_apis:test_support
170 'target_name': 'google_apis_test_support',
171 'type': 'static_library',
172 'dependencies': [
173 '../base/base.gyp:base',
174 '../base/base.gyp:test_support_base',
175 '../net/net.gyp:net',
176 '../net/net.gyp:net_test_support',
177 ],
178 'export_dependent_settings': [
179 '../base/base.gyp:base',
180 '../base/base.gyp:test_support_base',
181 '../net/net.gyp:net',
182 '../net/net.gyp:net_test_support',
183 ],
184 'sources': [
185 'gaia/fake_gaia.cc',
186 'gaia/fake_gaia.h',
187 'gaia/fake_identity_provider.cc',
188 'gaia/fake_identity_provider.h',
189 'gaia/fake_oauth2_token_service_delegate.cc',
190 'gaia/fake_oauth2_token_service_delegate.h',
191 'gaia/fake_oauth2_token_service.cc',
192 'gaia/fake_oauth2_token_service.h',
193 'gaia/mock_url_fetcher_factory.h',
194 'gaia/oauth2_token_service_test_util.cc',
195 'gaia/oauth2_token_service_test_util.h',
196 ],
197 'conditions': [
198 ['enable_extensions==1', {
199 'sources': [
200 'drive/dummy_auth_service.cc',
201 'drive/dummy_auth_service.h',
202 'drive/test_util.cc',
203 'drive/test_util.h',
204 ],
205 }],
206 ],
207 },
208 ],
209 'conditions': [
210 ['test_isolation_mode != "noop"', {
211 'targets': [
212 {
213 'target_name': 'google_apis_unittests_run',
214 'type': 'none',
215 'dependencies': [
216 'google_apis_unittests',
217 ],
218 'includes': [
219 '../build/isolate.gypi',
220 ],
221 'sources': [
222 'google_apis_unittests.isolate',
223 ],
224 },
225 ],
226 }],
227 ],
228 }
OLDNEW
« no previous file with comments | « google_apis/gcm/gcm.gyp ('k') | google_update/google_update.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698