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

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

Issue 431803003: gn win: Enable exceptions for pdfium build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: include pdfium roll Created 6 years, 4 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
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 # This config causes functions not to be automatically exported from shared 5 # This config causes functions not to be automatically exported from shared
6 # libraries. By default, all symbols are exported but this means there are 6 # libraries. By default, all symbols are exported but this means there are
7 # lots of exports that slow everything down. In general we explicitly mark 7 # lots of exports that slow everything down. In general we explicitly mark
8 # which functiosn we want to export from components. 8 # which functiosn we want to export from components.
9 # 9 #
10 # Some third_party code assumes all functions are exported so this is separated 10 # Some third_party code assumes all functions are exported so this is separated
(...skipping 20 matching lines...) Expand all
31 "-Wl,--disable-new-dtags", 31 "-Wl,--disable-new-dtags",
32 ] 32 ]
33 33
34 if (is_android) { 34 if (is_android) {
35 ldflags += [ 35 ldflags += [
36 "-Bdynamic", 36 "-Bdynamic",
37 "-Wl,-z,nocopyreloc", 37 "-Wl,-z,nocopyreloc",
38 ] 38 ]
39 } 39 }
40 } 40 }
41
42 config("no_exceptions") {
43 cflags_cc = [ "-fno-exceptions" ]
44 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698