OLD | NEW |
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 17 matching lines...) Expand all Loading... |
28 "-Wl,-rpath-link=lib/", | 28 "-Wl,-rpath-link=lib/", |
29 ] | 29 ] |
30 | 30 |
31 if (is_android) { | 31 if (is_android) { |
32 ldflags += [ | 32 ldflags += [ |
33 "-Bdynamic", | 33 "-Bdynamic", |
34 "-Wl,-z,nocopyreloc", | 34 "-Wl,-z,nocopyreloc", |
35 ] | 35 ] |
36 } | 36 } |
37 } | 37 } |
| 38 |
| 39 config("no_exceptions") { |
| 40 cflags_cc = [ "-fno-exceptions" ] |
| 41 } |
OLD | NEW |