| 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 2440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2451 # goma doesn't support pch yet. | 2451 # goma doesn't support pch yet. |
| 2452 'chromium_win_pch': 0, | 2452 'chromium_win_pch': 0, |
| 2453 # goma doesn't support PDB yet, so win_z7=1 or fastbuild=1. | 2453 # goma doesn't support PDB yet, so win_z7=1 or fastbuild=1. |
| 2454 'conditions': [ | 2454 'conditions': [ |
| 2455 ['win_z7==0 and fastbuild==0', { | 2455 ['win_z7==0 and fastbuild==0', { |
| 2456 'fastbuild': 1, | 2456 'fastbuild': 1, |
| 2457 }], | 2457 }], |
| 2458 ], | 2458 ], |
| 2459 }], | 2459 }], |
| 2460 | 2460 |
| 2461 ['OS=="win" and clang==1', { | 2461 ['OS=="win" and clang==1 and asan==0', { |
| 2462 # TODO(thakis): Remove this again once building with clang/win and | 2462 # TODO(thakis): Remove this again once building with clang/win and |
| 2463 # debug info doesn't make link.exe run for hours. | 2463 # debug info doesn't make link.exe run for hours. |
| 2464 'fastbuild': 1, | 2464 'fastbuild': 1, |
| 2465 }], | 2465 }], |
| 2466 | 2466 |
| 2467 | |
| 2468 ['host_clang==1', { | 2467 ['host_clang==1', { |
| 2469 'host_cc': '<(make_clang_dir)/bin/clang', | 2468 'host_cc': '<(make_clang_dir)/bin/clang', |
| 2470 'host_cxx': '<(make_clang_dir)/bin/clang++', | 2469 'host_cxx': '<(make_clang_dir)/bin/clang++', |
| 2471 }, { | 2470 }, { |
| 2472 'host_cc': '<!(which gcc)', | 2471 'host_cc': '<!(which gcc)', |
| 2473 'host_cxx': '<!(which g++)', | 2472 'host_cxx': '<!(which g++)', |
| 2474 }], | 2473 }], |
| 2475 | 2474 |
| 2476 # The seccomp-bpf sandbox is only supported on five architectures | 2475 # The seccomp-bpf sandbox is only supported on five architectures |
| 2477 # currently. | 2476 # currently. |
| (...skipping 3441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5919 }, | 5918 }, |
| 5920 }], | 5919 }], |
| 5921 ['asan==1', { | 5920 ['asan==1', { |
| 5922 # TODO(asan/win): Move this down into the general | 5921 # TODO(asan/win): Move this down into the general |
| 5923 # win-target_defaults section once the 64-bit asan runtime | 5922 # win-target_defaults section once the 64-bit asan runtime |
| 5924 # exists. See crbug.com/345874. | 5923 # exists. See crbug.com/345874. |
| 5925 'VCCLCompilerTool': { | 5924 'VCCLCompilerTool': { |
| 5926 'AdditionalOptions': [ | 5925 'AdditionalOptions': [ |
| 5927 '-fsanitize=address', | 5926 '-fsanitize=address', |
| 5928 '-fsanitize-blacklist=<(PRODUCT_DIR)/../../tools/memory/as
an/blacklist_win.txt', | 5927 '-fsanitize-blacklist=<(PRODUCT_DIR)/../../tools/memory/as
an/blacklist_win.txt', |
| 5928 # Omit variable info to speed up /Z7 links. |
| 5929 '-gline-tables-only', |
| 5929 ], | 5930 ], |
| 5930 'AdditionalIncludeDirectories': [ | 5931 'AdditionalIncludeDirectories': [ |
| 5931 # MSVC needs to be able to find the sanitizer headers when | 5932 # MSVC needs to be able to find the sanitizer headers when |
| 5932 # invoked via /fallback. This is critical for using macros | 5933 # invoked via /fallback. This is critical for using macros |
| 5933 # like ASAN_UNPOISON_MEMORY_REGION in files where we fall | 5934 # like ASAN_UNPOISON_MEMORY_REGION in files where we fall |
| 5934 # back. | 5935 # back. |
| 5935 '<(DEPTH)/<(make_clang_dir)/lib/clang/<!(python <(DEPTH)/t
ools/clang/scripts/update.py --print-clang-version)/include_sanitizer', | 5936 '<(DEPTH)/<(make_clang_dir)/lib/clang/<!(python <(DEPTH)/t
ools/clang/scripts/update.py --print-clang-version)/include_sanitizer', |
| 5936 ], | 5937 ], |
| 5937 }, | 5938 }, |
| 5938 'VCLinkerTool': { | 5939 'VCLinkerTool': { |
| (...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6380 # settings in target dicts. SYMROOT is a special case, because many other | 6381 # settings in target dicts. SYMROOT is a special case, because many other |
| 6381 # Xcode variables depend on it, including variables such as | 6382 # Xcode variables depend on it, including variables such as |
| 6382 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6383 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6383 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6384 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6384 # files to appear (when present) in the UI as actual files and not red | 6385 # files to appear (when present) in the UI as actual files and not red |
| 6385 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6386 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6386 # and therefore SYMROOT, needs to be set at the project level. | 6387 # and therefore SYMROOT, needs to be set at the project level. |
| 6387 'SYMROOT': '<(DEPTH)/xcodebuild', | 6388 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6388 }, | 6389 }, |
| 6389 } | 6390 } |
| OLD | NEW |