OLD | NEW |
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 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
668 'use_openmax_dl_fft%': 1, | 668 'use_openmax_dl_fft%': 1, |
669 }, { | 669 }, { |
670 'use_openmax_dl_fft%': 0, | 670 'use_openmax_dl_fft%': 0, |
671 }], | 671 }], |
672 ], | 672 ], |
673 | 673 |
674 # Set this to 1 to enable use of concatenated impulse responses | 674 # Set this to 1 to enable use of concatenated impulse responses |
675 # for the HRTF panner in WebAudio. | 675 # for the HRTF panner in WebAudio. |
676 'use_concatenated_impulse_responses': 1, | 676 'use_concatenated_impulse_responses': 1, |
677 | 677 |
678 # Set this to 1 to use the Google-internal file containing | 678 # You can set the variable 'use_official_google_api_keys' to 1 |
679 # official API keys for Google Chrome even in a developer build. | 679 # to use the Google-internal file containing official API keys |
680 # Setting this variable explicitly to 1 will cause your build to | 680 # for Google Chrome even in a developer build. Setting this |
681 # fail if the internal file is missing. | 681 # variable explicitly to 1 will cause your build to fail if the |
| 682 # internal file is missing. |
682 # | 683 # |
683 # Set this to 0 to not use the internal file, even when it | 684 # The variable is documented here, but not handled in this file; |
684 # exists in your checkout. | 685 # see //google_apis/determine_use_official_keys.gypi for the |
| 686 # implementation. |
685 # | 687 # |
686 # Leave set to 2 to have this variable implicitly set to 1 if | 688 # Set the variable to 0 to not use the internal file, even when |
687 # you have src/google_apis/internal/google_chrome_api_keys.h in | 689 # it exists in your checkout. |
688 # your checkout, and implicitly set to 0 if not. | |
689 # | 690 # |
690 # Note that official builds always behave as if this variable | 691 # Leave it unset in your include.gypi to have the variable |
| 692 # implicitly set to 1 if you have |
| 693 # src/google_apis/internal/google_chrome_api_keys.h in your |
| 694 # checkout, and implicitly set to 0 if not. |
| 695 # |
| 696 # Note that official builds always behave as if the variable |
691 # was explicitly set to 1, i.e. they always use official keys, | 697 # was explicitly set to 1, i.e. they always use official keys, |
692 # and will fail to build if the internal file is missing. | 698 # and will fail to build if the internal file is missing. |
693 'use_official_google_api_keys%': 2, | 699 # |
| 700 # NOTE: You MUST NOT explicitly set the variable to 2 in your |
| 701 # include.gypi or by other means. Due to subtleties of GYP, this |
| 702 # is not the same as leaving the variable unset, even though its |
| 703 # default value in |
| 704 # //google_apis/determine_use_official_keys.gypi is 2. |
694 | 705 |
695 # Set these to bake the specified API keys and OAuth client | 706 # Set these to bake the specified API keys and OAuth client |
696 # IDs/secrets into your build. | 707 # IDs/secrets into your build. |
697 # | 708 # |
698 # If you create a build without values baked in, you can instead | 709 # If you create a build without values baked in, you can instead |
699 # set environment variables to provide the keys at runtime (see | 710 # set environment variables to provide the keys at runtime (see |
700 # src/google_apis/google_api_keys.h for details). Features that | 711 # src/google_apis/google_api_keys.h for details). Features that |
701 # require server-side APIs may fail to work if no keys are | 712 # require server-side APIs may fail to work if no keys are |
702 # provided. | 713 # provided. |
703 # | 714 # |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
790 'sas_dll_path%': '<(sas_dll_path)', | 801 'sas_dll_path%': '<(sas_dll_path)', |
791 'wix_path%': '<(wix_path)', | 802 'wix_path%': '<(wix_path)', |
792 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', | 803 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', |
793 'use_system_libjpeg%': '<(use_system_libjpeg)', | 804 'use_system_libjpeg%': '<(use_system_libjpeg)', |
794 'android_webview_build%': '<(android_webview_build)', | 805 'android_webview_build%': '<(android_webview_build)', |
795 'gyp_managed_install%': 0, | 806 'gyp_managed_install%': 0, |
796 'google_tv%': '<(google_tv)', | 807 'google_tv%': '<(google_tv)', |
797 'enable_app_list%': '<(enable_app_list)', | 808 'enable_app_list%': '<(enable_app_list)', |
798 'use_default_render_theme%': '<(use_default_render_theme)', | 809 'use_default_render_theme%': '<(use_default_render_theme)', |
799 'enable_settings_app%': '<(enable_settings_app)', | 810 'enable_settings_app%': '<(enable_settings_app)', |
800 'use_official_google_api_keys%': '<(use_official_google_api_keys)', | |
801 'google_api_key%': '<(google_api_key)', | 811 'google_api_key%': '<(google_api_key)', |
802 'google_default_client_id%': '<(google_default_client_id)', | 812 'google_default_client_id%': '<(google_default_client_id)', |
803 'google_default_client_secret%': '<(google_default_client_secret)', | 813 'google_default_client_secret%': '<(google_default_client_secret)', |
804 'enable_managed_users%': '<(enable_managed_users)', | 814 'enable_managed_users%': '<(enable_managed_users)', |
805 'spdy_proxy_auth_origin%': '<(spdy_proxy_auth_origin)', | 815 'spdy_proxy_auth_origin%': '<(spdy_proxy_auth_origin)', |
806 'spdy_proxy_auth_property%': '<(spdy_proxy_auth_property)', | 816 'spdy_proxy_auth_property%': '<(spdy_proxy_auth_property)', |
807 | 817 |
808 # Use system mesa instead of bundled one. | 818 # Use system mesa instead of bundled one. |
809 'use_system_mesa%': 0, | 819 'use_system_mesa%': 0, |
810 | 820 |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1087 'directx_sdk_path%': '<(directx_sdk_default_path)', | 1097 'directx_sdk_path%': '<(directx_sdk_default_path)', |
1088 }, { | 1098 }, { |
1089 'directx_sdk_path%': '$(DXSDK_DIR)', | 1099 'directx_sdk_path%': '$(DXSDK_DIR)', |
1090 }], | 1100 }], |
1091 ['OS=="win"', { | 1101 ['OS=="win"', { |
1092 'windows_driver_kit_path%': '$(WDK_DIR)', | 1102 'windows_driver_kit_path%': '$(WDK_DIR)', |
1093 # Set the python arch to prevent conflicts with pyauto on Win64 build. | 1103 # Set the python arch to prevent conflicts with pyauto on Win64 build. |
1094 # TODO(jschuh): crbug.com/177664 Investigate Win64 pyauto build. | 1104 # TODO(jschuh): crbug.com/177664 Investigate Win64 pyauto build. |
1095 'python_arch%': 'ia32', | 1105 'python_arch%': 'ia32', |
1096 }], | 1106 }], |
1097 # If use_official_google_api_keys is already set (to 0 or 1), we | |
1098 # do none of the implicit checking. If it is set to 1 and the | |
1099 # internal keys file is missing, the build will fail at compile | |
1100 # time. If it is set to 0 and keys are not provided by other | |
1101 # means, a warning will be printed at compile time. | |
1102 ['use_official_google_api_keys==2', { | |
1103 'use_official_google_api_keys%': | |
1104 '<!(python <(DEPTH)/google_apis/build/check_internal.py <(DEPTH)/goo
gle_apis/internal/google_chrome_api_keys.h)', | |
1105 }], | |
1106 ['os_posix==1 and OS!="mac" and OS!="ios"', { | 1107 ['os_posix==1 and OS!="mac" and OS!="ios"', { |
1107 # Figure out the python architecture to decide if we build pyauto. | 1108 # Figure out the python architecture to decide if we build pyauto. |
1108 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/<
(system_libdir)/libpython<(python_ver).so.1.0)', | 1109 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/<
(system_libdir)/libpython<(python_ver).so.1.0)', |
1109 'conditions': [ | 1110 'conditions': [ |
1110 ['target_arch=="mipsel"', { | 1111 ['target_arch=="mipsel"', { |
1111 'werror%': '', | 1112 'werror%': '', |
1112 'disable_nacl%': 1, | 1113 'disable_nacl%': 1, |
1113 'nacl_untrusted_build%': 0, | 1114 'nacl_untrusted_build%': 0, |
1114 'linux_use_tcmalloc%': 0, | 1115 'linux_use_tcmalloc%': 0, |
1115 'linux_breakpad%': 0, | 1116 'linux_breakpad%': 0, |
(...skipping 3345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4461 # settings in target dicts. SYMROOT is a special case, because many other | 4462 # settings in target dicts. SYMROOT is a special case, because many other |
4462 # Xcode variables depend on it, including variables such as | 4463 # Xcode variables depend on it, including variables such as |
4463 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4464 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4464 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4465 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4465 # files to appear (when present) in the UI as actual files and not red | 4466 # files to appear (when present) in the UI as actual files and not red |
4466 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4467 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4467 # and therefore SYMROOT, needs to be set at the project level. | 4468 # and therefore SYMROOT, needs to be set at the project level. |
4468 'SYMROOT': '<(DEPTH)/xcodebuild', | 4469 'SYMROOT': '<(DEPTH)/xcodebuild', |
4469 }, | 4470 }, |
4470 } | 4471 } |
OLD | NEW |