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

Side by Side Diff: third_party/libunwind/BUILD.gn

Issue 2953323002: Ensure libunwind symbols are hidden (Closed)
Patch Set: Roll libunwind to r306442 Created 3 years, 5 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 | « DEPS ('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 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 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("libunwind_config") { 5 config("libunwind_config") {
6 # ValueAsBitPattern in Unwind-EHABI.cpp is only used on Debug builds. 6 # ValueAsBitPattern in Unwind-EHABI.cpp is only used on Debug builds.
7 cflags = [ "-Wno-unused-function" ] 7 cflags = [ "-Wno-unused-function" ]
8 } 8 }
9 9
10 source_set("libunwind") { 10 source_set("libunwind") {
11 visibility = [ "//buildtools/third_party/libc++abi" ] 11 visibility = [ "//buildtools/third_party/libc++abi" ]
12 defines = [ "_LIBUNWIND_DISABLE_VISIBILITY_ANNOTATIONS" ]
12 sources = [ 13 sources = [
13 # C++ sources 14 # C++ sources
14 "trunk/src/Unwind-EHABI.cpp", 15 "trunk/src/Unwind-EHABI.cpp",
15 "trunk/src/libunwind.cpp", 16 "trunk/src/libunwind.cpp",
16 17
17 # C sources 18 # C sources
18 "trunk/src/Unwind-sjlj.c", 19 "trunk/src/Unwind-sjlj.c",
19 "trunk/src/UnwindLevel1-gcc-ext.c", 20 "trunk/src/UnwindLevel1-gcc-ext.c",
20 "trunk/src/UnwindLevel1.c", 21 "trunk/src/UnwindLevel1.c",
21 22
22 # ASM sources 23 # ASM sources
23 "trunk/src/UnwindRegistersRestore.S", 24 "trunk/src/UnwindRegistersRestore.S",
24 "trunk/src/UnwindRegistersSave.S", 25 "trunk/src/UnwindRegistersSave.S",
25 ] 26 ]
26 configs -= [ 27 configs -= [
27 "//build/config/compiler:chromium_code", 28 "//build/config/compiler:chromium_code",
28 "//build/config/compiler:no_rtti", 29 "//build/config/compiler:no_rtti",
29 "//build/config/gcc:no_exceptions", 30 "//build/config/gcc:no_exceptions",
30 ] 31 ]
31 configs += [ 32 configs += [
32 "//build/config/compiler:no_chromium_code", 33 "//build/config/compiler:no_chromium_code",
33 "//build/config/compiler:rtti", 34 "//build/config/compiler:rtti",
34 "//buildtools/third_party/libc++:config", 35 "//buildtools/third_party/libc++:config",
35 36
36 # Must be after no_chromium_code 37 # Must be after no_chromium_code
37 ":libunwind_config", 38 ":libunwind_config",
38 ] 39 ]
39 } 40 }
OLDNEW
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698