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

Side by Side Diff: third_party/libc++/libc++.gyp

Issue 340583002: Use all_dependent_settings to apply libc++ flags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | 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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'libcxx_proxy', 8 'target_name': 'libcxx_proxy',
9 'type': 'none', 9 'type': 'none',
10 'dependencies=': [ 10 'dependencies=': [
11 'libc++', 11 'libc++',
12 ], 12 ],
13 # Do not add dependency on libc++.so to dependents of this target. We 13 # Do not add dependency on libc++.so to dependents of this target. We
14 # don't want to pass libc++.so on the command line to the linker, as that 14 # don't want to pass libc++.so on the command line to the linker, as that
15 # would cause it to be linked into C executables which don't need it. 15 # would cause it to be linked into C executables which don't need it.
16 # Instead, we supply -stdlib=libc++ and let the clang driver decide. 16 # Instead, we supply -stdlib=libc++ and let the clang driver decide.
17 'dependencies_traverse': 0, 17 'dependencies_traverse': 0,
18 'variables': { 18 'variables': {
19 # Don't add this target to the dependencies of targets with type=none. 19 # Don't add this target to the dependencies of targets with type=none.
20 'link_dependency': 1, 20 'link_dependency': 1,
21 }, 21 },
22 'direct_dependent_settings': { 22 'all_dependent_settings': {
23 'target_conditions': [ 23 'target_conditions': [
24 ['_type!="none"', { 24 ['_type!="none"', {
25 'include_dirs': [ 25 'include_dirs': [
26 'trunk/include', 26 'trunk/include',
27 '../libc++abi/trunk/include', 27 '../libc++abi/trunk/include',
28 ], 28 ],
29 'cflags_cc': [ 29 'cflags_cc': [
30 '-nostdinc++', 30 '-nostdinc++',
31 ], 31 ],
32 'ldflags': [ 32 'ldflags': [
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 ], 118 ],
119 'libraries': [ 119 'libraries': [
120 '-lc', 120 '-lc',
121 '-lgcc_s', 121 '-lgcc_s',
122 '-lpthread', 122 '-lpthread',
123 '-lrt', 123 '-lrt',
124 ], 124 ],
125 }, 125 },
126 ] 126 ]
127 } 127 }
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