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

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

Issue 2946073002: Fix libc++ ARM build (Closed)
Patch Set: Condition on is_linux too Created 3 years, 6 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++abi/BUILD.gn ('k') | third_party/libunwind/OWNERS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 config("libunwind_config") {
6 # ValueAsBitPattern in Unwind-EHABI.cpp is only used on Debug builds.
7 cflags = [ "-Wno-unused-function" ]
8 }
9
10 source_set("libunwind") {
11 visibility = [ "//buildtools/third_party/libc++abi" ]
12 sources = [
13 # C++ sources
14 "trunk/src/Unwind-EHABI.cpp",
15 "trunk/src/libunwind.cpp",
16
17 # C sources
18 "trunk/src/Unwind-sjlj.c",
19 "trunk/src/UnwindLevel1-gcc-ext.c",
20 "trunk/src/UnwindLevel1.c",
21
22 # ASM sources
23 "trunk/src/UnwindRegistersRestore.S",
24 "trunk/src/UnwindRegistersSave.S",
25 ]
26 configs -= [
27 "//build/config/compiler:chromium_code",
28 "//build/config/compiler:no_rtti",
29 "//build/config/gcc:no_exceptions",
30 ]
31 configs += [
32 "//build/config/compiler:no_chromium_code",
33 "//build/config/compiler:rtti",
34 "//buildtools/third_party/libc++:config",
35
36 # Must be after no_chromium_code
37 ":libunwind_config",
38 ]
39 }
OLDNEW
« no previous file with comments | « third_party/libc++abi/BUILD.gn ('k') | third_party/libunwind/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698