Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / libc++abi / libc++abi.gyp
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
3 # found in the LICENSE file.
4
5 {
6   'targets': [
7     {
8       'target_name': 'libc++abi',
9       'type': 'static_library',
10       'dependencies=': [],
11       'sources': [
12         'trunk/src/abort_message.cpp',
13         'trunk/src/cxa_aux_runtime.cpp',
14         'trunk/src/cxa_default_handlers.cpp',
15         'trunk/src/cxa_demangle.cpp',
16         'trunk/src/cxa_exception.cpp',
17         'trunk/src/cxa_exception_storage.cpp',
18         'trunk/src/cxa_guard.cpp',
19         'trunk/src/cxa_handlers.cpp',
20         'trunk/src/cxa_new_delete.cpp',
21         'trunk/src/cxa_personality.cpp',
22         'trunk/src/cxa_unexpected.cpp',
23         'trunk/src/cxa_vector.cpp',
24         'trunk/src/cxa_virtual.cpp',
25         'trunk/src/exception.cpp',
26         'trunk/src/private_typeinfo.cpp',
27         'trunk/src/stdexcept.cpp',
28         'trunk/src/typeinfo.cpp',
29       ],
30       'include_dirs': [
31         'trunk/include',
32         '../libc++/trunk/include'
33       ],
34       'cflags': [
35         '-fstrict-aliasing',
36         '-nostdinc++',
37         '-std=c++11',
38       ],
39       'cflags_cc!': [
40         '-fno-exceptions',
41         '-fno-rtti',
42       ],
43       'cflags!': [
44         '-fvisibility=hidden',
45       ],
46       'ldflags': [
47         '-nodefaultlibs',
48       ],
49       'ldflags!': [
50         '-pthread',
51       ],
52       'libraries': [
53         '-lc',
54         '-lgcc_s',
55         '-lpthread',
56         '-lrt',
57       ]
58     },
59   ]
60 }