OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 | 207 |
208 # Enable Web Intents and supporting UI. | 208 # Enable Web Intents and supporting UI. |
209 'enable_web_intents%': 0, | 209 'enable_web_intents%': 0, |
210 | 210 |
211 # Smooth scrolling is disabled by default. | 211 # Smooth scrolling is disabled by default. |
212 'enable_smooth_scrolling%': 0, | 212 'enable_smooth_scrolling%': 0, |
213 | 213 |
214 # Webrtc compilation is enabled by default. Set to 0 to disable. | 214 # Webrtc compilation is enabled by default. Set to 0 to disable. |
215 'enable_webrtc%': 1, | 215 'enable_webrtc%': 1, |
216 | 216 |
| 217 # XInput2 multitouch support is disabled by default (use_xi2_mt=0). |
| 218 # Setting to non-zero value enables XI2 MT. When XI2 MT is enabled, |
| 219 # the input value also defines the required XI2 minor minimum version. |
| 220 # For example, use_xi2_mt=2 means XI2.2 or above version is required. |
| 221 'use_xi2_mt%': 0, |
| 222 |
217 'conditions': [ | 223 'conditions': [ |
218 # Use Skia as WebKit renderer on Mac | 224 # Use Skia as WebKit renderer on Mac |
219 ['OS=="mac"', { | 225 ['OS=="mac"', { |
220 'use_skia%': 0, | 226 'use_skia%': 0, |
221 }, { | 227 }, { |
222 'use_skia%': 1, | 228 'use_skia%': 1, |
223 }], | 229 }], |
224 | 230 |
225 # A flag for POSIX platforms | 231 # A flag for POSIX platforms |
226 ['OS=="win"', { | 232 ['OS=="win"', { |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 'use_aura%': '<(use_aura)', | 304 'use_aura%': '<(use_aura)', |
299 'os_posix%': '<(os_posix)', | 305 'os_posix%': '<(os_posix)', |
300 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 306 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
301 'use_skia%': '<(use_skia)', | 307 'use_skia%': '<(use_skia)', |
302 'use_x11%': '<(use_x11)', | 308 'use_x11%': '<(use_x11)', |
303 'use_gnome_keyring%': '<(use_gnome_keyring)', | 309 'use_gnome_keyring%': '<(use_gnome_keyring)', |
304 'linux_fpic%': '<(linux_fpic)', | 310 'linux_fpic%': '<(linux_fpic)', |
305 'enable_flapper_hacks%': '<(enable_flapper_hacks)', | 311 'enable_flapper_hacks%': '<(enable_flapper_hacks)', |
306 'chromeos%': '<(chromeos)', | 312 'chromeos%': '<(chromeos)', |
307 'touchui%': '<(touchui)', | 313 'touchui%': '<(touchui)', |
| 314 'use_xi2_mt%':'<(use_xi2_mt)', |
308 'webui_dialogs%': '<(webui_dialogs)', | 315 'webui_dialogs%': '<(webui_dialogs)', |
309 'file_manager_extension%': '<(file_manager_extension)', | 316 'file_manager_extension%': '<(file_manager_extension)', |
310 'webui_task_manager%': '<(webui_task_manager)', | 317 'webui_task_manager%': '<(webui_task_manager)', |
311 'inside_chromium_build%': '<(inside_chromium_build)', | 318 'inside_chromium_build%': '<(inside_chromium_build)', |
312 'fastbuild%': '<(fastbuild)', | 319 'fastbuild%': '<(fastbuild)', |
313 'python_ver%': '<(python_ver)', | 320 'python_ver%': '<(python_ver)', |
314 'armv7%': '<(armv7)', | 321 'armv7%': '<(armv7)', |
315 'arm_neon%': '<(arm_neon)', | 322 'arm_neon%': '<(arm_neon)', |
316 'sysroot%': '<(sysroot)', | 323 'sysroot%': '<(sysroot)', |
317 'disable_sse2%': '<(disable_sse2)', | 324 'disable_sse2%': '<(disable_sse2)', |
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
793 }], | 800 }], |
794 ['use_aura==1', { | 801 ['use_aura==1', { |
795 'defines': ['USE_AURA=1'], | 802 'defines': ['USE_AURA=1'], |
796 }], | 803 }], |
797 ['chromeos==1', { | 804 ['chromeos==1', { |
798 'defines': ['OS_CHROMEOS=1'], | 805 'defines': ['OS_CHROMEOS=1'], |
799 }], | 806 }], |
800 ['touchui==1', { | 807 ['touchui==1', { |
801 'defines': ['TOUCH_UI=1'], | 808 'defines': ['TOUCH_UI=1'], |
802 }], | 809 }], |
| 810 ['use_xi2_mt!=0', { |
| 811 'defines': ['USE_XI2_MT=<(use_xi2_mt)'], |
| 812 }], |
803 ['use_wayland==1', { | 813 ['use_wayland==1', { |
804 'defines': ['USE_WAYLAND=1', 'WL_EGL_PLATFORM=1'], | 814 'defines': ['USE_WAYLAND=1', 'WL_EGL_PLATFORM=1'], |
805 }], | 815 }], |
806 ['file_manager_extension==1', { | 816 ['file_manager_extension==1', { |
807 'defines': ['FILE_MANAGER_EXTENSION=1'], | 817 'defines': ['FILE_MANAGER_EXTENSION=1'], |
808 }], | 818 }], |
809 ['webui_task_manager==1', { | 819 ['webui_task_manager==1', { |
810 'defines': ['WEBUI_TASK_MANAGER=1'], | 820 'defines': ['WEBUI_TASK_MANAGER=1'], |
811 }], | 821 }], |
812 ['profiling==1', { | 822 ['profiling==1', { |
(...skipping 1229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2042 # settings in target dicts. SYMROOT is a special case, because many other | 2052 # settings in target dicts. SYMROOT is a special case, because many other |
2043 # Xcode variables depend on it, including variables such as | 2053 # Xcode variables depend on it, including variables such as |
2044 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2054 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2045 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2055 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2046 # files to appear (when present) in the UI as actual files and not red | 2056 # files to appear (when present) in the UI as actual files and not red |
2047 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2057 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2048 # and therefore SYMROOT, needs to be set at the project level. | 2058 # and therefore SYMROOT, needs to be set at the project level. |
2049 'SYMROOT': '<(DEPTH)/xcodebuild', | 2059 'SYMROOT': '<(DEPTH)/xcodebuild', |
2050 }, | 2060 }, |
2051 } | 2061 } |
OLD | NEW |