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", |
(...skipping 10 matching lines...) Expand all Loading... |
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", | 27 "trunk/src/stdlib_new_delete.cpp", |
28 "trunk/src/stdlib_stdexcept.cpp", | 28 "trunk/src/stdlib_stdexcept.cpp", |
29 "trunk/src/stdlib_typeinfo.cpp", | 29 "trunk/src/stdlib_typeinfo.cpp", |
30 ] | 30 ] |
31 if (is_linux && !is_mac) { | 31 if (is_posix && !is_mac) { |
32 sources == [ "trunk/src/cxa_thread_atexit.cpp" ] | 32 sources += [ "trunk/src/cxa_thread_atexit.cpp" ] |
33 } | 33 } |
34 configs -= [ | 34 configs -= [ |
35 "//build/config/compiler:chromium_code", | 35 "//build/config/compiler:chromium_code", |
36 "//build/config/compiler:no_rtti", | 36 "//build/config/compiler:no_rtti", |
37 "//build/config/gcc:no_exceptions", | 37 "//build/config/gcc:no_exceptions", |
38 ] | 38 ] |
39 configs += [ | 39 configs += [ |
40 "//build/config/compiler:no_chromium_code", | 40 "//build/config/compiler:no_chromium_code", |
41 "//build/config/compiler:rtti", | 41 "//build/config/compiler:rtti", |
42 "//buildtools/third_party/libc++:config", | 42 "//buildtools/third_party/libc++:config", |
43 ] | 43 ] |
44 } | 44 } |
OLD | NEW |