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

Side by Side Diff: build/common.gypi

Issue 12941005: Add library paths and rlink-paths for directories in the sysroot. (try 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 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 | build/linux/sysroot_ld_path.sh » ('j') | build/linux/sysroot_ld_path.sh » ('J')
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 2816 matching lines...) Expand 10 before | Expand all | Expand 10 after
2827 ], 2827 ],
2828 }], 2828 }],
2829 ['sysroot!=""', { 2829 ['sysroot!=""', {
2830 'target_conditions': [ 2830 'target_conditions': [
2831 ['_toolset=="target"', { 2831 ['_toolset=="target"', {
2832 'cflags': [ 2832 'cflags': [
2833 '--sysroot=<(sysroot)', 2833 '--sysroot=<(sysroot)',
2834 ], 2834 ],
2835 'ldflags': [ 2835 'ldflags': [
2836 '--sysroot=<(sysroot)', 2836 '--sysroot=<(sysroot)',
2837 '<!(<(DEPTH)/build/linux/sysroot_ld_path.sh <(sysroot))',
2837 ], 2838 ],
2838 }]] 2839 }]]
2839 }], 2840 }],
2840 ['clang==1', { 2841 ['clang==1', {
2841 'cflags': [ 2842 'cflags': [
2842 '-Wheader-hygiene', 2843 '-Wheader-hygiene',
2843 # Clang spots more unused functions. 2844 # Clang spots more unused functions.
2844 '-Wno-unused-function', 2845 '-Wno-unused-function',
2845 # Don't die on dtoa code that uses a char as an array index. 2846 # Don't die on dtoa code that uses a char as an array index.
2846 '-Wno-char-subscripts', 2847 '-Wno-char-subscripts',
(...skipping 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after
4161 # settings in target dicts. SYMROOT is a special case, because many other 4162 # settings in target dicts. SYMROOT is a special case, because many other
4162 # Xcode variables depend on it, including variables such as 4163 # Xcode variables depend on it, including variables such as
4163 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4164 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4164 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4165 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4165 # files to appear (when present) in the UI as actual files and not red 4166 # files to appear (when present) in the UI as actual files and not red
4166 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4167 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4167 # and therefore SYMROOT, needs to be set at the project level. 4168 # and therefore SYMROOT, needs to be set at the project level.
4168 'SYMROOT': '<(DEPTH)/xcodebuild', 4169 'SYMROOT': '<(DEPTH)/xcodebuild',
4169 }, 4170 },
4170 } 4171 }
OLDNEW
« no previous file with comments | « no previous file | build/linux/sysroot_ld_path.sh » ('j') | build/linux/sysroot_ld_path.sh » ('J')

Powered by Google App Engine
This is Rietveld 408576698