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 19 matching lines...) Expand all Loading... |
30 # that GTK and PureViews can coexist. This intermediate solution | 30 # that GTK and PureViews can coexist. This intermediate solution |
31 # allow us to switch the view implementations using | 31 # allow us to switch the view implementations using |
32 # --use-pure-views, without breaking exiting gtk implementation. | 32 # --use-pure-views, without breaking exiting gtk implementation. |
33 'toolkit_uses_pure_views%': 0, | 33 'toolkit_uses_pure_views%': 0, |
34 | 34 |
35 # Disable touch support by default. | 35 # Disable touch support by default. |
36 'touchui%': 0, | 36 'touchui%': 0, |
37 | 37 |
38 # Disable webui dialog replacements for native dialogs by default. | 38 # Disable webui dialog replacements for native dialogs by default. |
39 # TODO(flackr): Change this to a runtime flag triggered by | 39 # TODO(flackr): Change this to a runtime flag triggered by |
40 # --pure-views so that these dialogs can be easily tested. | 40 # --pure-views so that these dialogs can be easily tested. |
41 'webui_dialogs%': 0, | 41 'webui_dialogs%': 0, |
42 | 42 |
43 # Whether the compositor is enabled on views. | 43 # Whether the compositor is enabled on views. |
44 'views_compositor%': 0, | 44 'views_compositor%': 0, |
45 | 45 |
46 # Whether or not we are building with the Aura window manager. | 46 # Whether or not we are building with the Aura window manager. |
47 'use_aura%': 0, | 47 'use_aura%': 0, |
48 }, | 48 }, |
49 # Copy conditionally-set variables out one scope. | 49 # Copy conditionally-set variables out one scope. |
50 'chromeos%': '<(chromeos)', | 50 'chromeos%': '<(chromeos)', |
51 'toolkit_uses_pure_views%': '<(toolkit_uses_pure_views)', | 51 'toolkit_uses_pure_views%': '<(toolkit_uses_pure_views)', |
52 'touchui%': '<(touchui)', | 52 'touchui%': '<(touchui)', |
53 'webui_dialogs%': '<(webui_dialogs)', | 53 'webui_dialogs%': '<(webui_dialogs)', |
54 'views_compositor%': '<(views_compositor)', | 54 'views_compositor%': '<(views_compositor)', |
55 'use_aura%': '<(use_aura)', | 55 'use_aura%': '<(use_aura)', |
(...skipping 22 matching lines...) Expand all Loading... |
78 ['touchui==1', { | 78 ['touchui==1', { |
79 'toolkit_uses_pure_views%': 1, | 79 'toolkit_uses_pure_views%': 1, |
80 }, { | 80 }, { |
81 'toolkit_uses_pure_views%': 0, | 81 'toolkit_uses_pure_views%': 0, |
82 }], | 82 }], |
83 | 83 |
84 # Use WebUI dialogs in TouchUI builds. | 84 # Use WebUI dialogs in TouchUI builds. |
85 ['touchui==1', { | 85 ['touchui==1', { |
86 'webui_dialogs%': 1, | 86 'webui_dialogs%': 1, |
87 }], | 87 }], |
88 | 88 |
89 # Use the views compositor when using the Aura window manager. | 89 # Use the views compositor when using the Aura window manager. |
90 ['use_aura==1', { | 90 ['use_aura==1', { |
91 'views_compositor%': 1, | 91 'views_compositor%': 1, |
92 }], | 92 }], |
93 ], | 93 ], |
94 }, | 94 }, |
95 | 95 |
96 # Copy conditionally-set variables out one scope. | 96 # Copy conditionally-set variables out one scope. |
97 'chromeos%': '<(chromeos)', | 97 'chromeos%': '<(chromeos)', |
98 'touchui%': '<(touchui)', | 98 'touchui%': '<(touchui)', |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 }, { | 262 }, { |
263 'enable_flapper_hacks%': 0, | 263 'enable_flapper_hacks%': 0, |
264 }], | 264 }], |
265 | 265 |
266 # Enable file manager extension by default on Chrome OS. | 266 # Enable file manager extension by default on Chrome OS. |
267 ['chromeos==1', { | 267 ['chromeos==1', { |
268 'file_manager_extension%': 1, | 268 'file_manager_extension%': 1, |
269 }, { | 269 }, { |
270 'file_manager_extension%': 0, | 270 'file_manager_extension%': 0, |
271 }], | 271 }], |
272 | 272 |
273 # Enable WebUI TaskManager only on Chrome OS and Touch UI. | 273 # Enable WebUI TaskManager only on Chrome OS and Touch UI. |
274 ['chromeos==1 or touchui==1', { | 274 ['chromeos==1 or touchui==1', { |
275 'webui_task_manager%': 1, | 275 'webui_task_manager%': 1, |
276 }, { | 276 }, { |
277 'webui_task_manager%': 0, | 277 'webui_task_manager%': 0, |
278 }], | 278 }], |
279 | 279 |
280 # Enable smooth scrolling for Mac, Win, Linux and ChromeOS | 280 # Enable smooth scrolling for Mac, Win, Linux and ChromeOS |
281 ['OS=="linux" or OS=="mac" or OS=="win"', { | 281 ['OS=="linux" or OS=="mac" or OS=="win"', { |
282 'enable_smooth_scrolling%': 1, | 282 'enable_smooth_scrolling%': 1, |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 # these defaults. | 362 # these defaults. |
363 'mac_sdk%': '10.5', | 363 'mac_sdk%': '10.5', |
364 'mac_deployment_target%': '10.5', | 364 'mac_deployment_target%': '10.5', |
365 | 365 |
366 # Set to 1 to enable code coverage. In addition to build changes | 366 # Set to 1 to enable code coverage. In addition to build changes |
367 # (e.g. extra CFLAGS), also creates a new target in the src/chrome | 367 # (e.g. extra CFLAGS), also creates a new target in the src/chrome |
368 # project file called "coverage". | 368 # project file called "coverage". |
369 # Currently ignored on Windows. | 369 # Currently ignored on Windows. |
370 'coverage%': 0, | 370 'coverage%': 0, |
371 | 371 |
372 # Overridable specification for potential use of alternative | |
373 # JavaScript engines. | |
374 'javascript_engine%': 'v8', | |
375 | |
376 # Although base/allocator lets you select a heap library via an | 372 # Although base/allocator lets you select a heap library via an |
377 # environment variable, the libcmt shim it uses sometimes gets in | 373 # environment variable, the libcmt shim it uses sometimes gets in |
378 # the way. To disable it entirely, and switch to normal msvcrt, do e.g. | 374 # the way. To disable it entirely, and switch to normal msvcrt, do e.g. |
379 # 'win_use_allocator_shim': 0, | 375 # 'win_use_allocator_shim': 0, |
380 # 'win_release_RuntimeLibrary': 2 | 376 # 'win_release_RuntimeLibrary': 2 |
381 # to ~/.gyp/include.gypi, gclient runhooks --force, and do a release build. | 377 # to ~/.gyp/include.gypi, gclient runhooks --force, and do a release build. |
382 'win_use_allocator_shim%': 1, # 1 = shim allocator via libcmt; 0 = msvcrt | 378 'win_use_allocator_shim%': 1, # 1 = shim allocator via libcmt; 0 = msvcrt |
383 | 379 |
384 # Whether usage of OpenMAX is enabled. | 380 # Whether usage of OpenMAX is enabled. |
385 'enable_openmax%': 0, | 381 'enable_openmax%': 0, |
(...skipping 1666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2052 # settings in target dicts. SYMROOT is a special case, because many other | 2048 # settings in target dicts. SYMROOT is a special case, because many other |
2053 # Xcode variables depend on it, including variables such as | 2049 # Xcode variables depend on it, including variables such as |
2054 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2050 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2055 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2051 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2056 # files to appear (when present) in the UI as actual files and not red | 2052 # files to appear (when present) in the UI as actual files and not red |
2057 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2053 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2058 # and therefore SYMROOT, needs to be set at the project level. | 2054 # and therefore SYMROOT, needs to be set at the project level. |
2059 'SYMROOT': '<(DEPTH)/xcodebuild', | 2055 'SYMROOT': '<(DEPTH)/xcodebuild', |
2060 }, | 2056 }, |
2061 } | 2057 } |
OLD | NEW |