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 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 } |
(...skipping 16 matching lines...) Expand all Loading... |
27 "trunk/src/cxa_virtual.cpp", | 27 "trunk/src/cxa_virtual.cpp", |
28 "trunk/src/exception.cpp", | 28 "trunk/src/exception.cpp", |
29 "trunk/src/private_typeinfo.cpp", | 29 "trunk/src/private_typeinfo.cpp", |
30 "trunk/src/stdexcept.cpp", | 30 "trunk/src/stdexcept.cpp", |
31 "trunk/src/typeinfo.cpp", | 31 "trunk/src/typeinfo.cpp", |
32 ] | 32 ] |
33 configs -= [ | 33 configs -= [ |
34 "//build/config/compiler:chromium_code", | 34 "//build/config/compiler:chromium_code", |
35 "//build/config/compiler:no_rtti", | 35 "//build/config/compiler:no_rtti", |
36 "//build/config/gcc:no_exceptions", | 36 "//build/config/gcc:no_exceptions", |
37 "//build/config/gcc:symbol_visibility_hidden", | |
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 "//build/config/gcc:symbol_visibility_default", | |
43 "//buildtools/third_party/libc++:config", | 41 "//buildtools/third_party/libc++:config", |
44 # Must be after no_chromium_code. | 42 # Must be after no_chromium_code. |
45 ":libc++abi_warnings", | 43 ":libc++abi_warnings", |
46 ] | 44 ] |
47 } | 45 } |
OLD | NEW |