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 4517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4528 }], | 4528 }], |
4529 ], | 4529 ], |
4530 }], | 4530 }], |
4531 ['msan==1', { | 4531 ['msan==1', { |
4532 'target_conditions': [ | 4532 'target_conditions': [ |
4533 ['_toolset=="target"', { | 4533 ['_toolset=="target"', { |
4534 'cflags': [ | 4534 'cflags': [ |
4535 '-fsanitize=memory', | 4535 '-fsanitize=memory', |
4536 '-fsanitize-memory-track-origins=<(msan_track_origins)', | 4536 '-fsanitize-memory-track-origins=<(msan_track_origins)', |
4537 '-fsanitize-blacklist=<(msan_blacklist)', | 4537 '-fsanitize-blacklist=<(msan_blacklist)', |
4538 '-fPIC', | |
Nico
2015/11/25 15:26:02
I suppose these should get a "TODO: Remove once we
hans
2015/11/25 17:55:13
Done.
| |
4538 ], | 4539 ], |
4539 'ldflags': [ | 4540 'ldflags': [ |
4540 '-fsanitize=memory', | 4541 '-fsanitize=memory', |
4542 '-pie', | |
4541 ], | 4543 ], |
4542 'defines': [ | 4544 'defines': [ |
4543 'MEMORY_SANITIZER', | 4545 'MEMORY_SANITIZER', |
4544 ], | 4546 ], |
4545 }], | 4547 }], |
4546 ], | 4548 ], |
4547 }], | 4549 }], |
4548 ['use_instrumented_libraries==1', { | 4550 ['use_instrumented_libraries==1', { |
4549 'dependencies': [ | 4551 'dependencies': [ |
4550 '<(DEPTH)/third_party/instrumented_libraries/instrumented_librarie s.gyp:instrumented_libraries', | 4552 '<(DEPTH)/third_party/instrumented_libraries/instrumented_librarie s.gyp:instrumented_libraries', |
(...skipping 1757 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
6308 # settings in target dicts. SYMROOT is a special case, because many other | 6310 # settings in target dicts. SYMROOT is a special case, because many other |
6309 # Xcode variables depend on it, including variables such as | 6311 # Xcode variables depend on it, including variables such as |
6310 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6312 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6311 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6313 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6312 # files to appear (when present) in the UI as actual files and not red | 6314 # files to appear (when present) in the UI as actual files and not red |
6313 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6315 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6314 # and therefore SYMROOT, needs to be set at the project level. | 6316 # and therefore SYMROOT, needs to be set at the project level. |
6315 'SYMROOT': '<(DEPTH)/xcodebuild', | 6317 'SYMROOT': '<(DEPTH)/xcodebuild', |
6316 }, | 6318 }, |
6317 } | 6319 } |
OLD | NEW |