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