| OLD | NEW |
| (Empty) |
| 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': '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', | |
| 42 '-Wshadow', | |
| 43 '-Wconversion', | |
| 44 '-Wunused-variable', | |
| 45 '-Wmissing-field-initializers', | |
| 46 '-Wchar-subscripts', | |
| 47 '-Wmismatched-tags', | |
| 48 '-Wmissing-braces', | |
| 49 '-Wshorten-64-to-32', | |
| 50 '-Wsign-compare', | |
| 51 '-Wstrict-aliasing=2', | |
| 52 '-Wstrict-overflow=4', | |
| 53 '-Wunused-parameter', | |
| 54 '-Wnewline-eof', | |
| 55 '-nostdinc++', | |
| 56 ], | |
| 57 'direct_dependent_settings': { | |
| 58 'target_conditions': [ | |
| 59 ['_type!="none"', { | |
| 60 'include_dirs': [ | |
| 61 'include', | |
| 62 ], | |
| 63 'cflags_cc': [ | |
| 64 '-nostdinc++', | |
| 65 ], | |
| 66 'ldflags': [ | |
| 67 '-L<(PRODUCT_DIR)/lib/', | |
| 68 ], | |
| 69 }], | |
| 70 ], | |
| 71 }, | |
| 72 'cflags_cc!': [ | |
| 73 '-fno-rtti', | |
| 74 ], | |
| 75 'cflags!': [ | |
| 76 '-fno-exceptions', | |
| 77 '-fvisibility=hidden', | |
| 78 ], | |
| 79 'ldflags': [ | |
| 80 '-nodefaultlibs', | |
| 81 ], | |
| 82 'ldflags!': [ | |
| 83 '-pthread', | |
| 84 ], | |
| 85 'libraries': [ | |
| 86 '-lrt', | |
| 87 '-lc', | |
| 88 ] | |
| 89 }, | |
| 90 ] | |
| 91 } | |
| OLD | NEW |