Chromium Code Reviews
|
| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright (c) 2012 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': 'shared_library', | |
| 10 'variables': { | |
| 11 'prune_self_dependency': 1, | |
| 12 }, | |
| 13 'dependencies=': [], | |
| 14 'sources': [ | |
| 15 'trunk/src/abort_message.cpp', | |
| 16 'trunk/src/cxa_aux_runtime.cpp', | |
| 17 'trunk/src/cxa_default_handlers.cpp', | |
| 18 'trunk/src/cxa_demangle.cpp', | |
| 19 'trunk/src/cxa_exception.cpp', | |
| 20 'trunk/src/cxa_exception_storage.cpp', | |
| 21 'trunk/src/cxa_guard.cpp', | |
| 22 'trunk/src/cxa_handlers.cpp', | |
| 23 'trunk/src/cxa_new_delete.cpp', | |
| 24 'trunk/src/cxa_personality.cpp', | |
| 25 'trunk/src/cxa_unexpected.cpp', | |
| 26 'trunk/src/cxa_vector.cpp', | |
| 27 'trunk/src/cxa_virtual.cpp', | |
| 28 'trunk/src/exception.cpp', | |
| 29 'trunk/src/private_typeinfo.cpp', | |
| 30 'trunk/src/stdexcept.cpp', | |
| 31 'trunk/src/typeinfo.cpp', | |
|
Nico
2013/12/09 16:18:55
Do you need the Unwind stuff too?
(and the same c
alextaran1
2013/12/10 13:49:30
This Unwind stuff has declarations under #ifdef __
Nico
2013/12/10 17:47:29
That's a bug I suppose. We were able to build it o
| |
| 32 ], | |
| 33 'include_dirs': [ | |
| 34 'trunk/include', | |
| 35 '../libc++/trunk/include' | |
| 36 ], | |
| 37 'cflags': [ | |
| 38 '-g', '-O3', '-fPIC', | |
| 39 '-std=c++11', | |
| 40 '-fstrict-aliasing', | |
| 41 '-Wsign-conversion', '-Wshadow', '-Wconversion', '-Wunused-variable', | |
| 42 '-Wmissing-field-initializers', '-Wchar-subscripts', '-Wmismatched-tags' , | |
| 43 '-Wmissing-braces', '-Wshorten-64-to-32', '-Wsign-compare', '-Wstrict-al iasing=2', | |
| 44 '-Wstrict-overflow=4', '-Wunused-parameter', '-Wnewline-eof', | |
| 45 '-nostdinc++', | |
| 46 ], | |
| 47 'direct_dependent_settings': { | |
| 48 'target_conditions': [ | |
| 49 ['_type!="none"', { | |
| 50 'include_dirs': [ | |
| 51 'trunk/include', | |
| 52 ], | |
| 53 'cflags_cc': [ | |
| 54 '-nostdinc++', | |
| 55 ], | |
| 56 'ldflags': [ | |
| 57 '-L<(PRODUCT_DIR)/lib/', | |
| 58 ], | |
| 59 }], | |
| 60 ], | |
| 61 }, | |
| 62 'cflags_cc!': [ | |
| 63 '-fno-rtti', | |
| 64 ], | |
| 65 'cflags!': [ | |
| 66 '-fno-exceptions', | |
| 67 '-fvisibility=hidden', | |
| 68 ], | |
| 69 'ldflags': [ | |
| 70 '-nodefaultlibs', | |
| 71 ], | |
| 72 'libraries': [ | |
| 73 '-lrt', | |
| 74 '-lc', | |
| 75 '-lgcc_s', | |
|
Nico
2013/12/09 16:18:55
Do you still need to link against libgcc?
alextaran1
2013/12/10 13:49:30
Some time ago it was nesessary for build. Now it s
| |
| 76 ] | |
| 77 }, | |
| 78 ] | |
| 79 } | |
| OLD | NEW |