Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: build/common.gypi

Issue 1194823004: clang/win: Make diagnostics colored if ansicon is around at runhooks time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: chmod Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | build/config/compiler/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 5754 matching lines...) Expand 10 before | Expand all | Expand 10 after
5765 ], 5765 ],
5766 }, 5766 },
5767 }], 5767 }],
5768 ['clang==1 and MSVS_VERSION == "2015"', { 5768 ['clang==1 and MSVS_VERSION == "2015"', {
5769 'VCCLCompilerTool': { 5769 'VCCLCompilerTool': {
5770 'AdditionalOptions': [ 5770 'AdditionalOptions': [
5771 '-fmsc-version=1900', 5771 '-fmsc-version=1900',
5772 ], 5772 ],
5773 }, 5773 },
5774 }], 5774 }],
5775 ['clang==1 and "<!(python <(DEPTH)/build/win/use_ansi_codes.py)"=="T rue"', {
5776 'VCCLCompilerTool': {
5777 'AdditionalOptions': [
5778 # cmd.exe doesn't understand ANSI escape codes by default,
5779 # so only enable them if something emulating them is around.
5780 '-fansi-escape-codes',
5781 # Also see http://crbug.com/110262
5782 '-fcolor-diagnostics',
5783 ],
5784 },
5785 }],
5775 ], 5786 ],
5776 }, 5787 },
5777 }, 5788 },
5778 }], 5789 }],
5779 ['disable_nacl==1', { 5790 ['disable_nacl==1', {
5780 'target_defaults': { 5791 'target_defaults': {
5781 'defines': [ 5792 'defines': [
5782 'DISABLE_NACL', 5793 'DISABLE_NACL',
5783 ], 5794 ],
5784 }, 5795 },
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
6198 # settings in target dicts. SYMROOT is a special case, because many other 6209 # settings in target dicts. SYMROOT is a special case, because many other
6199 # Xcode variables depend on it, including variables such as 6210 # Xcode variables depend on it, including variables such as
6200 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6211 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6201 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6212 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6202 # files to appear (when present) in the UI as actual files and not red 6213 # files to appear (when present) in the UI as actual files and not red
6203 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6214 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6204 # and therefore SYMROOT, needs to be set at the project level. 6215 # and therefore SYMROOT, needs to be set at the project level.
6205 'SYMROOT': '<(DEPTH)/xcodebuild', 6216 'SYMROOT': '<(DEPTH)/xcodebuild',
6206 }, 6217 },
6207 } 6218 }
OLDNEW
« no previous file with comments | « no previous file | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698