| OLD | NEW |
| (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 } |
| OLD | NEW |