| 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 1187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1198 }], | 1198 }], |
| 1199 | 1199 |
| 1200 ['asan==1', { | 1200 ['asan==1', { |
| 1201 'clang%': 1, | 1201 'clang%': 1, |
| 1202 # Do not use Chrome plugins for Clang. The Clang version in | 1202 # Do not use Chrome plugins for Clang. The Clang version in |
| 1203 # third_party/asan may be different from the default one. | 1203 # third_party/asan may be different from the default one. |
| 1204 # TODO(glider): this isn't true anymore, need to check if we can use the | 1204 # TODO(glider): this isn't true anymore, need to check if we can use the |
| 1205 # plugins now. | 1205 # plugins now. |
| 1206 'clang_use_chrome_plugins%': 0, | 1206 'clang_use_chrome_plugins%': 0, |
| 1207 }], | 1207 }], |
| 1208 | 1208 ['asan==1 and OS=="mac"', { |
| 1209 # See http://crbug.com/145503. |
| 1210 'component': "static_library", |
| 1211 }], |
| 1209 ['tsan==1', { | 1212 ['tsan==1', { |
| 1210 'clang%': 1, | 1213 'clang%': 1, |
| 1211 }], | 1214 }], |
| 1212 | 1215 |
| 1213 # On valgrind bots, override the optimizer settings so we don't inline too | 1216 # On valgrind bots, override the optimizer settings so we don't inline too |
| 1214 # much and make the stacks harder to figure out. | 1217 # much and make the stacks harder to figure out. |
| 1215 # | 1218 # |
| 1216 # TODO(rnk): Kill off variables that no one else uses and just implement | 1219 # TODO(rnk): Kill off variables that no one else uses and just implement |
| 1217 # them under a build_for_tool== condition. | 1220 # them under a build_for_tool== condition. |
| 1218 ['build_for_tool=="memcheck" or build_for_tool=="tsan"', { | 1221 ['build_for_tool=="memcheck" or build_for_tool=="tsan"', { |
| (...skipping 2197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3416 # settings in target dicts. SYMROOT is a special case, because many other | 3419 # settings in target dicts. SYMROOT is a special case, because many other |
| 3417 # Xcode variables depend on it, including variables such as | 3420 # Xcode variables depend on it, including variables such as |
| 3418 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3421 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 3419 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3422 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 3420 # files to appear (when present) in the UI as actual files and not red | 3423 # files to appear (when present) in the UI as actual files and not red |
| 3421 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3424 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 3422 # and therefore SYMROOT, needs to be set at the project level. | 3425 # and therefore SYMROOT, needs to be set at the project level. |
| 3423 'SYMROOT': '<(DEPTH)/xcodebuild', | 3426 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 3424 }, | 3427 }, |
| 3425 } | 3428 } |
| OLD | NEW |