Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(636)

Side by Side Diff: third_party/libc++abi/BUILD.gn

Issue 2938913003: Force hidden symbol visibility for allocation operators (Closed)
Patch Set: Remove stdlib_new_delete from libc++abi Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/libc++/alloc_visibility_overrides.S ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 }
OLDNEW
« no previous file with comments | « third_party/libc++/alloc_visibility_overrides.S ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698