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

Side by Side Diff: build/common.gypi

Issue 10918196: include.gypi variables to specify API keys or use internal header for keys. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | google_apis/google_api_keys.cc » ('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 (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 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 # has no full v8 debug, has size optimization and linker gc section, so that 884 # has no full v8 debug, has size optimization and linker gc section, so that
885 # we can build a debug version with acceptable size and performance. 885 # we can build a debug version with acceptable size and performance.
886 'android_full_debug%': 0, 886 'android_full_debug%': 0,
887 887
888 'sas_dll_exists': '<!(python <(DEPTH)/build/dir_exists.py <(sas_dll_path))', 888 'sas_dll_exists': '<!(python <(DEPTH)/build/dir_exists.py <(sas_dll_path))',
889 'wix_exists': '<!(python <(DEPTH)/build/dir_exists.py <(wix_path))', 889 'wix_exists': '<!(python <(DEPTH)/build/dir_exists.py <(wix_path))',
890 890
891 'windows_sdk_default_path': '<(DEPTH)/third_party/platformsdk_win8/files', 891 'windows_sdk_default_path': '<(DEPTH)/third_party/platformsdk_win8/files',
892 'directx_sdk_default_path': '<(DEPTH)/third_party/directxsdk/files', 892 'directx_sdk_default_path': '<(DEPTH)/third_party/directxsdk/files',
893 893
894 # Set these to bake API keys and OAuth client IDs/secrets into
895 # your build. If they are not baked in, you can instead set
896 # environment variables to provide the keys at runtime (see
897 # src/google_apis/google_api_keys.h for details). Features that
898 # require server-side APIs may fail to work if no keys are
899 # provided.
900 #
901 # Note that if you are building an official build or if you set
902 # use_official_google_api_keys to 1, these values will be ignored
903 # and the official keys will be used instead.
904 'google_api_key%': '',
905 'google_default_client_id%': '',
906 'google_default_client_secret%': '',
907
908 # Set this to 1 to use the Google-internal file containing
909 # official API keys for Google Chrome even in a developer build.
910 'use_official_google_api_keys%': 0,
911
894 'conditions': [ 912 'conditions': [
895 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(windows_sdk_defa ult_path))"=="True"', { 913 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(windows_sdk_defa ult_path))"=="True"', {
896 'windows_sdk_path%': '<(windows_sdk_default_path)', 914 'windows_sdk_path%': '<(windows_sdk_default_path)',
897 }, { 915 }, {
898 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', 916 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0',
899 }], 917 }],
900 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(directx_sdk_defa ult_path))"=="True"', { 918 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(directx_sdk_defa ult_path))"=="True"', {
901 'directx_sdk_path%': '<(directx_sdk_default_path)', 919 'directx_sdk_path%': '<(directx_sdk_default_path)',
902 }, { 920 }, {
903 'directx_sdk_path%': '$(DXSDK_DIR)', 921 'directx_sdk_path%': '$(DXSDK_DIR)',
(...skipping 2527 matching lines...) Expand 10 before | Expand all | Expand 10 after
3431 # settings in target dicts. SYMROOT is a special case, because many other 3449 # settings in target dicts. SYMROOT is a special case, because many other
3432 # Xcode variables depend on it, including variables such as 3450 # Xcode variables depend on it, including variables such as
3433 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3451 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3434 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3452 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3435 # files to appear (when present) in the UI as actual files and not red 3453 # files to appear (when present) in the UI as actual files and not red
3436 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3454 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3437 # and therefore SYMROOT, needs to be set at the project level. 3455 # and therefore SYMROOT, needs to be set at the project level.
3438 'SYMROOT': '<(DEPTH)/xcodebuild', 3456 'SYMROOT': '<(DEPTH)/xcodebuild',
3439 }, 3457 },
3440 } 3458 }
OLDNEW
« no previous file with comments | « no previous file | google_apis/google_api_keys.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698