| 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 1570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1581 'ozone_platform_headless%': 0, | 1581 'ozone_platform_headless%': 0, |
| 1582 | 1582 |
| 1583 # Experiment: http://crbug.com/426914 | 1583 # Experiment: http://crbug.com/426914 |
| 1584 'envoy%': 0, | 1584 'envoy%': 0, |
| 1585 | 1585 |
| 1586 # Used to set libjpeg_gyp_path. Chrome OS ui/gfx/gfx.gyp uses the IJG path | 1586 # Used to set libjpeg_gyp_path. Chrome OS ui/gfx/gfx.gyp uses the IJG path |
| 1587 # for robust login screen decoding. | 1587 # for robust login screen decoding. |
| 1588 'libjpeg_ijg_gyp_path': '<(DEPTH)/third_party/libjpeg/libjpeg.gyp', | 1588 'libjpeg_ijg_gyp_path': '<(DEPTH)/third_party/libjpeg/libjpeg.gyp', |
| 1589 'libjpeg_turbo_gyp_path': '<(DEPTH)/third_party/libjpeg_turbo/libjpeg.gyp', | 1589 'libjpeg_turbo_gyp_path': '<(DEPTH)/third_party/libjpeg_turbo/libjpeg.gyp', |
| 1590 | 1590 |
| 1591 # Whether to disable handle verifier hooks. | |
| 1592 # Hookless parts of the handle verifier will still function. | |
| 1593 'win_disable_handle_verifier_hooks%': '0', | |
| 1594 | |
| 1595 'conditions': [ | 1591 'conditions': [ |
| 1596 ['buildtype=="Official"', { | 1592 ['buildtype=="Official"', { |
| 1597 # Continue to embed build meta data in Official builds, basically the | 1593 # Continue to embed build meta data in Official builds, basically the |
| 1598 # time it was built. | 1594 # time it was built. |
| 1599 # TODO(maruel): This decision should be revisited because having an | 1595 # TODO(maruel): This decision should be revisited because having an |
| 1600 # official deterministic build has high value too but MSVC toolset can't | 1596 # official deterministic build has high value too but MSVC toolset can't |
| 1601 # generate anything deterministic with WPO enabled AFAIK. | 1597 # generate anything deterministic with WPO enabled AFAIK. |
| 1602 'dont_embed_build_metadata%': 0, | 1598 'dont_embed_build_metadata%': 0, |
| 1603 }], | 1599 }], |
| 1604 # Enable the Syzygy optimization step for the official builds. | 1600 # Enable the Syzygy optimization step for the official builds. |
| (...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2310 | 2306 |
| 2311 'release_valgrind_build': 1, | 2307 'release_valgrind_build': 1, |
| 2312 'werror': '', | 2308 'werror': '', |
| 2313 'component': 'static_library', | 2309 'component': 'static_library', |
| 2314 }], | 2310 }], |
| 2315 | 2311 |
| 2316 # Build tweaks for DrMemory. | 2312 # Build tweaks for DrMemory. |
| 2317 # TODO(rnk): Combine with tsan config to share the builder. | 2313 # TODO(rnk): Combine with tsan config to share the builder. |
| 2318 # http://crbug.com/108155 | 2314 # http://crbug.com/108155 |
| 2319 ['build_for_tool=="drmemory"', { | 2315 ['build_for_tool=="drmemory"', { |
| 2320 # Disable the hook based handle verifier, as DrMemory does this job. | |
| 2321 'win_disable_handle_verifier_hooks': '1', | |
| 2322 # These runtime checks force initialization of stack vars which blocks | 2316 # These runtime checks force initialization of stack vars which blocks |
| 2323 # DrMemory's uninit detection. | 2317 # DrMemory's uninit detection. |
| 2324 'win_debug_RuntimeChecks': '0', | 2318 'win_debug_RuntimeChecks': '0', |
| 2325 # Iterator debugging is slow. | 2319 # Iterator debugging is slow. |
| 2326 'win_debug_disable_iterator_debugging': '1', | 2320 'win_debug_disable_iterator_debugging': '1', |
| 2327 # Try to disable optimizations that mess up stacks in a release build. | 2321 # Try to disable optimizations that mess up stacks in a release build. |
| 2328 # DrM-i#1054 (https://github.com/DynamoRIO/drmemory/issues/1054) | 2322 # DrM-i#1054 (https://github.com/DynamoRIO/drmemory/issues/1054) |
| 2329 # /O2 and /Ob0 (disable inline) cannot be used together because of a | 2323 # /O2 and /Ob0 (disable inline) cannot be used together because of a |
| 2330 # compiler bug, so we use /Ob1 instead. | 2324 # compiler bug, so we use /Ob1 instead. |
| 2331 'win_release_InlineFunctionExpansion': '1', | 2325 'win_release_InlineFunctionExpansion': '1', |
| (...skipping 4067 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6399 # settings in target dicts. SYMROOT is a special case, because many other | 6393 # settings in target dicts. SYMROOT is a special case, because many other |
| 6400 # Xcode variables depend on it, including variables such as | 6394 # Xcode variables depend on it, including variables such as |
| 6401 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6395 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6402 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6396 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6403 # files to appear (when present) in the UI as actual files and not red | 6397 # files to appear (when present) in the UI as actual files and not red |
| 6404 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6398 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6405 # and therefore SYMROOT, needs to be set at the project level. | 6399 # and therefore SYMROOT, needs to be set at the project level. |
| 6406 'SYMROOT': '<(DEPTH)/xcodebuild', | 6400 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6407 }, | 6401 }, |
| 6408 } | 6402 } |
| OLD | NEW |