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

Side by Side Diff: third_party/libcxx/libcxx.gyp

Issue 75213003: Add libc++ and libc++abi to third-party. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 1 month 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 # Copyright (c) 2012 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 {
6 'targets': [
7 {
8 'target_name': 'libcxx',
9 'type': 'shared_library',
10 'variables': {
11 'prune_self_dependency': 1,
12 },
13 'dependencies=': [
14 '../libcxxabi/libcxxabi.gyp:libcxxabi',
15 ],
16 'sources': [
17 'src/algorithm.cpp',
18 'src/bind.cpp',
19 'src/chrono.cpp',
20 'src/condition_variable.cpp',
21 'src/debug.cpp',
22 'src/exception.cpp',
23 'src/future.cpp',
24 'src/hash.cpp',
25 'src/ios.cpp',
26 'src/iostream.cpp',
27 'src/locale.cpp',
28 'src/memory.cpp',
29 'src/mutex.cpp',
30 'src/new.cpp',
31 'src/optional.cpp',
32 'src/random.cpp',
33 'src/regex.cpp',
34 'src/shared_mutex.cpp',
35 'src/stdexcept.cpp',
36 'src/string.cpp',
37 'src/strstream.cpp',
38 'src/system_error.cpp',
39 'src/thread.cpp',
40 'src/typeinfo.cpp',
41 'src/utility.cpp',
42 'src/valarray.cpp',
43 ],
44 'include_dirs': [
45 'include',
Alexander Potapenko 2013/11/19 15:28:08 This should be relative to <(DEPTH)
46 '../libcxxabi/include',
Alexander Potapenko 2013/11/19 15:28:08 Ditto.
47 ],
48 'cflags': [
49 '-g', '-Os', '-fPIC',
Alexander Potapenko 2013/11/19 15:28:08 Is there any upstream build config, doc or script
50 '-std=c++0x',
51 '-fstrict-aliasing',
52 '-Wall', '-Wextra', '-Wshadow', '-Wconversion', '-Wnewline-eof', '-Wpadd ed',
53 '-Wmissing-prototypes', '-Wstrict-aliasing=2', '-Wstrict-overflow=4',
54 '-nostdinc++',
55 ],
56 'link_settings': {
57 'cflags!': [
58 '-fno-exceptions',
59 ],
60 },
61 'all_dependent_settings': {
bradn 2013/11/22 17:49:17 So if you use all_dependent_settings here you shou
62 'libraries': [
63 '-lcxx',
bradn 2013/11/22 17:49:17 You shouldn't need to do this as you're building t
64 '-lcxxabi',
65 ],
66 'include_dirs': [
67 'include',
Alexander Potapenko 2013/11/19 15:28:08 Must be relative to <(DEPTH)
bradn 2013/11/22 17:49:17 In a gyp file this should be ok without <(DEPTH) a
68 ],
69 'ldflags': [
70 '-L<(PRODUCT_DIR)/lib',
71 ],
72 },
73 'cflags_cc!': [
74 '-fno-rtti',
75 ],
76 'ldflags': [
77 '-o libc++.so.1.0',
Alexander Potapenko 2013/11/19 15:28:08 Why do you need this one?
78 '-shared',
Alexander Potapenko 2013/11/19 15:28:08 -shared should be implied by the target type.
79 '-nodefaultlibs',
80 '-Wl,-soname,libc++.so.1',
81 '-L<(PRODUCT_DIR)/lib',
82 ],
83 'libraries': [
84 '-lrt',
85 '-lc',
86 '-lcxxabi',
Alexander Potapenko 2013/11/19 15:28:08 Provided that you have libcxxabi in the dependenci
87 ],
88 },
89 ]
90 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698