| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 # build (0). | 120 # build (0). |
| 121 'inside_chromium_build%': 1, | 121 'inside_chromium_build%': 1, |
| 122 | 122 |
| 123 # Set to 1 to enable fast builds. It disables debug info for fastest | 123 # Set to 1 to enable fast builds. It disables debug info for fastest |
| 124 # compilation. | 124 # compilation. |
| 125 'fastbuild%': 0, | 125 'fastbuild%': 0, |
| 126 | 126 |
| 127 # Disable file manager component extension by default. | 127 # Disable file manager component extension by default. |
| 128 'file_manager_extension%': 0, | 128 'file_manager_extension%': 0, |
| 129 | 129 |
| 130 # Disable WebUI TaskManager by default. |
| 131 'webui_task_manager%': 0, |
| 132 |
| 130 # Python version. | 133 # Python version. |
| 131 'python_ver%': '2.6', | 134 'python_ver%': '2.6', |
| 132 | 135 |
| 133 # Set ARM-v7 compilation flags | 136 # Set ARM-v7 compilation flags |
| 134 'armv7%': 0, | 137 'armv7%': 0, |
| 135 | 138 |
| 136 # Set Neon compilation flags (only meaningful if armv7==1). | 139 # Set Neon compilation flags (only meaningful if armv7==1). |
| 137 'arm_neon%': 1, | 140 'arm_neon%': 1, |
| 138 | 141 |
| 139 # The system root for cross-compiles. Default: none. | 142 # The system root for cross-compiles. Default: none. |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 'enable_flapper_hacks%': 0, | 240 'enable_flapper_hacks%': 0, |
| 238 }], | 241 }], |
| 239 | 242 |
| 240 # Enable file manager extension by default on Chrome OS. | 243 # Enable file manager extension by default on Chrome OS. |
| 241 ['chromeos==1', { | 244 ['chromeos==1', { |
| 242 'file_manager_extension%': 1, | 245 'file_manager_extension%': 1, |
| 243 }, { | 246 }, { |
| 244 'file_manager_extension%': 0, | 247 'file_manager_extension%': 0, |
| 245 }], | 248 }], |
| 246 | 249 |
| 250 # Enable WebUI TaskManager only on Chrome OS and Touch UI. |
| 251 ['chromeos==1 or touchui==1', { |
| 252 'webui_task_manager%': 1, |
| 253 }, { |
| 254 'webui_task_manager%': 0, |
| 255 }], |
| 256 |
| 247 # Enable smooth scrolling for Linux and ChromeOS | 257 # Enable smooth scrolling for Linux and ChromeOS |
| 248 ['OS=="linux"', { | 258 ['OS=="linux"', { |
| 249 'enable_smooth_scrolling%': 1, | 259 'enable_smooth_scrolling%': 1, |
| 250 }, { | 260 }, { |
| 251 'enable_smooth_scrolling%': 0, | 261 'enable_smooth_scrolling%': 0, |
| 252 }], | 262 }], |
| 253 ], | 263 ], |
| 254 }, | 264 }, |
| 255 | 265 |
| 256 # Copy conditionally-set variables out one scope. | 266 # Copy conditionally-set variables out one scope. |
| 257 'branding%': '<(branding)', | 267 'branding%': '<(branding)', |
| 258 'buildtype%': '<(buildtype)', | 268 'buildtype%': '<(buildtype)', |
| 259 'target_arch%': '<(target_arch)', | 269 'target_arch%': '<(target_arch)', |
| 260 'host_arch%': '<(host_arch)', | 270 'host_arch%': '<(host_arch)', |
| 261 'library%': 'static_library', | 271 'library%': 'static_library', |
| 262 'toolkit_views%': '<(toolkit_views)', | 272 'toolkit_views%': '<(toolkit_views)', |
| 263 'toolkit_uses_pure_views%': '<(toolkit_uses_pure_views)', | 273 'toolkit_uses_pure_views%': '<(toolkit_uses_pure_views)', |
| 264 'views_compositor%': '<(views_compositor)', | 274 'views_compositor%': '<(views_compositor)', |
| 265 'os_posix%': '<(os_posix)', | 275 'os_posix%': '<(os_posix)', |
| 266 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 276 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
| 267 'use_skia%': '<(use_skia)', | 277 'use_skia%': '<(use_skia)', |
| 268 'use_x11%': '<(use_x11)', | 278 'use_x11%': '<(use_x11)', |
| 269 'use_gnome_keyring%': '<(use_gnome_keyring)', | 279 'use_gnome_keyring%': '<(use_gnome_keyring)', |
| 270 'linux_fpic%': '<(linux_fpic)', | 280 'linux_fpic%': '<(linux_fpic)', |
| 271 'enable_flapper_hacks%': '<(enable_flapper_hacks)', | 281 'enable_flapper_hacks%': '<(enable_flapper_hacks)', |
| 272 'chromeos%': '<(chromeos)', | 282 'chromeos%': '<(chromeos)', |
| 273 'touchui%': '<(touchui)', | 283 'touchui%': '<(touchui)', |
| 274 'webui_certificate_viewer%': '<(webui_certificate_viewer)', | 284 'webui_certificate_viewer%': '<(webui_certificate_viewer)', |
| 275 'file_manager_extension%': '<(file_manager_extension)', | 285 'file_manager_extension%': '<(file_manager_extension)', |
| 286 'webui_task_manager%': '<(webui_task_manager)', |
| 276 'inside_chromium_build%': '<(inside_chromium_build)', | 287 'inside_chromium_build%': '<(inside_chromium_build)', |
| 277 'fastbuild%': '<(fastbuild)', | 288 'fastbuild%': '<(fastbuild)', |
| 278 'python_ver%': '<(python_ver)', | 289 'python_ver%': '<(python_ver)', |
| 279 'armv7%': '<(armv7)', | 290 'armv7%': '<(armv7)', |
| 280 'arm_neon%': '<(arm_neon)', | 291 'arm_neon%': '<(arm_neon)', |
| 281 'sysroot%': '<(sysroot)', | 292 'sysroot%': '<(sysroot)', |
| 282 'disable_sse2%': '<(disable_sse2)', | 293 'disable_sse2%': '<(disable_sse2)', |
| 283 'component%': '<(component)', | 294 'component%': '<(component)', |
| 284 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', | 295 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', |
| 285 'use_third_party_translations%': '<(use_third_party_translations)', | 296 'use_third_party_translations%': '<(use_third_party_translations)', |
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 623 }], | 634 }], |
| 624 ['touchui==1', { | 635 ['touchui==1', { |
| 625 'grit_defines': ['-D', 'touchui'], | 636 'grit_defines': ['-D', 'touchui'], |
| 626 }], | 637 }], |
| 627 ['webui_certificate_viewer==1', { | 638 ['webui_certificate_viewer==1', { |
| 628 'grit_defines': ['-D', 'webui_certificate_viewer'], | 639 'grit_defines': ['-D', 'webui_certificate_viewer'], |
| 629 }], | 640 }], |
| 630 ['file_manager_extension==1', { | 641 ['file_manager_extension==1', { |
| 631 'grit_defines': ['-D', 'file_manager_extension'], | 642 'grit_defines': ['-D', 'file_manager_extension'], |
| 632 }], | 643 }], |
| 644 ['webui_task_manager==1', { |
| 645 'grit_defines': ['-D', 'webui_task_manager'], |
| 646 }], |
| 633 ['remoting==1', { | 647 ['remoting==1', { |
| 634 'grit_defines': ['-D', 'remoting'], | 648 'grit_defines': ['-D', 'remoting'], |
| 635 }], | 649 }], |
| 636 ['use_titlecase_in_grd_files==1', { | 650 ['use_titlecase_in_grd_files==1', { |
| 637 'grit_defines': ['-D', 'use_titlecase'], | 651 'grit_defines': ['-D', 'use_titlecase'], |
| 638 }], | 652 }], |
| 639 ['use_third_party_translations==1', { | 653 ['use_third_party_translations==1', { |
| 640 'grit_defines': ['-D', 'use_third_party_translations'], | 654 'grit_defines': ['-D', 'use_third_party_translations'], |
| 641 'locales': [ | 655 'locales': [ |
| 642 'ast', 'bs', 'ca@valencia', 'eo', 'eu', 'gl', 'hy', 'ka', 'ku', 'kw', | 656 'ast', 'bs', 'ca@valencia', 'eo', 'eu', 'gl', 'hy', 'ka', 'ku', 'kw', |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 728 }], | 742 }], |
| 729 ['chromeos==1', { | 743 ['chromeos==1', { |
| 730 'defines': ['OS_CHROMEOS=1'], | 744 'defines': ['OS_CHROMEOS=1'], |
| 731 }], | 745 }], |
| 732 ['touchui==1', { | 746 ['touchui==1', { |
| 733 'defines': ['TOUCH_UI=1'], | 747 'defines': ['TOUCH_UI=1'], |
| 734 }], | 748 }], |
| 735 ['file_manager_extension==1', { | 749 ['file_manager_extension==1', { |
| 736 'defines': ['FILE_MANAGER_EXTENSION=1'], | 750 'defines': ['FILE_MANAGER_EXTENSION=1'], |
| 737 }], | 751 }], |
| 752 ['webui_task_manager==1', { |
| 753 'defines': ['WEBUI_TASK_MANAGER=1'], |
| 754 }], |
| 738 ['profiling==1', { | 755 ['profiling==1', { |
| 739 'defines': ['ENABLE_PROFILING=1'], | 756 'defines': ['ENABLE_PROFILING=1'], |
| 740 }], | 757 }], |
| 741 ['remoting==1', { | 758 ['remoting==1', { |
| 742 'defines': ['ENABLE_REMOTING=1'], | 759 'defines': ['ENABLE_REMOTING=1'], |
| 743 }], | 760 }], |
| 744 ['p2p_apis==1', { | 761 ['p2p_apis==1', { |
| 745 'defines': ['ENABLE_P2P_APIS=1'], | 762 'defines': ['ENABLE_P2P_APIS=1'], |
| 746 }], | 763 }], |
| 747 ['proprietary_codecs==1', { | 764 ['proprietary_codecs==1', { |
| (...skipping 1143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1891 # settings in target dicts. SYMROOT is a special case, because many other | 1908 # settings in target dicts. SYMROOT is a special case, because many other |
| 1892 # Xcode variables depend on it, including variables such as | 1909 # Xcode variables depend on it, including variables such as |
| 1893 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 1910 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 1894 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 1911 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 1895 # files to appear (when present) in the UI as actual files and not red | 1912 # files to appear (when present) in the UI as actual files and not red |
| 1896 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 1913 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 1897 # and therefore SYMROOT, needs to be set at the project level. | 1914 # and therefore SYMROOT, needs to be set at the project level. |
| 1898 'SYMROOT': '<(DEPTH)/xcodebuild', | 1915 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 1899 }, | 1916 }, |
| 1900 } | 1917 } |
| OLD | NEW |