| 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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 'disable_ftp_support%': 0, | 343 'disable_ftp_support%': 0, |
| 344 | 344 |
| 345 # XInput2 multitouch support is disabled by default (use_xi2_mt=0). | 345 # XInput2 multitouch support is disabled by default (use_xi2_mt=0). |
| 346 # Setting to non-zero value enables XI2 MT. When XI2 MT is enabled, | 346 # Setting to non-zero value enables XI2 MT. When XI2 MT is enabled, |
| 347 # the input value also defines the required XI2 minor minimum version. | 347 # the input value also defines the required XI2 minor minimum version. |
| 348 # For example, use_xi2_mt=2 means XI2.2 or above version is required. | 348 # For example, use_xi2_mt=2 means XI2.2 or above version is required. |
| 349 'use_xi2_mt%': 0, | 349 'use_xi2_mt%': 0, |
| 350 | 350 |
| 351 # Use of precompiled headers on Windows. | 351 # Use of precompiled headers on Windows. |
| 352 # | 352 # |
| 353 # This is on by default in VS 2010, but off by default for VS | |
| 354 # 2008 because of complications that it can cause with our | |
| 355 # trybots etc. | |
| 356 # | |
| 357 # This variable may be explicitly set to 1 (enabled) or 0 | 353 # This variable may be explicitly set to 1 (enabled) or 0 |
| 358 # (disabled) in ~/.gyp/include.gypi or via the GYP command line. | 354 # (disabled) in ~/.gyp/include.gypi or via the GYP command line. |
| 359 # This setting will override the default. | 355 # This setting will override the default. |
| 360 # | 356 # |
| 361 # Note that a setting of 1 is probably suitable for most or all | 357 # See |
| 362 # Windows developers using VS 2008, since precompiled headers | |
| 363 # provide a build speedup of 20-25%. There are a couple of | |
| 364 # small workarounds you may need to use when using VS 2008 (but | |
| 365 # not 2010), see | |
| 366 # http://code.google.com/p/chromium/wiki/WindowsPrecompiledHeaders | 358 # http://code.google.com/p/chromium/wiki/WindowsPrecompiledHeaders |
| 367 # for details. | 359 # for details. |
| 368 'chromium_win_pch%': 0, | 360 'chromium_win_pch%': 0, |
| 369 | 361 |
| 370 # Set this to true when building with Clang. | 362 # Set this to true when building with Clang. |
| 371 # See http://code.google.com/p/chromium/wiki/Clang for details. | 363 # See http://code.google.com/p/chromium/wiki/Clang for details. |
| 372 'clang%': 0, | 364 'clang%': 0, |
| 373 | 365 |
| 374 # Enable plug-in installation by default. | 366 # Enable plug-in installation by default. |
| 375 'enable_plugin_installation%': 1, | 367 'enable_plugin_installation%': 1, |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 }], | 500 }], |
| 509 | 501 |
| 510 # Use GPU accelerated cross process image transport by default | 502 # Use GPU accelerated cross process image transport by default |
| 511 # on linux builds with the Aura window manager | 503 # on linux builds with the Aura window manager |
| 512 ['use_aura==1 and OS=="linux"', { | 504 ['use_aura==1 and OS=="linux"', { |
| 513 'ui_compositor_image_transport%': 1, | 505 'ui_compositor_image_transport%': 1, |
| 514 }, { | 506 }, { |
| 515 'ui_compositor_image_transport%': 0, | 507 'ui_compositor_image_transport%': 0, |
| 516 }], | 508 }], |
| 517 | 509 |
| 518 # Turn precompiled headers on by default for VS 2010. | 510 # Turn precompiled headers on by default. |
| 519 ['OS=="win" and MSVS_VERSION=="2010" and buildtype!="Official"', { | 511 ['OS=="win" and buildtype!="Official"', { |
| 520 'chromium_win_pch%': 1 | 512 'chromium_win_pch%': 1 |
| 521 }], | 513 }], |
| 522 | 514 |
| 523 ['use_aura==1 or chromeos==1 or OS=="android"', { | 515 ['use_aura==1 or chromeos==1 or OS=="android"', { |
| 524 'enable_plugin_installation%': 0, | 516 'enable_plugin_installation%': 0, |
| 525 }, { | 517 }, { |
| 526 'enable_plugin_installation%': 1, | 518 'enable_plugin_installation%': 1, |
| 527 }], | 519 }], |
| 528 | 520 |
| 529 ['OS=="android" or OS=="ios"', { | 521 ['OS=="android" or OS=="ios"', { |
| (...skipping 3390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3920 # settings in target dicts. SYMROOT is a special case, because many other | 3912 # settings in target dicts. SYMROOT is a special case, because many other |
| 3921 # Xcode variables depend on it, including variables such as | 3913 # Xcode variables depend on it, including variables such as |
| 3922 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3914 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 3923 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3915 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 3924 # files to appear (when present) in the UI as actual files and not red | 3916 # files to appear (when present) in the UI as actual files and not red |
| 3925 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3917 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 3926 # and therefore SYMROOT, needs to be set at the project level. | 3918 # and therefore SYMROOT, needs to be set at the project level. |
| 3927 'SYMROOT': '<(DEPTH)/xcodebuild', | 3919 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 3928 }, | 3920 }, |
| 3929 } | 3921 } |
| OLD | NEW |