Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: third_party/libcxxabi/libcxxabi.gyp

Issue 75213003: Add libc++ and libc++abi to third-party. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/libcxxabi/libcxxabi.gyp
===================================================================
--- third_party/libcxxabi/libcxxabi.gyp (revision 0)
+++ third_party/libcxxabi/libcxxabi.gyp (revision 0)
@@ -0,0 +1,71 @@
+# Copyright (c) 2012 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': 'libcxxabi',
+ 'type': 'shared_library',
+ 'variables': {
+ 'prune_self_dependency': 1,
+ },
+ 'dependencies=': [],
+ 'sources': [
+ 'src/abort_message.cpp',
+ 'src/cxa_aux_runtime.cpp',
+ 'src/cxa_default_handlers.cpp',
+ 'src/cxa_demangle.cpp',
+ 'src/cxa_exception.cpp',
+ 'src/cxa_exception_storage.cpp',
+ 'src/cxa_guard.cpp',
+ 'src/cxa_handlers.cpp',
+ 'src/cxa_new_delete.cpp',
+ 'src/cxa_personality.cpp',
+ 'src/cxa_unexpected.cpp',
+ 'src/cxa_vector.cpp',
+ 'src/cxa_virtual.cpp',
+ 'src/exception.cpp',
+ 'src/private_typeinfo.cpp',
+ 'src/stdexcept.cpp',
+ 'src/typeinfo.cpp',
+ ],
+ 'include_dirs': [
+ 'include',
+ '../libcxx/include'
+ ],
+ 'cflags': [
+ '-g', '-O3', '-fPIC',
+ '-std=c++11',
+ '-fstrict-aliasing',
+ '-Wstrict-aliasing=2', '-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',
+ ],
+ 'link_settings': {
+ 'cflags!': [
+ '-fno-exceptions',
+ ],
+ },
+ 'all_dependent_settings': {
+ 'include_dirs': [
+ 'include',
+ ],
+ },
+ 'cflags_cc!': [
+ '-fno-rtti',
+ ],
+ 'ldflags': [
+ '-o libc++abi.so.1.0',
+ '-shared',
+ '-nodefaultlibs',
+ '-Wl,-soname,libc++abi.so.1',
+ ],
+ 'libraries': [
+ '-lrt',
+ '-lc',
+ ]
+ },
+ ]
+}
Property changes on: third_party/libcxxabi/libcxxabi.gyp
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698