Chromium Code Reviews| 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 5042 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5053 ], | 5053 ], |
| 5054 }, | 5054 }, |
| 5055 }], | 5055 }], |
| 5056 ['asan==1', { | 5056 ['asan==1', { |
| 5057 # ASan on Windows is a work in progress and very experimental. | 5057 # ASan on Windows is a work in progress and very experimental. |
| 5058 # See crbug.com/345874. | 5058 # See crbug.com/345874. |
| 5059 'VCCLCompilerTool': { | 5059 'VCCLCompilerTool': { |
| 5060 'AdditionalOptions': [ | 5060 'AdditionalOptions': [ |
| 5061 '-fsanitize=address', | 5061 '-fsanitize=address', |
| 5062 ], | 5062 ], |
| 5063 'AdditionalIncludeDirectories': [ | |
| 5064 # MSVC needs to be able to find the sanitizer headers when | |
| 5065 # invoked via /fallback. | |
|
Timur Iskhodzhanov
2014/05/16 09:22:43
Please add
"... which is critical to use macros li
hans
2014/05/16 16:39:47
Done.
| |
| 5066 '<(DEPTH)/<(make_clang_dir)/lib/clang/3.5.0/include_sanitizer' , | |
| 5067 ], | |
| 5063 }, | 5068 }, |
| 5064 'VCLinkerTool': { | 5069 'VCLinkerTool': { |
| 5065 'AdditionalLibraryDirectories': [ | 5070 'AdditionalLibraryDirectories': [ |
| 5066 # TODO(hans): If make_clang_dir is absolute, this breaks. | 5071 # TODO(hans): If make_clang_dir is absolute, this breaks. |
| 5067 '<(DEPTH)/<(make_clang_dir)/lib/clang/3.5.0/lib/windows', | 5072 '<(DEPTH)/<(make_clang_dir)/lib/clang/3.5.0/lib/windows', |
| 5068 ], | 5073 ], |
| 5069 }, | 5074 }, |
| 5070 'target_conditions': [ | 5075 'target_conditions': [ |
| 5071 ['_type=="executable"', { | 5076 ['_type=="executable"', { |
| 5072 'VCLinkerTool': { | 5077 'VCLinkerTool': { |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5281 # settings in target dicts. SYMROOT is a special case, because many other | 5286 # settings in target dicts. SYMROOT is a special case, because many other |
| 5282 # Xcode variables depend on it, including variables such as | 5287 # Xcode variables depend on it, including variables such as |
| 5283 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5288 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5284 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5289 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5285 # files to appear (when present) in the UI as actual files and not red | 5290 # files to appear (when present) in the UI as actual files and not red |
| 5286 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5291 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5287 # and therefore SYMROOT, needs to be set at the project level. | 5292 # and therefore SYMROOT, needs to be set at the project level. |
| 5288 'SYMROOT': '<(DEPTH)/xcodebuild', | 5293 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5289 }, | 5294 }, |
| 5290 } | 5295 } |
| OLD | NEW |