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 3429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3440 'target_conditions': [ | 3440 'target_conditions': [ |
3441 ['_toolset=="target"', { | 3441 ['_toolset=="target"', { |
3442 'ldflags': [ | 3442 'ldflags': [ |
3443 # Add RPATH to result binary to make it linking instrument
ed libraries ($ORIGIN means relative RPATH) | 3443 # Add RPATH to result binary to make it linking instrument
ed libraries ($ORIGIN means relative RPATH) |
3444 '-Wl,-R,\$$ORIGIN/instrumented_libraries/asan/lib/:\$$ORIG
IN/instrumented_libraries/asan/usr/lib/x86_64-linux-gnu/', | 3444 '-Wl,-R,\$$ORIGIN/instrumented_libraries/asan/lib/:\$$ORIG
IN/instrumented_libraries/asan/usr/lib/x86_64-linux-gnu/', |
3445 '-Wl,-z,origin', | 3445 '-Wl,-z,origin', |
3446 ], | 3446 ], |
3447 }], | 3447 }], |
3448 ], | 3448 ], |
3449 }], | 3449 }], |
| 3450 ['msan==1', { |
| 3451 'target_conditions': [ |
| 3452 ['_toolset=="target"', { |
| 3453 'ldflags': [ |
| 3454 '-Wl,-R,\$$ORIGIN/instrumented_libraries/msan/lib/:\$$ORIG
IN/instrumented_libraries/msan/usr/lib/x86_64-linux-gnu/', |
| 3455 '-Wl,-z,origin', |
| 3456 ], |
| 3457 }], |
| 3458 ], |
| 3459 }], |
3450 ], | 3460 ], |
3451 }], | 3461 }], |
3452 ['order_profiling!=0 and (chromeos==1 or OS=="linux" or OS=="android")
', { | 3462 ['order_profiling!=0 and (chromeos==1 or OS=="linux" or OS=="android")
', { |
3453 'target_conditions' : [ | 3463 'target_conditions' : [ |
3454 ['_toolset=="target"', { | 3464 ['_toolset=="target"', { |
3455 'cflags': [ | 3465 'cflags': [ |
3456 '-finstrument-functions', | 3466 '-finstrument-functions', |
3457 # Allow mmx intrinsics to inline, so that the | 3467 # Allow mmx intrinsics to inline, so that the |
3458 #0 compiler can expand the intrinsics. | 3468 #0 compiler can expand the intrinsics. |
3459 '-finstrument-functions-exclude-file-list=mmintrin.h', | 3469 '-finstrument-functions-exclude-file-list=mmintrin.h', |
(...skipping 1278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4738 # settings in target dicts. SYMROOT is a special case, because many other | 4748 # settings in target dicts. SYMROOT is a special case, because many other |
4739 # Xcode variables depend on it, including variables such as | 4749 # Xcode variables depend on it, including variables such as |
4740 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4750 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4741 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4751 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4742 # files to appear (when present) in the UI as actual files and not red | 4752 # files to appear (when present) in the UI as actual files and not red |
4743 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4753 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4744 # and therefore SYMROOT, needs to be set at the project level. | 4754 # and therefore SYMROOT, needs to be set at the project level. |
4745 'SYMROOT': '<(DEPTH)/xcodebuild', | 4755 'SYMROOT': '<(DEPTH)/xcodebuild', |
4746 }, | 4756 }, |
4747 } | 4757 } |
OLD | NEW |