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

Side by Side Diff: build/config/gcc/BUILD.gn

Issue 235863024: Make NSS work in GN build on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
scottmg 2014/04/16 18:15:02 2014
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 # This config causes functions not to be automatically exported from shared
6 # libraries. By default, all symbols are exported by tthis means there are
scottmg 2014/04/16 18:15:02 "by tthis" to "but this"
7 # lots of exports that slow everything down. In general we explicitly mark
8 # which functiosn we want to export from components.
9 #
10 # Some third_party code assumes all functions are exported so this is separated
11 # into its own config so such libraries can remove this config to make symbols
12 # public again.
13 #
14 # See http://gcc.gnu.org/wiki/Visibility
15 config("symbol_visibility_hidden") {
16 # Note that -fvisibility-inlines-hidden is set globally in the compiler
17 # config since that can almost always be applied.
18 cflags = [ "-fvisibility=hidden" ]
19 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698