OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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': 'libc++abi', | 8 'target_name': 'libc++abi', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'toolsets': ['host', 'target'], | 10 'toolsets': ['host', 'target'], |
(...skipping 15 matching lines...) Expand all Loading... |
26 'trunk/src/exception.cpp', | 26 'trunk/src/exception.cpp', |
27 'trunk/src/private_typeinfo.cpp', | 27 'trunk/src/private_typeinfo.cpp', |
28 'trunk/src/stdexcept.cpp', | 28 'trunk/src/stdexcept.cpp', |
29 'trunk/src/typeinfo.cpp', | 29 'trunk/src/typeinfo.cpp', |
30 ], | 30 ], |
31 'include_dirs': [ | 31 'include_dirs': [ |
32 'trunk/include', | 32 'trunk/include', |
33 '../libc++/trunk/include' | 33 '../libc++/trunk/include' |
34 ], | 34 ], |
35 'cflags': [ | 35 'cflags': [ |
| 36 '-fPIC', |
36 '-fstrict-aliasing', | 37 '-fstrict-aliasing', |
37 '-nostdinc++', | 38 '-nostdinc++', |
| 39 '-pthread', |
38 '-std=c++11', | 40 '-std=c++11', |
39 ], | 41 ], |
40 'cflags_cc!': [ | 42 'cflags_cc!': [ |
41 '-fno-exceptions', | 43 '-fno-exceptions', |
42 '-fno-rtti', | 44 '-fno-rtti', |
43 ], | 45 ], |
44 'cflags!': [ | 46 'cflags!': [ |
45 '-fvisibility=hidden', | 47 '-fvisibility=hidden', |
46 ], | 48 ], |
47 'ldflags': [ | |
48 '-nodefaultlibs', | |
49 ], | |
50 'ldflags!': [ | |
51 '-pthread', | |
52 ], | |
53 'libraries': [ | |
54 '-lc', | |
55 '-lgcc_s', | |
56 '-lpthread', | |
57 '-lrt', | |
58 ] | |
59 }, | 49 }, |
60 ] | 50 ] |
61 } | 51 } |
OLD | NEW |