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 'src/abort_message.cpp', |
| 16 'src/cxa_aux_runtime.cpp', |
| 17 'src/cxa_default_handlers.cpp', |
| 18 'src/cxa_demangle.cpp', |
| 19 'src/cxa_exception.cpp', |
| 20 'src/cxa_exception_storage.cpp', |
| 21 'src/cxa_guard.cpp', |
| 22 'src/cxa_handlers.cpp', |
| 23 'src/cxa_new_delete.cpp', |
| 24 'src/cxa_personality.cpp', |
| 25 'src/cxa_unexpected.cpp', |
| 26 'src/cxa_vector.cpp', |
| 27 'src/cxa_virtual.cpp', |
| 28 'src/exception.cpp', |
| 29 'src/private_typeinfo.cpp', |
| 30 'src/stdexcept.cpp', |
| 31 'src/typeinfo.cpp', |
| 32 ], |
| 33 'include_dirs': [ |
| 34 'include', |
| 35 '../libc++/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 '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 'ldflags!': [ |
| 73 '-pthread', |
| 74 ], |
| 75 'libraries': [ |
| 76 '-lrt', |
| 77 '-lc', |
| 78 ] |
| 79 }, |
| 80 ] |
| 81 } |
OLD | NEW |