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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 # build (0). | 122 # build (0). |
123 'inside_chromium_build%': 1, | 123 'inside_chromium_build%': 1, |
124 | 124 |
125 # Set to 1 to enable fast builds. It disables debug info for fastest | 125 # Set to 1 to enable fast builds. It disables debug info for fastest |
126 # compilation. | 126 # compilation. |
127 'fastbuild%': 0, | 127 'fastbuild%': 0, |
128 | 128 |
129 # Disable file manager component extension by default. | 129 # Disable file manager component extension by default. |
130 'file_manager_extension%': 0, | 130 'file_manager_extension%': 0, |
131 | 131 |
| 132 # Disable WebUI TaskManager by default. |
| 133 'webui_task_manager%': 0, |
| 134 |
132 # Python version. | 135 # Python version. |
133 'python_ver%': '2.6', | 136 'python_ver%': '2.6', |
134 | 137 |
135 # Set ARM-v7 compilation flags | 138 # Set ARM-v7 compilation flags |
136 'armv7%': 0, | 139 'armv7%': 0, |
137 | 140 |
138 # Set Neon compilation flags (only meaningful if armv7==1). | 141 # Set Neon compilation flags (only meaningful if armv7==1). |
139 'arm_neon%': 1, | 142 'arm_neon%': 1, |
140 | 143 |
141 # The system root for cross-compiles. Default: none. | 144 # The system root for cross-compiles. Default: none. |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 'enable_flapper_hacks%': 0, | 248 'enable_flapper_hacks%': 0, |
246 }], | 249 }], |
247 | 250 |
248 # Enable file manager extension by default on Chrome OS. | 251 # Enable file manager extension by default on Chrome OS. |
249 ['chromeos==1', { | 252 ['chromeos==1', { |
250 'file_manager_extension%': 1, | 253 'file_manager_extension%': 1, |
251 }, { | 254 }, { |
252 'file_manager_extension%': 0, | 255 'file_manager_extension%': 0, |
253 }], | 256 }], |
254 | 257 |
| 258 # Enable WebUI TaskManager only on Chrome OS and Touch UI. |
| 259 ['chromeos==1 or touchui==1', { |
| 260 'webui_task_manager%': 1, |
| 261 }, { |
| 262 'webui_task_manager%': 0, |
| 263 }], |
| 264 |
255 # Enable smooth scrolling for Linux and ChromeOS | 265 # Enable smooth scrolling for Linux and ChromeOS |
256 ['OS=="linux"', { | 266 ['OS=="linux"', { |
257 'enable_smooth_scrolling%': 1, | 267 'enable_smooth_scrolling%': 1, |
258 }, { | 268 }, { |
259 'enable_smooth_scrolling%': 0, | 269 'enable_smooth_scrolling%': 0, |
260 }], | 270 }], |
261 ], | 271 ], |
262 }, | 272 }, |
263 | 273 |
264 # Copy conditionally-set variables out one scope. | 274 # Copy conditionally-set variables out one scope. |
265 'branding%': '<(branding)', | 275 'branding%': '<(branding)', |
266 'buildtype%': '<(buildtype)', | 276 'buildtype%': '<(buildtype)', |
267 'target_arch%': '<(target_arch)', | 277 'target_arch%': '<(target_arch)', |
268 'host_arch%': '<(host_arch)', | 278 'host_arch%': '<(host_arch)', |
269 'library%': 'static_library', | 279 'library%': 'static_library', |
270 'toolkit_views%': '<(toolkit_views)', | 280 'toolkit_views%': '<(toolkit_views)', |
271 'toolkit_uses_pure_views%': '<(toolkit_uses_pure_views)', | 281 'toolkit_uses_pure_views%': '<(toolkit_uses_pure_views)', |
272 'views_compositor%': '<(views_compositor)', | 282 'views_compositor%': '<(views_compositor)', |
273 'os_posix%': '<(os_posix)', | 283 'os_posix%': '<(os_posix)', |
274 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 284 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
275 'use_skia%': '<(use_skia)', | 285 'use_skia%': '<(use_skia)', |
276 'use_x11%': '<(use_x11)', | 286 'use_x11%': '<(use_x11)', |
277 'use_gnome_keyring%': '<(use_gnome_keyring)', | 287 'use_gnome_keyring%': '<(use_gnome_keyring)', |
278 'linux_fpic%': '<(linux_fpic)', | 288 'linux_fpic%': '<(linux_fpic)', |
279 'enable_flapper_hacks%': '<(enable_flapper_hacks)', | 289 'enable_flapper_hacks%': '<(enable_flapper_hacks)', |
280 'chromeos%': '<(chromeos)', | 290 'chromeos%': '<(chromeos)', |
281 'touchui%': '<(touchui)', | 291 'touchui%': '<(touchui)', |
282 'webui_certificate_viewer%': '<(webui_certificate_viewer)', | 292 'webui_certificate_viewer%': '<(webui_certificate_viewer)', |
283 'file_manager_extension%': '<(file_manager_extension)', | 293 'file_manager_extension%': '<(file_manager_extension)', |
| 294 'webui_task_manager%': '<(webui_task_manager)', |
284 'inside_chromium_build%': '<(inside_chromium_build)', | 295 'inside_chromium_build%': '<(inside_chromium_build)', |
285 'fastbuild%': '<(fastbuild)', | 296 'fastbuild%': '<(fastbuild)', |
286 'python_ver%': '<(python_ver)', | 297 'python_ver%': '<(python_ver)', |
287 'armv7%': '<(armv7)', | 298 'armv7%': '<(armv7)', |
288 'arm_neon%': '<(arm_neon)', | 299 'arm_neon%': '<(arm_neon)', |
289 'sysroot%': '<(sysroot)', | 300 'sysroot%': '<(sysroot)', |
290 'disable_sse2%': '<(disable_sse2)', | 301 'disable_sse2%': '<(disable_sse2)', |
291 'component%': '<(component)', | 302 'component%': '<(component)', |
292 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', | 303 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', |
293 'use_third_party_translations%': '<(use_third_party_translations)', | 304 'use_third_party_translations%': '<(use_third_party_translations)', |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
632 }], | 643 }], |
633 ['touchui==1', { | 644 ['touchui==1', { |
634 'grit_defines': ['-D', 'touchui'], | 645 'grit_defines': ['-D', 'touchui'], |
635 }], | 646 }], |
636 ['webui_certificate_viewer==1', { | 647 ['webui_certificate_viewer==1', { |
637 'grit_defines': ['-D', 'webui_certificate_viewer'], | 648 'grit_defines': ['-D', 'webui_certificate_viewer'], |
638 }], | 649 }], |
639 ['file_manager_extension==1', { | 650 ['file_manager_extension==1', { |
640 'grit_defines': ['-D', 'file_manager_extension'], | 651 'grit_defines': ['-D', 'file_manager_extension'], |
641 }], | 652 }], |
| 653 ['webui_task_manager==1', { |
| 654 'grit_defines': ['-D', 'webui_task_manager'], |
| 655 }], |
642 ['remoting==1', { | 656 ['remoting==1', { |
643 'grit_defines': ['-D', 'remoting'], | 657 'grit_defines': ['-D', 'remoting'], |
644 }], | 658 }], |
645 ['use_titlecase_in_grd_files==1', { | 659 ['use_titlecase_in_grd_files==1', { |
646 'grit_defines': ['-D', 'use_titlecase'], | 660 'grit_defines': ['-D', 'use_titlecase'], |
647 }], | 661 }], |
648 ['use_third_party_translations==1', { | 662 ['use_third_party_translations==1', { |
649 'grit_defines': ['-D', 'use_third_party_translations'], | 663 'grit_defines': ['-D', 'use_third_party_translations'], |
650 'locales': [ | 664 'locales': [ |
651 'ast', 'bs', 'ca@valencia', 'eo', 'eu', 'gl', 'hy', 'ia', 'ka', 'ku', | 665 'ast', 'bs', 'ca@valencia', 'eo', 'eu', 'gl', 'hy', 'ia', 'ka', 'ku', |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
740 }], | 754 }], |
741 ['touchui==1', { | 755 ['touchui==1', { |
742 'defines': ['TOUCH_UI=1'], | 756 'defines': ['TOUCH_UI=1'], |
743 }], | 757 }], |
744 ['use_wayland==1', { | 758 ['use_wayland==1', { |
745 'defines': ['USE_WAYLAND=1', 'WL_EGL_PLATFORM=1'], | 759 'defines': ['USE_WAYLAND=1', 'WL_EGL_PLATFORM=1'], |
746 }], | 760 }], |
747 ['file_manager_extension==1', { | 761 ['file_manager_extension==1', { |
748 'defines': ['FILE_MANAGER_EXTENSION=1'], | 762 'defines': ['FILE_MANAGER_EXTENSION=1'], |
749 }], | 763 }], |
| 764 ['webui_task_manager==1', { |
| 765 'defines': ['WEBUI_TASK_MANAGER=1'], |
| 766 }], |
750 ['profiling==1', { | 767 ['profiling==1', { |
751 'defines': ['ENABLE_PROFILING=1'], | 768 'defines': ['ENABLE_PROFILING=1'], |
752 }], | 769 }], |
753 ['remoting==1', { | 770 ['remoting==1', { |
754 'defines': ['ENABLE_REMOTING=1'], | 771 'defines': ['ENABLE_REMOTING=1'], |
755 }], | 772 }], |
756 ['p2p_apis==1', { | 773 ['p2p_apis==1', { |
757 'defines': ['ENABLE_P2P_APIS=1'], | 774 'defines': ['ENABLE_P2P_APIS=1'], |
758 }], | 775 }], |
759 ['proprietary_codecs==1', { | 776 ['proprietary_codecs==1', { |
(...skipping 1152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1912 # settings in target dicts. SYMROOT is a special case, because many other | 1929 # settings in target dicts. SYMROOT is a special case, because many other |
1913 # Xcode variables depend on it, including variables such as | 1930 # Xcode variables depend on it, including variables such as |
1914 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 1931 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
1915 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 1932 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
1916 # files to appear (when present) in the UI as actual files and not red | 1933 # files to appear (when present) in the UI as actual files and not red |
1917 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 1934 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
1918 # and therefore SYMROOT, needs to be set at the project level. | 1935 # and therefore SYMROOT, needs to be set at the project level. |
1919 'SYMROOT': '<(DEPTH)/xcodebuild', | 1936 'SYMROOT': '<(DEPTH)/xcodebuild', |
1920 }, | 1937 }, |
1921 } | 1938 } |
OLD | NEW |