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 1579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1590 'libjpeg_ijg_gyp_path': '<(DEPTH)/third_party/libjpeg/libjpeg.gyp', | 1590 'libjpeg_ijg_gyp_path': '<(DEPTH)/third_party/libjpeg/libjpeg.gyp', |
1591 'libjpeg_turbo_gyp_path': '<(DEPTH)/third_party/libjpeg_turbo/libjpeg.gyp', | 1591 'libjpeg_turbo_gyp_path': '<(DEPTH)/third_party/libjpeg_turbo/libjpeg.gyp', |
1592 | 1592 |
1593 'conditions': [ | 1593 'conditions': [ |
1594 # Enable the Syzygy optimization step for the official builds. | 1594 # Enable the Syzygy optimization step for the official builds. |
1595 ['OS=="win" and buildtype=="Official" and syzyasan!=1 and clang!=1', { | 1595 ['OS=="win" and buildtype=="Official" and syzyasan!=1 and clang!=1', { |
1596 'syzygy_optimize%': 1, | 1596 'syzygy_optimize%': 1, |
1597 }, { | 1597 }, { |
1598 'syzygy_optimize%': 0, | 1598 'syzygy_optimize%': 0, |
1599 }], | 1599 }], |
| 1600 ['sanitizer_coverage==1', { |
| 1601 'sanitizer_coverage': 'edge,indirect-calls,8bit-counters,trace-cmp', |
| 1602 }], |
1600 # Get binutils version so we can enable debug fission if we can. | 1603 # Get binutils version so we can enable debug fission if we can. |
1601 ['os_posix==1 and OS!="mac" and OS!="ios"', { | 1604 ['os_posix==1 and OS!="mac" and OS!="ios"', { |
1602 'conditions': [ | 1605 'conditions': [ |
1603 # compiler_version doesn't work with clang | 1606 # compiler_version doesn't work with clang |
1604 # TODO(mithro): Land https://codereview.chromium.org/199793014/ so | 1607 # TODO(mithro): Land https://codereview.chromium.org/199793014/ so |
1605 # compiler_version works with clang. | 1608 # compiler_version works with clang. |
1606 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so | 1609 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so |
1607 # that it takes effect here. | 1610 # that it takes effect here. |
1608 ['clang==0 and asan==0 and lsan==0 and tsan==0 and msan==0 and ubsan==
0 and ubsan_vptr==0', { | 1611 ['clang==0 and asan==0 and lsan==0 and tsan==0 and msan==0 and ubsan==
0 and ubsan_vptr==0', { |
1609 'binutils_version%': '<!pymod_do_main(compiler_version target assemb
ler)', | 1612 'binutils_version%': '<!pymod_do_main(compiler_version target assemb
ler)', |
(...skipping 4751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6361 # settings in target dicts. SYMROOT is a special case, because many other | 6364 # settings in target dicts. SYMROOT is a special case, because many other |
6362 # Xcode variables depend on it, including variables such as | 6365 # Xcode variables depend on it, including variables such as |
6363 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6366 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6364 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6367 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6365 # files to appear (when present) in the UI as actual files and not red | 6368 # files to appear (when present) in the UI as actual files and not red |
6366 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6369 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6367 # and therefore SYMROOT, needs to be set at the project level. | 6370 # and therefore SYMROOT, needs to be set at the project level. |
6368 'SYMROOT': '<(DEPTH)/xcodebuild', | 6371 'SYMROOT': '<(DEPTH)/xcodebuild', |
6369 }, | 6372 }, |
6370 } | 6373 } |
OLD | NEW |