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

Side by Side Diff: google_apis/google_apis.gyp

Issue 12330155: Isolate check_internal.py to the .gypi files that need it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Working version. Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « google_apis/determine_use_official_keys.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, # Use higher warning level. 7 'chromium_code': 1, # Use higher warning level.
8 }, 8 },
9 'includes': [ 9 'includes': [
10 '../build/win_precompile.gypi', 10 '../build/win_precompile.gypi',
11 ], 11 ],
12 'targets': [ 12 'targets': [
13 { 13 {
14 'target_name': 'google_apis', 14 'target_name': 'google_apis',
15 'type': 'static_library', 15 'type': 'static_library',
16 'includes': [
17 'determine_use_official_keys.gypi',
18 ],
16 'dependencies': [ 19 'dependencies': [
17 '../base/base.gyp:base', 20 '../base/base.gyp:base',
18 '../crypto/crypto.gyp:crypto', 21 '../crypto/crypto.gyp:crypto',
19 '../net/net.gyp:net', 22 '../net/net.gyp:net',
20 ], 23 ],
21 'conditions': [ 24 'conditions': [
22 ['google_api_key!=""', { 25 ['google_api_key!=""', {
23 'defines': ['GOOGLE_API_KEY="<(google_api_key)"'], 26 'defines': ['GOOGLE_API_KEY="<(google_api_key)"'],
24 }], 27 }],
25 # Once the default definitions for the various keys in 28 # Once the default definitions for the various keys in
(...skipping 12 matching lines...) Expand all
38 'GOOGLE_CLIENT_ID_REMOTING="<(google_default_client_id)"', 41 'GOOGLE_CLIENT_ID_REMOTING="<(google_default_client_id)"',
39 ] 42 ]
40 }], 43 }],
41 ['google_default_client_secret!=""', { 44 ['google_default_client_secret!=""', {
42 'defines': [ 45 'defines': [
43 'GOOGLE_CLIENT_SECRET_MAIN="<(google_default_client_secret)"', 46 'GOOGLE_CLIENT_SECRET_MAIN="<(google_default_client_secret)"',
44 'GOOGLE_CLIENT_SECRET_CLOUD_PRINT="<(google_default_client_secret)"' , 47 'GOOGLE_CLIENT_SECRET_CLOUD_PRINT="<(google_default_client_secret)"' ,
45 'GOOGLE_CLIENT_SECRET_REMOTING="<(google_default_client_secret)"', 48 'GOOGLE_CLIENT_SECRET_REMOTING="<(google_default_client_secret)"',
46 ] 49 ]
47 }], 50 }],
48 ['use_official_google_api_keys==1', {
49 'defines': ['USE_OFFICIAL_GOOGLE_API_KEYS=1'],
50 }],
51 ], 51 ],
52 'sources': [ 52 'sources': [
53 'gaia/gaia_auth_consumer.cc', 53 'gaia/gaia_auth_consumer.cc',
54 'gaia/gaia_auth_consumer.h', 54 'gaia/gaia_auth_consumer.h',
55 'gaia/gaia_auth_fetcher.cc', 55 'gaia/gaia_auth_fetcher.cc',
56 'gaia/gaia_auth_fetcher.h', 56 'gaia/gaia_auth_fetcher.h',
57 'gaia/gaia_auth_util.cc', 57 'gaia/gaia_auth_util.cc',
58 'gaia/gaia_auth_util.h', 58 'gaia/gaia_auth_util.h',
59 'gaia/gaia_authenticator.cc', 59 'gaia/gaia_authenticator.cc',
60 'gaia/gaia_authenticator.h', 60 'gaia/gaia_authenticator.h',
(...skipping 17 matching lines...) Expand all
78 'gaia/oauth2_mint_token_flow.cc', 78 'gaia/oauth2_mint_token_flow.cc',
79 'gaia/oauth2_mint_token_flow.h', 79 'gaia/oauth2_mint_token_flow.h',
80 'google_api_keys.cc', 80 'google_api_keys.cc',
81 'google_api_keys.h', 81 'google_api_keys.h',
82 ], 82 ],
83 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 83 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
84 'msvs_disabled_warnings': [4267, ], 84 'msvs_disabled_warnings': [4267, ],
85 }, 85 },
86 ], 86 ],
87 } 87 }
OLDNEW
« no previous file with comments | « google_apis/determine_use_official_keys.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698