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

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

Issue 1930753004: Always set symbol visibility when compiling with GCC / Clang. (Closed) Base URL: https://chromium.googlesource.com/chromium/buildtools.git@master
Patch Set: sync Created 4 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 }
(...skipping 21 matching lines...) Expand all
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", 37 "//build/config/gcc:symbol_visibility_hidden",
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 "//build/config/gcc:symbol_visibility_default",
42 "//buildtools/third_party/libc++:config", 43 "//buildtools/third_party/libc++:config",
43 # Must be after no_chromium_code. 44 # Must be after no_chromium_code.
44 ":libc++abi_warnings", 45 ":libc++abi_warnings",
45 ] 46 ]
46 } 47 }
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