Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(410)

Side by Side Diff: build/common.gypi

Issue 240413004: Move instrumented-libraries-related settings out of common.gypi. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | third_party/instrumented_libraries/instrumented_libraries.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 3751 matching lines...) Expand 10 before | Expand all | Expand 10 after
3762 ], 3762 ],
3763 }], 3763 }],
3764 ], 3764 ],
3765 }], 3765 }],
3766 ], 3766 ],
3767 }], 3767 }],
3768 ['use_instrumented_libraries==1', { 3768 ['use_instrumented_libraries==1', {
3769 'dependencies': [ 3769 'dependencies': [
3770 '<(DEPTH)/third_party/instrumented_libraries/instrumented_librarie s.gyp:instrumented_libraries', 3770 '<(DEPTH)/third_party/instrumented_libraries/instrumented_librarie s.gyp:instrumented_libraries',
3771 ], 3771 ],
3772 'conditions': [
3773 ['asan==1', {
3774 'target_conditions': [
3775 ['_toolset=="target"', {
3776 'ldflags': [
3777 # Add RPATH to result binary to make it linking instrument ed libraries ($ORIGIN means relative RPATH)
3778 '-Wl,-R,\$$ORIGIN/instrumented_libraries/asan/lib/:\$$ORIG IN/instrumented_libraries/asan/usr/lib/x86_64-linux-gnu/',
3779 '-Wl,-z,origin',
3780 ],
3781 }],
3782 ],
3783 }],
3784 ['msan==1', {
3785 'target_conditions': [
3786 ['_toolset=="target"', {
3787 'ldflags': [
3788 '-Wl,-R,\$$ORIGIN/instrumented_libraries/msan/lib/:\$$ORIG IN/instrumented_libraries/msan/usr/lib/x86_64-linux-gnu/',
3789 '-Wl,-z,origin',
3790 ],
3791 }],
3792 ],
3793 }],
3794 ['tsan==1', {
3795 'target_conditions': [
3796 ['_toolset=="target"', {
3797 'ldflags': [
3798 # Add RPATH to result binary to make it linking instrument ed libraries ($ORIGIN means relative RPATH)
3799 '-Wl,-R,\$$ORIGIN/instrumented_libraries/tsan/lib/:\$$ORIG IN/instrumented_libraries/tsan/usr/lib/x86_64-linux-gnu/',
3800 '-Wl,-z,origin',
3801 ],
3802 }],
3803 ],
3804 }],
3805 ],
3806 }], 3772 }],
3807 ['use_custom_libcxx==1', { 3773 ['use_custom_libcxx==1', {
3808 'dependencies': [ 3774 'dependencies': [
3809 '<(DEPTH)/third_party/libc++/libc++.gyp:libc++', 3775 '<(DEPTH)/third_party/libc++/libc++.gyp:libc++',
3810 '<(DEPTH)/third_party/libc++abi/libc++abi.gyp:libc++abi', 3776 '<(DEPTH)/third_party/libc++abi/libc++abi.gyp:libc++abi',
3811 ], 3777 ],
3812 }], 3778 }],
3813 ['order_profiling!=0 and (chromeos==1 or OS=="linux" or OS=="android") ', { 3779 ['order_profiling!=0 and (chromeos==1 or OS=="linux" or OS=="android") ', {
3814 'target_conditions' : [ 3780 'target_conditions' : [
3815 ['_toolset=="target"', { 3781 ['_toolset=="target"', {
(...skipping 1421 matching lines...) Expand 10 before | Expand all | Expand 10 after
5237 # settings in target dicts. SYMROOT is a special case, because many other 5203 # settings in target dicts. SYMROOT is a special case, because many other
5238 # Xcode variables depend on it, including variables such as 5204 # Xcode variables depend on it, including variables such as
5239 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5205 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5240 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5206 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5241 # files to appear (when present) in the UI as actual files and not red 5207 # files to appear (when present) in the UI as actual files and not red
5242 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5208 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5243 # and therefore SYMROOT, needs to be set at the project level. 5209 # and therefore SYMROOT, needs to be set at the project level.
5244 'SYMROOT': '<(DEPTH)/xcodebuild', 5210 'SYMROOT': '<(DEPTH)/xcodebuild',
5245 }, 5211 },
5246 } 5212 }
OLDNEW
« no previous file with comments | « no previous file | third_party/instrumented_libraries/instrumented_libraries.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698