| 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 4439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4450 'variables': { | 4450 'variables': { |
| 4451 'clang_dir': '../third_party/llvm-build/Release+Asserts/bin', | 4451 'clang_dir': '../third_party/llvm-build/Release+Asserts/bin', |
| 4452 }, | 4452 }, |
| 4453 }], | 4453 }], |
| 4454 ['asan==1', { | 4454 ['asan==1', { |
| 4455 'xcode_settings': { | 4455 'xcode_settings': { |
| 4456 'OTHER_CFLAGS': [ | 4456 'OTHER_CFLAGS': [ |
| 4457 '-fsanitize=address', | 4457 '-fsanitize=address', |
| 4458 '-mllvm -asan-globals=0', # http://crbug.com/352073 | 4458 '-mllvm -asan-globals=0', # http://crbug.com/352073 |
| 4459 '-w', # http://crbug.com/162783 | 4459 '-w', # http://crbug.com/162783 |
| 4460 '-gline-tables-only', |
| 4460 ], | 4461 ], |
| 4461 }, | 4462 }, |
| 4462 }], | 4463 }], |
| 4463 ['asan_coverage!=0', { | 4464 ['asan_coverage!=0', { |
| 4464 'target_conditions': [ | 4465 'target_conditions': [ |
| 4465 ['_toolset=="target"', { | 4466 ['_toolset=="target"', { |
| 4466 'cflags': [ | 4467 'cflags': [ |
| 4467 '-mllvm -asan-coverage=<(asan_coverage)', | 4468 '-mllvm -asan-coverage=<(asan_coverage)', |
| 4468 ], | 4469 ], |
| 4469 }], | 4470 }], |
| (...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5279 # settings in target dicts. SYMROOT is a special case, because many other | 5280 # settings in target dicts. SYMROOT is a special case, because many other |
| 5280 # Xcode variables depend on it, including variables such as | 5281 # Xcode variables depend on it, including variables such as |
| 5281 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5282 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5282 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5283 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5283 # files to appear (when present) in the UI as actual files and not red | 5284 # files to appear (when present) in the UI as actual files and not red |
| 5284 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5285 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5285 # and therefore SYMROOT, needs to be set at the project level. | 5286 # and therefore SYMROOT, needs to be set at the project level. |
| 5286 'SYMROOT': '<(DEPTH)/xcodebuild', | 5287 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5287 }, | 5288 }, |
| 5288 } | 5289 } |
| OLD | NEW |