OLD | NEW |
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=': [ |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 'include_dirs': [ | 84 'include_dirs': [ |
85 'trunk/include', | 85 'trunk/include', |
86 '../libc++abi/trunk/include', | 86 '../libc++abi/trunk/include', |
87 ], | 87 ], |
88 'cflags': [ | 88 'cflags': [ |
89 '-fstrict-aliasing', | 89 '-fstrict-aliasing', |
90 '-nostdinc++', | 90 '-nostdinc++', |
91 '-std=c++11', | 91 '-std=c++11', |
92 ], | 92 ], |
93 'cflags_cc!': [ | 93 'cflags_cc!': [ |
| 94 '-fno-exceptions', |
94 '-fno-rtti', | 95 '-fno-rtti', |
95 ], | 96 ], |
96 'cflags!': [ | 97 'cflags!': [ |
97 '-fno-exceptions', | |
98 '-fvisibility=hidden', | 98 '-fvisibility=hidden', |
99 ], | 99 ], |
100 'ldflags': [ | 100 'ldflags': [ |
101 '-nodefaultlibs', | 101 '-nodefaultlibs', |
102 ], | 102 ], |
103 'ldflags!': [ | 103 'ldflags!': [ |
104 # This somehow causes a warning from clang about an unused compilation | 104 # This somehow causes a warning from clang about an unused compilation |
105 # option. Use '-lpthread' instead. | 105 # option. Use '-lpthread' instead. |
106 # TODO(earthdok): find out what's causing the warning. | 106 # TODO(earthdok): find out what's causing the warning. |
107 '-pthread', | 107 '-pthread', |
108 ], | 108 ], |
109 'libraries': [ | 109 'libraries': [ |
110 '-lc', | 110 '-lc', |
111 '-lgcc_s', | 111 '-lgcc_s', |
112 '-lpthread', | 112 '-lpthread', |
113 '-lrt', | 113 '-lrt', |
114 ], | 114 ], |
115 }, | 115 }, |
116 ] | 116 ] |
117 } | 117 } |
OLD | NEW |