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

Side by Side Diff: third_party/libc++abi/BUILD.gn

Issue 1145333004: Add GN targets for libc++ and libc++abi. (Closed) Base URL: https://chromium.googlesource.com/chromium/buildtools.git@master
Patch Set: Created 5 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
« third_party/libc++/BUILD.gn ('K') | « third_party/libc++/BUILD.gn ('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
(Empty)
1 # Copyright 2015 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 static_library("libc++abi") {
6 sources = [
7 "trunk/src/abort_message.cpp",
8 "trunk/src/cxa_aux_runtime.cpp",
9 "trunk/src/cxa_default_handlers.cpp",
10 "trunk/src/cxa_demangle.cpp",
11 "trunk/src/cxa_exception.cpp",
12 "trunk/src/cxa_exception_storage.cpp",
13 "trunk/src/cxa_guard.cpp",
14 "trunk/src/cxa_handlers.cpp",
15 "trunk/src/cxa_new_delete.cpp",
16 "trunk/src/cxa_personality.cpp",
17 "trunk/src/cxa_unexpected.cpp",
18 "trunk/src/cxa_vector.cpp",
19 "trunk/src/cxa_virtual.cpp",
20 "trunk/src/exception.cpp",
21 "trunk/src/private_typeinfo.cpp",
22 "trunk/src/stdexcept.cpp",
23 "trunk/src/typeinfo.cpp",
24 ]
25 include_dirs = [
26 "trunk/include",
27 "../libc++/trunk/include",
28 ]
29 cflags = [
earthdok 2015/05/25 15:48:19 What happened to the exclusion lists? 'cfla
Sam McNally 2015/05/26 00:55:49 The cflags and cflags_cc are handled by removing c
30 "-fstrict-aliasing",
31 "-nostdinc++",
32 "-std=c++11",
33 ]
34 configs -= [
35 "//build/config/gcc:no_exceptions",
36 "//build/config/compiler:no_rtti",
37 "//build/config/gcc:symbol_visibility_hidden",
38 "//build/config/compiler:chromium_code",
39 ]
40 configs += [
41 "//build/config/compiler:rtti",
42 "//build/config/compiler:no_chromium_code",
43 ]
44 ldflags = [ "-nodefaultlibs" ]
45 libs = [
46 "c",
47 "gcc_s",
48 "pthread",
49 "rt",
50 ]
51 }
OLDNEW
« third_party/libc++/BUILD.gn ('K') | « third_party/libc++/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698