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

Side by Side Diff: google_apis/determine_use_official_keys.gypi

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 | « gin/gin.gyp ('k') | google_apis/gcm/gcm.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) 2013 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 # Include this .gypi in your target to dynamically set the
6 # use_official_google_api_keys variable (unless it is already
7 # explicitly set) and the associated preprocessor define.
8
9 {
10 'variables': {
11 'variables': {
12 # See documentation of this variable in //build/common.gypi.
13 'use_official_google_api_keys%': 2,
14 },
15
16 # Copy conditionally-set variables out one scope.
17 'use_official_google_api_keys%': '<(use_official_google_api_keys)',
18
19 'conditions': [
20 # If use_official_google_api_keys is already set (to 0 or 1), we
21 # do none of the implicit checking. If it is set to 1 and the
22 # internal keys file is missing, the build will fail at compile
23 # time. If it is set to 0 and keys are not provided by other
24 # means, a warning will be printed at compile time.
25 ['use_official_google_api_keys==2', {
26 'use_official_google_api_keys%':
27 '<!(python <(DEPTH)/google_apis/build/check_internal.py <(DEPTH)/goo gle_apis/internal/google_chrome_api_keys.h)',
28 }],
29 ]
30 },
31
32 'conditions': [
33 ['use_official_google_api_keys==1', {
34 'defines': ['USE_OFFICIAL_GOOGLE_API_KEYS=1'],
35 }],
36 ],
37 }
OLDNEW
« no previous file with comments | « gin/gin.gyp ('k') | google_apis/gcm/gcm.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698