| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 source_set("libc++abi") { | 5 source_set("libc++abi") { |
| 6 visibility = [ "//buildtools/third_party/libc++" ] | 6 visibility = [ "//buildtools/third_party/libc++" ] |
| 7 sources = [ | 7 sources = [ |
| 8 "trunk/src/abort_message.cpp", | 8 "trunk/src/abort_message.cpp", |
| 9 "trunk/src/cxa_aux_runtime.cpp", | 9 "trunk/src/cxa_aux_runtime.cpp", |
| 10 "trunk/src/cxa_default_handlers.cpp", | 10 "trunk/src/cxa_default_handlers.cpp", |
| 11 "trunk/src/cxa_demangle.cpp", | 11 "trunk/src/cxa_demangle.cpp", |
| 12 "trunk/src/cxa_exception.cpp", | 12 "trunk/src/cxa_exception.cpp", |
| 13 "trunk/src/cxa_exception_storage.cpp", | 13 "trunk/src/cxa_exception_storage.cpp", |
| 14 "trunk/src/cxa_guard.cpp", | 14 "trunk/src/cxa_guard.cpp", |
| 15 "trunk/src/cxa_handlers.cpp", | 15 "trunk/src/cxa_handlers.cpp", |
| 16 | 16 |
| 17 # This file is supposed to be used in fno-exception builds of | 17 # This file is supposed to be used in fno-exception builds of |
| 18 # libc++abi. We build lib++/libc++abi with exceptions enabled. | 18 # libc++abi. We build lib++/libc++abi with exceptions enabled. |
| 19 #"trunk/src/cxa_noexception.cpp", | 19 #"trunk/src/cxa_noexception.cpp", |
| 20 "trunk/src/cxa_personality.cpp", | 20 "trunk/src/cxa_personality.cpp", |
| 21 "trunk/src/cxa_unexpected.cpp", | 21 "trunk/src/cxa_unexpected.cpp", |
| 22 "trunk/src/cxa_vector.cpp", | 22 "trunk/src/cxa_vector.cpp", |
| 23 "trunk/src/cxa_virtual.cpp", | 23 "trunk/src/cxa_virtual.cpp", |
| 24 "trunk/src/fallback_malloc.cpp", | 24 "trunk/src/fallback_malloc.cpp", |
| 25 "trunk/src/private_typeinfo.cpp", | 25 "trunk/src/private_typeinfo.cpp", |
| 26 "trunk/src/stdlib_exception.cpp", | 26 "trunk/src/stdlib_exception.cpp", |
| 27 "trunk/src/stdlib_new_delete.cpp", | |
| 28 "trunk/src/stdlib_stdexcept.cpp", | 27 "trunk/src/stdlib_stdexcept.cpp", |
| 29 "trunk/src/stdlib_typeinfo.cpp", | 28 "trunk/src/stdlib_typeinfo.cpp", |
| 30 ] | 29 ] |
| 31 if (is_posix && !is_mac) { | 30 if (is_posix && !is_mac) { |
| 32 sources += [ "trunk/src/cxa_thread_atexit.cpp" ] | 31 sources += [ "trunk/src/cxa_thread_atexit.cpp" ] |
| 33 } | 32 } |
| 34 configs -= [ | 33 configs -= [ |
| 35 "//build/config/compiler:chromium_code", | 34 "//build/config/compiler:chromium_code", |
| 36 "//build/config/compiler:no_rtti", | 35 "//build/config/compiler:no_rtti", |
| 37 "//build/config/gcc:no_exceptions", | 36 "//build/config/gcc:no_exceptions", |
| 38 ] | 37 ] |
| 39 configs += [ | 38 configs += [ |
| 40 "//build/config/compiler:no_chromium_code", | 39 "//build/config/compiler:no_chromium_code", |
| 41 "//build/config/compiler:rtti", | 40 "//build/config/compiler:rtti", |
| 42 "//buildtools/third_party/libc++:config", | 41 "//buildtools/third_party/libc++:config", |
| 43 ] | 42 ] |
| 44 } | 43 } |
| OLD | NEW |