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

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

Issue 2848383002: Sanitizers: Roll in 16 months of libcxx and libcxxabi changes. (Closed)
Patch Set: Created 3 years, 7 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++/BUILD.gn ('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 config("libc++abi_warnings") { 5 config("libc++abi_warnings") {
6 if (is_clang) { 6 if (is_clang) {
7 # http://llvm.org/PR25978 7 # http://llvm.org/PR25978
8 cflags = [ "-Wno-unused-function" ] 8 cflags = [ "-Wno-unused-function" ]
9 } 9 }
10 } 10 }
11 11
12 static_library("libc++abi") { 12 static_library("libc++abi") {
13 sources = [ 13 sources = [
14 "trunk/src/abort_message.cpp", 14 "trunk/src/abort_message.cpp",
15 "trunk/src/cxa_aux_runtime.cpp", 15 "trunk/src/cxa_aux_runtime.cpp",
16 "trunk/src/cxa_default_handlers.cpp", 16 "trunk/src/cxa_default_handlers.cpp",
17 "trunk/src/cxa_demangle.cpp", 17 "trunk/src/cxa_demangle.cpp",
18 "trunk/src/cxa_exception.cpp", 18 "trunk/src/cxa_exception.cpp",
19 "trunk/src/cxa_exception_storage.cpp", 19 "trunk/src/cxa_exception_storage.cpp",
20 "trunk/src/cxa_guard.cpp", 20 "trunk/src/cxa_guard.cpp",
21 "trunk/src/cxa_handlers.cpp", 21 "trunk/src/cxa_handlers.cpp",
22 "trunk/src/cxa_new_delete.cpp", 22
23 # This file is supposed to be used in fno-exception builds of
24 # libc++abi. We build lib++/libc++abi with exceptions enabled.
25 #"trunk/src/cxa_noexception.cpp",
23 "trunk/src/cxa_personality.cpp", 26 "trunk/src/cxa_personality.cpp",
24 "trunk/src/cxa_thread_atexit.cpp", 27 "trunk/src/cxa_thread_atexit.cpp",
25 "trunk/src/cxa_unexpected.cpp", 28 "trunk/src/cxa_unexpected.cpp",
26 "trunk/src/cxa_vector.cpp", 29 "trunk/src/cxa_vector.cpp",
27 "trunk/src/cxa_virtual.cpp", 30 "trunk/src/cxa_virtual.cpp",
28 "trunk/src/exception.cpp", 31 "trunk/src/fallback_malloc.cpp",
29 "trunk/src/private_typeinfo.cpp", 32 "trunk/src/private_typeinfo.cpp",
30 "trunk/src/stdexcept.cpp", 33 "trunk/src/stdlib_exception.cpp",
31 "trunk/src/typeinfo.cpp", 34 "trunk/src/stdlib_new_delete.cpp",
35 "trunk/src/stdlib_stdexcept.cpp",
36 "trunk/src/stdlib_typeinfo.cpp",
32 ] 37 ]
33 configs -= [ 38 configs -= [
34 "//build/config/compiler:chromium_code", 39 "//build/config/compiler:chromium_code",
35 "//build/config/compiler:no_rtti", 40 "//build/config/compiler:no_rtti",
36 "//build/config/gcc:no_exceptions", 41 "//build/config/gcc:no_exceptions",
37 "//build/config/gcc:symbol_visibility_hidden", 42 "//build/config/gcc:symbol_visibility_hidden",
38 ] 43 ]
39 configs += [ 44 configs += [
40 "//build/config/compiler:no_chromium_code", 45 "//build/config/compiler:no_chromium_code",
41 "//build/config/compiler:rtti", 46 "//build/config/compiler:rtti",
42 "//build/config/gcc:symbol_visibility_default", 47 "//build/config/gcc:symbol_visibility_default",
43 "//buildtools/third_party/libc++:config", 48 "//buildtools/third_party/libc++:config",
44 # Must be after no_chromium_code. 49 # Must be after no_chromium_code.
45 ":libc++abi_warnings", 50 ":libc++abi_warnings",
46 ] 51 ]
47 } 52 }
OLDNEW
« no previous file with comments | « third_party/libc++/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698