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

Side by Side Diff: build/common.gypi

Issue 11413110: Don't specify -Wl,--exclude-libs=ALL for shared library build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | no next file » | 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 2916 matching lines...) Expand 10 before | Expand all | Expand 10 after
2927 '-lc', 2927 '-lc',
2928 '-ldl', 2928 '-ldl',
2929 '-lstdc++', 2929 '-lstdc++',
2930 '-lm', 2930 '-lm',
2931 ], 2931 ],
2932 'conditions': [ 2932 'conditions': [
2933 ['component=="shared_library"', { 2933 ['component=="shared_library"', {
2934 'libraries': [ 2934 'libraries': [
2935 '-lgnustl_shared', 2935 '-lgnustl_shared',
2936 ], 2936 ],
2937 'ldflags!': [
2938 '-Wl,--exclude-libs=ALL',
2939 ],
2937 }], 2940 }],
2938 ['android_upstream_bringup==1', { 2941 ['android_upstream_bringup==1', {
2939 'defines': ['ANDROID_UPSTREAM_BRINGUP=1',], 2942 'defines': ['ANDROID_UPSTREAM_BRINGUP=1',],
2940 }], 2943 }],
2941 ['clang==1', { 2944 ['clang==1', {
2942 'cflags': [ 2945 'cflags': [
2943 # Work around incompatibilities between bionic and clang 2946 # Work around incompatibilities between bionic and clang
2944 # headers. 2947 # headers.
2945 '-D__compiler_offsetof=__builtin_offsetof', 2948 '-D__compiler_offsetof=__builtin_offsetof',
2946 '-Dnan=__builtin_nan', 2949 '-Dnan=__builtin_nan',
(...skipping 899 matching lines...) Expand 10 before | Expand all | Expand 10 after
3846 # settings in target dicts. SYMROOT is a special case, because many other 3849 # settings in target dicts. SYMROOT is a special case, because many other
3847 # Xcode variables depend on it, including variables such as 3850 # Xcode variables depend on it, including variables such as
3848 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3851 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3849 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3852 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3850 # files to appear (when present) in the UI as actual files and not red 3853 # files to appear (when present) in the UI as actual files and not red
3851 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3854 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3852 # and therefore SYMROOT, needs to be set at the project level. 3855 # and therefore SYMROOT, needs to be set at the project level.
3853 'SYMROOT': '<(DEPTH)/xcodebuild', 3856 'SYMROOT': '<(DEPTH)/xcodebuild',
3854 }, 3857 },
3855 } 3858 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698