| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 'enable_message_center%': 1, | 147 'enable_message_center%': 1, |
| 148 }, { | 148 }, { |
| 149 'enable_message_center%': 0, | 149 'enable_message_center%': 0, |
| 150 }], | 150 }], |
| 151 | 151 |
| 152 ['use_aura==1 or (OS!="win" and OS!="mac" and OS!="ios" and OS!="andro
id")', { | 152 ['use_aura==1 or (OS!="win" and OS!="mac" and OS!="ios" and OS!="andro
id")', { |
| 153 'use_default_render_theme%': 1, | 153 'use_default_render_theme%': 1, |
| 154 }, { | 154 }, { |
| 155 'use_default_render_theme%': 0, | 155 'use_default_render_theme%': 0, |
| 156 }], | 156 }], |
| 157 |
| 158 ['OS!="android" and OS!="ios"', { |
| 159 # Enable Web Intents support in WebKit. |
| 160 'enable_web_intents%': '1', |
| 161 }, { |
| 162 'enable_web_intents%': '0', |
| 163 }], |
| 157 ], | 164 ], |
| 158 }, | 165 }, |
| 159 | 166 |
| 160 # Copy conditionally-set variables out one scope. | 167 # Copy conditionally-set variables out one scope. |
| 161 'chromeos%': '<(chromeos)', | 168 'chromeos%': '<(chromeos)', |
| 162 'host_arch%': '<(host_arch)', | 169 'host_arch%': '<(host_arch)', |
| 163 'target_arch%': '<(target_arch)', | 170 'target_arch%': '<(target_arch)', |
| 164 'toolkit_views%': '<(toolkit_views)', | 171 'toolkit_views%': '<(toolkit_views)', |
| 165 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 172 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
| 166 'use_aura%': '<(use_aura)', | 173 'use_aura%': '<(use_aura)', |
| 167 'use_ash%': '<(use_ash)', | 174 'use_ash%': '<(use_ash)', |
| 168 'use_openssl%': '<(use_openssl)', | 175 'use_openssl%': '<(use_openssl)', |
| 169 'enable_viewport%': '<(enable_viewport)', | 176 'enable_viewport%': '<(enable_viewport)', |
| 170 'enable_hidpi%': '<(enable_hidpi)', | 177 'enable_hidpi%': '<(enable_hidpi)', |
| 171 'enable_touch_ui%': '<(enable_touch_ui)', | 178 'enable_touch_ui%': '<(enable_touch_ui)', |
| 172 'android_build_type%': '<(android_build_type)', | 179 'android_build_type%': '<(android_build_type)', |
| 173 'google_tv%': '<(google_tv)', | 180 'google_tv%': '<(google_tv)', |
| 174 'enable_app_list%': '<(enable_app_list)', | 181 'enable_app_list%': '<(enable_app_list)', |
| 175 'enable_message_center%': '<(enable_message_center)', | 182 'enable_message_center%': '<(enable_message_center)', |
| 176 'use_default_render_theme%': '<(use_default_render_theme)', | 183 'use_default_render_theme%': '<(use_default_render_theme)', |
| 184 'enable_web_intents%': '<(enable_web_intents)', |
| 177 'buildtype%': '<(buildtype)', | 185 'buildtype%': '<(buildtype)', |
| 178 | 186 |
| 179 # We used to provide a variable for changing how libraries were built. | 187 # We used to provide a variable for changing how libraries were built. |
| 180 # This variable remains until we can clean up all the users. | 188 # This variable remains until we can clean up all the users. |
| 181 # This needs to be one nested variables dict in so that dependent | 189 # This needs to be one nested variables dict in so that dependent |
| 182 # gyp files can make use of it in their outer variables. (Yikes!) | 190 # gyp files can make use of it in their outer variables. (Yikes!) |
| 183 # http://code.google.com/p/chromium/issues/detail?id=83308 | 191 # http://code.google.com/p/chromium/issues/detail?id=83308 |
| 184 'library%': 'static_library', | 192 'library%': 'static_library', |
| 185 | 193 |
| 186 # Override branding to select the desired branding flavor. | 194 # Override branding to select the desired branding flavor. |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 # See https://sites.google.com/a/google.com/chrome-msk/dev/boot-speed-up-e
ffort | 305 # See https://sites.google.com/a/google.com/chrome-msk/dev/boot-speed-up-e
ffort |
| 298 'order_text_section%' : "", | 306 'order_text_section%' : "", |
| 299 | 307 |
| 300 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared | 308 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared |
| 301 # libraries on linux x86-64 and arm, plus ASLR. | 309 # libraries on linux x86-64 and arm, plus ASLR. |
| 302 'linux_fpic%': 1, | 310 'linux_fpic%': 1, |
| 303 | 311 |
| 304 # Whether one-click signin is enabled or not. | 312 # Whether one-click signin is enabled or not. |
| 305 'enable_one_click_signin%': 0, | 313 'enable_one_click_signin%': 0, |
| 306 | 314 |
| 307 # Enable Web Intents support in WebKit. | |
| 308 'enable_web_intents%': 1, | |
| 309 | |
| 310 # Enable Chrome browser extensions | 315 # Enable Chrome browser extensions |
| 311 'enable_extensions%': 1, | 316 'enable_extensions%': 1, |
| 312 | 317 |
| 313 # Enable browser automation. | 318 # Enable browser automation. |
| 314 'enable_automation%': 1, | 319 'enable_automation%': 1, |
| 315 | 320 |
| 316 # Enable Google Now. | 321 # Enable Google Now. |
| 317 'enable_google_now%': 1, | 322 'enable_google_now%': 1, |
| 318 | 323 |
| 319 # Enable language detection. | 324 # Enable language detection. |
| (...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 707 'notifications%': '<(notifications)', | 712 'notifications%': '<(notifications)', |
| 708 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', | 713 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', |
| 709 'mac_want_real_dsym%': '<(mac_want_real_dsym)', | 714 'mac_want_real_dsym%': '<(mac_want_real_dsym)', |
| 710 'asan%': '<(asan)', | 715 'asan%': '<(asan)', |
| 711 'tsan%': '<(tsan)', | 716 'tsan%': '<(tsan)', |
| 712 'tsan_blacklist%': '<(tsan_blacklist)', | 717 'tsan_blacklist%': '<(tsan_blacklist)', |
| 713 'clang_type_profiler%': '<(clang_type_profiler)', | 718 'clang_type_profiler%': '<(clang_type_profiler)', |
| 714 'order_profiling%': '<(order_profiling)', | 719 'order_profiling%': '<(order_profiling)', |
| 715 'order_text_section%': '<(order_text_section)', | 720 'order_text_section%': '<(order_text_section)', |
| 716 'enable_extensions%': '<(enable_extensions)', | 721 'enable_extensions%': '<(enable_extensions)', |
| 717 'enable_web_intents%': '<(enable_web_intents)', | |
| 718 'enable_web_intents_tag%': '<(enable_web_intents_tag)', | 722 'enable_web_intents_tag%': '<(enable_web_intents_tag)', |
| 719 'enable_plugin_installation%': '<(enable_plugin_installation)', | 723 'enable_plugin_installation%': '<(enable_plugin_installation)', |
| 720 'enable_plugins%': '<(enable_plugins)', | 724 'enable_plugins%': '<(enable_plugins)', |
| 721 'enable_session_service%': '<(enable_session_service)', | 725 'enable_session_service%': '<(enable_session_service)', |
| 722 'enable_themes%': '<(enable_themes)', | 726 'enable_themes%': '<(enable_themes)', |
| 723 'use_oem_wallpaper%': '<(use_oem_wallpaper)', | 727 'use_oem_wallpaper%': '<(use_oem_wallpaper)', |
| 724 'enable_background%': '<(enable_background)', | 728 'enable_background%': '<(enable_background)', |
| 725 'linux_use_gold_binary%': '<(linux_use_gold_binary)', | 729 'linux_use_gold_binary%': '<(linux_use_gold_binary)', |
| 726 'linux_use_gold_flags%': '<(linux_use_gold_flags)', | 730 'linux_use_gold_flags%': '<(linux_use_gold_flags)', |
| 727 'linux_use_libgps%': '<(linux_use_libgps)', | 731 'linux_use_libgps%': '<(linux_use_libgps)', |
| 728 'use_canvas_skia%': '<(use_canvas_skia)', | 732 'use_canvas_skia%': '<(use_canvas_skia)', |
| 729 'test_isolation_mode%': '<(test_isolation_mode)', | 733 'test_isolation_mode%': '<(test_isolation_mode)', |
| 730 'test_isolation_outdir%': '<(test_isolation_outdir)', | 734 'test_isolation_outdir%': '<(test_isolation_outdir)', |
| 731 'enable_automation%': '<(enable_automation)', | 735 'enable_automation%': '<(enable_automation)', |
| 732 'enable_printing%': '<(enable_printing)', | 736 'enable_printing%': '<(enable_printing)', |
| 733 'enable_google_now%': '<(enable_google_now)', | 737 'enable_google_now%': '<(enable_google_now)', |
| 734 'enable_language_detection%': '<(enable_language_detection)', | 738 'enable_language_detection%': '<(enable_language_detection)', |
| 735 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', | 739 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', |
| 736 'disable_ftp_support%': '<(disable_ftp_support)', | 740 'disable_ftp_support%': '<(disable_ftp_support)', |
| 737 'enable_task_manager%': '<(enable_task_manager)', | 741 'enable_task_manager%': '<(enable_task_manager)', |
| 738 'sas_dll_path%': '<(sas_dll_path)', | 742 'sas_dll_path%': '<(sas_dll_path)', |
| 739 'wix_path%': '<(wix_path)', | 743 'wix_path%': '<(wix_path)', |
| 740 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', | 744 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', |
| 741 'use_system_libjpeg%': '<(use_system_libjpeg)', | 745 'use_system_libjpeg%': '<(use_system_libjpeg)', |
| 742 'android_build_type%': '<(android_build_type)', | 746 'android_build_type%': '<(android_build_type)', |
| 743 'google_tv%': '<(google_tv)', | 747 'google_tv%': '<(google_tv)', |
| 744 'enable_app_list%': '<(enable_app_list)', | 748 'enable_app_list%': '<(enable_app_list)', |
| 745 'enable_message_center%': '<(enable_message_center)', | 749 'enable_message_center%': '<(enable_message_center)', |
| 746 'use_default_render_theme%': '<(use_default_render_theme)', | 750 'use_default_render_theme%': '<(use_default_render_theme)', |
| 751 'enable_web_intents%': '<(enable_web_intents)', |
| 747 'enable_settings_app%': '<(enable_settings_app)', | 752 'enable_settings_app%': '<(enable_settings_app)', |
| 748 'use_official_google_api_keys%': '<(use_official_google_api_keys)', | 753 'use_official_google_api_keys%': '<(use_official_google_api_keys)', |
| 749 'google_api_key%': '<(google_api_key)', | 754 'google_api_key%': '<(google_api_key)', |
| 750 'google_default_client_id%': '<(google_default_client_id)', | 755 'google_default_client_id%': '<(google_default_client_id)', |
| 751 'google_default_client_secret%': '<(google_default_client_secret)', | 756 'google_default_client_secret%': '<(google_default_client_secret)', |
| 752 'enable_managed_users%': '<(enable_managed_users)', | 757 'enable_managed_users%': '<(enable_managed_users)', |
| 753 | 758 |
| 754 # Use system mesa instead of bundled one. | 759 # Use system mesa instead of bundled one. |
| 755 'use_system_mesa%': 0, | 760 'use_system_mesa%': 0, |
| 756 | 761 |
| (...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1157 'ant_build_out': '`cd <(PRODUCT_DIR) && pwd -P`', | 1162 'ant_build_out': '`cd <(PRODUCT_DIR) && pwd -P`', |
| 1158 | 1163 |
| 1159 # Always uses openssl. | 1164 # Always uses openssl. |
| 1160 'use_openssl%': 1, | 1165 'use_openssl%': 1, |
| 1161 | 1166 |
| 1162 'proprietary_codecs%': '<(proprietary_codecs)', | 1167 'proprietary_codecs%': '<(proprietary_codecs)', |
| 1163 'enable_task_manager%': 0, | 1168 'enable_task_manager%': 0, |
| 1164 'safe_browsing%': 2, | 1169 'safe_browsing%': 2, |
| 1165 'configuration_policy%': 0, | 1170 'configuration_policy%': 0, |
| 1166 'input_speech%': 0, | 1171 'input_speech%': 0, |
| 1167 'enable_web_intents%': 0, | |
| 1168 'enable_automation%': 0, | 1172 'enable_automation%': 0, |
| 1169 'java_bridge%': 1, | 1173 'java_bridge%': 1, |
| 1170 'build_ffmpegsumo%': 0, | 1174 'build_ffmpegsumo%': 0, |
| 1171 'linux_use_tcmalloc%': 0, | 1175 'linux_use_tcmalloc%': 0, |
| 1172 | 1176 |
| 1173 # Disable Native Client. | 1177 # Disable Native Client. |
| 1174 'disable_nacl%': 1, | 1178 'disable_nacl%': 1, |
| 1175 | 1179 |
| 1176 # Android does not support background apps. | 1180 # Android does not support background apps. |
| 1177 'enable_background%': 0, | 1181 'enable_background%': 0, |
| (...skipping 2844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4022 # settings in target dicts. SYMROOT is a special case, because many other | 4026 # settings in target dicts. SYMROOT is a special case, because many other |
| 4023 # Xcode variables depend on it, including variables such as | 4027 # Xcode variables depend on it, including variables such as |
| 4024 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4028 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 4025 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4029 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 4026 # files to appear (when present) in the UI as actual files and not red | 4030 # files to appear (when present) in the UI as actual files and not red |
| 4027 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4031 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 4028 # and therefore SYMROOT, needs to be set at the project level. | 4032 # and therefore SYMROOT, needs to be set at the project level. |
| 4029 'SYMROOT': '<(DEPTH)/xcodebuild', | 4033 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 4030 }, | 4034 }, |
| 4031 } | 4035 } |
| OLD | NEW |