Upstream version 7.36.149.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         '-g', '-O3', '-fPIC',
36         '-std=c++11',
37         '-fstrict-aliasing',
38         '-Wsign-conversion',
39         '-Wshadow',
40         '-Wconversion',
41         '-Wunused-variable',
42         '-Wmissing-field-initializers',
43         '-Wchar-subscripts',
44         '-Wmismatched-tags',
45         '-Wmissing-braces',
46         '-Wshorten-64-to-32',
47         '-Wsign-compare',
48         '-Wstrict-aliasing=2',
49         '-Wstrict-overflow=4',
50         '-Wunused-parameter',
51         '-Wnewline-eof',
52         '-nostdinc++',
53       ],
54       'cflags_cc!': [
55         '-fno-rtti',
56       ],
57       'cflags!': [
58         '-fno-exceptions',
59         '-fvisibility=hidden',
60       ],
61       'ldflags': [
62         '-nodefaultlibs',
63       ],
64       'ldflags!': [
65         '-pthread',
66       ],
67       'libraries': [
68         '-lrt',
69         '-lgcc_s',
70         '-lpthread',
71         '-lc',
72       ]
73     },
74   ]
75 }