| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 # Enable HiDPI on Mac OS and Chrome OS. | 128 # Enable HiDPI on Mac OS and Chrome OS. |
| 129 ['OS=="mac" or chromeos==1', { | 129 ['OS=="mac" or chromeos==1', { |
| 130 'enable_hidpi%': 1, | 130 'enable_hidpi%': 1, |
| 131 }], | 131 }], |
| 132 | 132 |
| 133 # Enable touch UI on Metro. | 133 # Enable touch UI on Metro. |
| 134 ['OS=="win"', { | 134 ['OS=="win"', { |
| 135 'enable_touch_ui%': 1, | 135 'enable_touch_ui%': 1, |
| 136 }], | 136 }], |
| 137 | 137 |
| 138 # Enable App Launcher only on ChromeOS and Windows for now. | 138 # Enable App Launcher & Message Center only on ChromeOS and Windows |
| 139 # for now. |
| 139 ['use_ash==1 or OS=="win"', { | 140 ['use_ash==1 or OS=="win"', { |
| 140 'enable_app_list%': 1, | 141 'enable_app_list%': 1, |
| 142 'enable_message_center%': 1, |
| 141 }, { | 143 }, { |
| 142 'enable_app_list%': 0, | 144 'enable_app_list%': 0, |
| 145 'enable_message_center%': 0, |
| 143 }], | 146 }], |
| 144 | 147 |
| 145 ['use_aura==1 or (OS!="win" and OS!="mac" and OS!="ios" and OS!="andro
id")', { | 148 ['use_aura==1 or (OS!="win" and OS!="mac" and OS!="ios" and OS!="andro
id")', { |
| 146 'use_default_render_theme%': 1, | 149 'use_default_render_theme%': 1, |
| 147 }, { | 150 }, { |
| 148 'use_default_render_theme%': 0, | 151 'use_default_render_theme%': 0, |
| 149 }], | 152 }], |
| 150 ], | 153 ], |
| 151 }, | 154 }, |
| 152 | 155 |
| 153 # Copy conditionally-set variables out one scope. | 156 # Copy conditionally-set variables out one scope. |
| 154 'chromeos%': '<(chromeos)', | 157 'chromeos%': '<(chromeos)', |
| 155 'host_arch%': '<(host_arch)', | 158 'host_arch%': '<(host_arch)', |
| 156 'target_arch%': '<(target_arch)', | 159 'target_arch%': '<(target_arch)', |
| 157 'toolkit_views%': '<(toolkit_views)', | 160 'toolkit_views%': '<(toolkit_views)', |
| 158 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 161 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
| 159 'use_aura%': '<(use_aura)', | 162 'use_aura%': '<(use_aura)', |
| 160 'use_ash%': '<(use_ash)', | 163 'use_ash%': '<(use_ash)', |
| 161 'use_openssl%': '<(use_openssl)', | 164 'use_openssl%': '<(use_openssl)', |
| 162 'use_ibus%': '<(use_ibus)', | 165 'use_ibus%': '<(use_ibus)', |
| 163 'enable_viewport%': '<(enable_viewport)', | 166 'enable_viewport%': '<(enable_viewport)', |
| 164 'enable_hidpi%': '<(enable_hidpi)', | 167 'enable_hidpi%': '<(enable_hidpi)', |
| 165 'enable_touch_ui%': '<(enable_touch_ui)', | 168 'enable_touch_ui%': '<(enable_touch_ui)', |
| 166 'android_build_type%': '<(android_build_type)', | 169 'android_build_type%': '<(android_build_type)', |
| 167 'enable_app_list%': '<(enable_app_list)', | 170 'enable_app_list%': '<(enable_app_list)', |
| 171 'enable_message_center%': '<(enable_message_center)', |
| 168 'use_default_render_theme%': '<(use_default_render_theme)', | 172 'use_default_render_theme%': '<(use_default_render_theme)', |
| 169 'buildtype%': '<(buildtype)', | 173 'buildtype%': '<(buildtype)', |
| 170 | 174 |
| 171 # We used to provide a variable for changing how libraries were built. | 175 # We used to provide a variable for changing how libraries were built. |
| 172 # This variable remains until we can clean up all the users. | 176 # This variable remains until we can clean up all the users. |
| 173 # This needs to be one nested variables dict in so that dependent | 177 # This needs to be one nested variables dict in so that dependent |
| 174 # gyp files can make use of it in their outer variables. (Yikes!) | 178 # gyp files can make use of it in their outer variables. (Yikes!) |
| 175 # http://code.google.com/p/chromium/issues/detail?id=83308 | 179 # http://code.google.com/p/chromium/issues/detail?id=83308 |
| 176 'library%': 'static_library', | 180 'library%': 'static_library', |
| 177 | 181 |
| (...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 709 'enable_language_detection%': '<(enable_language_detection)', | 713 'enable_language_detection%': '<(enable_language_detection)', |
| 710 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', | 714 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', |
| 711 'disable_ftp_support%': '<(disable_ftp_support)', | 715 'disable_ftp_support%': '<(disable_ftp_support)', |
| 712 'enable_task_manager%': '<(enable_task_manager)', | 716 'enable_task_manager%': '<(enable_task_manager)', |
| 713 'sas_dll_path%': '<(sas_dll_path)', | 717 'sas_dll_path%': '<(sas_dll_path)', |
| 714 'wix_path%': '<(wix_path)', | 718 'wix_path%': '<(wix_path)', |
| 715 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', | 719 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', |
| 716 'use_system_libjpeg%': '<(use_system_libjpeg)', | 720 'use_system_libjpeg%': '<(use_system_libjpeg)', |
| 717 'android_build_type%': '<(android_build_type)', | 721 'android_build_type%': '<(android_build_type)', |
| 718 'enable_app_list%': '<(enable_app_list)', | 722 'enable_app_list%': '<(enable_app_list)', |
| 723 'enable_message_center%': '<(enable_message_center)', |
| 719 'use_default_render_theme%': '<(use_default_render_theme)', | 724 'use_default_render_theme%': '<(use_default_render_theme)', |
| 720 'enable_settings_app%': '<(enable_settings_app)', | 725 'enable_settings_app%': '<(enable_settings_app)', |
| 721 'use_official_google_api_keys%': '<(use_official_google_api_keys)', | 726 'use_official_google_api_keys%': '<(use_official_google_api_keys)', |
| 722 'google_api_key%': '<(google_api_key)', | 727 'google_api_key%': '<(google_api_key)', |
| 723 'google_default_client_id%': '<(google_default_client_id)', | 728 'google_default_client_id%': '<(google_default_client_id)', |
| 724 'google_default_client_secret%': '<(google_default_client_secret)', | 729 'google_default_client_secret%': '<(google_default_client_secret)', |
| 725 | 730 |
| 726 # Use system protobuf instead of bundled one. | 731 # Use system protobuf instead of bundled one. |
| 727 'use_system_protobuf%': 0, | 732 'use_system_protobuf%': 0, |
| 728 | 733 |
| (...skipping 1181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1910 }], | 1915 }], |
| 1911 ['enable_printing==1', { | 1916 ['enable_printing==1', { |
| 1912 'defines': ['ENABLE_PRINTING=1'], | 1917 'defines': ['ENABLE_PRINTING=1'], |
| 1913 }], | 1918 }], |
| 1914 ['enable_captive_portal_detection==1', { | 1919 ['enable_captive_portal_detection==1', { |
| 1915 'defines': ['ENABLE_CAPTIVE_PORTAL_DETECTION=1'], | 1920 'defines': ['ENABLE_CAPTIVE_PORTAL_DETECTION=1'], |
| 1916 }], | 1921 }], |
| 1917 ['enable_app_list==1', { | 1922 ['enable_app_list==1', { |
| 1918 'defines': ['ENABLE_APP_LIST=1'], | 1923 'defines': ['ENABLE_APP_LIST=1'], |
| 1919 }], | 1924 }], |
| 1925 ['enable_message_center==1', { |
| 1926 'defines': ['ENABLE_MESSAGE_CENTER=1'], |
| 1927 }], |
| 1920 ['enable_settings_app==1', { | 1928 ['enable_settings_app==1', { |
| 1921 'defines': ['ENABLE_SETTINGS_APP=1'], | 1929 'defines': ['ENABLE_SETTINGS_APP=1'], |
| 1922 }], | 1930 }], |
| 1923 ['disable_ftp_support==1', { | 1931 ['disable_ftp_support==1', { |
| 1924 'defines': ['DISABLE_FTP_SUPPORT=1'], | 1932 'defines': ['DISABLE_FTP_SUPPORT=1'], |
| 1925 }], | 1933 }], |
| 1926 ], # conditions for 'target_defaults' | 1934 ], # conditions for 'target_defaults' |
| 1927 'target_conditions': [ | 1935 'target_conditions': [ |
| 1928 ['enable_wexit_time_destructors==1', { | 1936 ['enable_wexit_time_destructors==1', { |
| 1929 'conditions': [ | 1937 'conditions': [ |
| (...skipping 2016 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3946 # settings in target dicts. SYMROOT is a special case, because many other | 3954 # settings in target dicts. SYMROOT is a special case, because many other |
| 3947 # Xcode variables depend on it, including variables such as | 3955 # Xcode variables depend on it, including variables such as |
| 3948 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3956 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 3949 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3957 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 3950 # files to appear (when present) in the UI as actual files and not red | 3958 # files to appear (when present) in the UI as actual files and not red |
| 3951 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3959 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 3952 # and therefore SYMROOT, needs to be set at the project level. | 3960 # and therefore SYMROOT, needs to be set at the project level. |
| 3953 'SYMROOT': '<(DEPTH)/xcodebuild', | 3961 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 3954 }, | 3962 }, |
| 3955 } | 3963 } |
| OLD | NEW |