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 4534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4545 }], | 4545 }], |
4546 ], | 4546 ], |
4547 }], | 4547 }], |
4548 ['msan==1', { | 4548 ['msan==1', { |
4549 'target_conditions': [ | 4549 'target_conditions': [ |
4550 ['_toolset=="target"', { | 4550 ['_toolset=="target"', { |
4551 'cflags': [ | 4551 'cflags': [ |
4552 '-fsanitize=memory', | 4552 '-fsanitize=memory', |
4553 '-fsanitize-memory-track-origins=<(msan_track_origins)', | 4553 '-fsanitize-memory-track-origins=<(msan_track_origins)', |
4554 '-fsanitize-blacklist=<(msan_blacklist)', | 4554 '-fsanitize-blacklist=<(msan_blacklist)', |
| 4555 # TODO(eugenis): Remove when msan migrates to new ABI (crbug.c
om/560589). |
| 4556 '-fPIC', |
4555 ], | 4557 ], |
4556 'ldflags': [ | 4558 'ldflags': [ |
4557 '-fsanitize=memory', | 4559 '-fsanitize=memory', |
| 4560 # TODO(eugenis): Remove when msan migrates to new ABI (crbug.c
om/560589). |
| 4561 '-pie', |
4558 ], | 4562 ], |
4559 'defines': [ | 4563 'defines': [ |
4560 'MEMORY_SANITIZER', | 4564 'MEMORY_SANITIZER', |
4561 ], | 4565 ], |
4562 }], | 4566 }], |
4563 ], | 4567 ], |
4564 }], | 4568 }], |
4565 ['use_instrumented_libraries==1', { | 4569 ['use_instrumented_libraries==1', { |
4566 'dependencies': [ | 4570 'dependencies': [ |
4567 '<(DEPTH)/third_party/instrumented_libraries/instrumented_librarie
s.gyp:instrumented_libraries', | 4571 '<(DEPTH)/third_party/instrumented_libraries/instrumented_librarie
s.gyp:instrumented_libraries', |
(...skipping 1795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6363 # settings in target dicts. SYMROOT is a special case, because many other | 6367 # settings in target dicts. SYMROOT is a special case, because many other |
6364 # Xcode variables depend on it, including variables such as | 6368 # Xcode variables depend on it, including variables such as |
6365 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6369 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6366 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6370 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6367 # files to appear (when present) in the UI as actual files and not red | 6371 # files to appear (when present) in the UI as actual files and not red |
6368 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6372 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6369 # and therefore SYMROOT, needs to be set at the project level. | 6373 # and therefore SYMROOT, needs to be set at the project level. |
6370 'SYMROOT': '<(DEPTH)/xcodebuild', | 6374 'SYMROOT': '<(DEPTH)/xcodebuild', |
6371 }, | 6375 }, |
6372 } | 6376 } |
OLD | NEW |