summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/libc++abi/libc++abi.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/libc++abi/libc++abi.gyp')
-rw-r--r--chromium/third_party/libc++abi/libc++abi.gyp75
1 files changed, 75 insertions, 0 deletions
diff --git a/chromium/third_party/libc++abi/libc++abi.gyp b/chromium/third_party/libc++abi/libc++abi.gyp
new file mode 100644
index 00000000000..b32ca093823
--- /dev/null
+++ b/chromium/third_party/libc++abi/libc++abi.gyp
@@ -0,0 +1,75 @@
+# Copyright 2013 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'libc++abi',
+ 'type': 'static_library',
+ 'dependencies=': [],
+ 'sources': [
+ 'trunk/src/abort_message.cpp',
+ 'trunk/src/cxa_aux_runtime.cpp',
+ 'trunk/src/cxa_default_handlers.cpp',
+ 'trunk/src/cxa_demangle.cpp',
+ 'trunk/src/cxa_exception.cpp',
+ 'trunk/src/cxa_exception_storage.cpp',
+ 'trunk/src/cxa_guard.cpp',
+ 'trunk/src/cxa_handlers.cpp',
+ 'trunk/src/cxa_new_delete.cpp',
+ 'trunk/src/cxa_personality.cpp',
+ 'trunk/src/cxa_unexpected.cpp',
+ 'trunk/src/cxa_vector.cpp',
+ 'trunk/src/cxa_virtual.cpp',
+ 'trunk/src/exception.cpp',
+ 'trunk/src/private_typeinfo.cpp',
+ 'trunk/src/stdexcept.cpp',
+ 'trunk/src/typeinfo.cpp',
+ ],
+ 'include_dirs': [
+ 'trunk/include',
+ '../libc++/trunk/include'
+ ],
+ 'cflags': [
+ '-g', '-O3', '-fPIC',
+ '-std=c++11',
+ '-fstrict-aliasing',
+ '-Wsign-conversion',
+ '-Wshadow',
+ '-Wconversion',
+ '-Wunused-variable',
+ '-Wmissing-field-initializers',
+ '-Wchar-subscripts',
+ '-Wmismatched-tags',
+ '-Wmissing-braces',
+ '-Wshorten-64-to-32',
+ '-Wsign-compare',
+ '-Wstrict-aliasing=2',
+ '-Wstrict-overflow=4',
+ '-Wunused-parameter',
+ '-Wnewline-eof',
+ '-nostdinc++',
+ ],
+ 'cflags_cc!': [
+ '-fno-rtti',
+ ],
+ 'cflags!': [
+ '-fno-exceptions',
+ '-fvisibility=hidden',
+ ],
+ 'ldflags': [
+ '-nodefaultlibs',
+ ],
+ 'ldflags!': [
+ '-pthread',
+ ],
+ 'libraries': [
+ '-lrt',
+ '-lgcc_s',
+ '-lpthread',
+ '-lc',
+ ]
+ },
+ ]
+}