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

Side by Side Diff: third_party/libc++/libc++.gyp

Issue 561063002: Reland of -fno-exceptions only on .cc files https://codereview.chromium.org/560873003/ with fix for… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: and another Created 6 years, 3 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 | « build/common.gypi ('k') | third_party/libc++abi/libc++abi.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'libcxx_proxy', 8 'target_name': 'libcxx_proxy',
9 'type': 'none', 9 'type': 'none',
10 'dependencies=': [ 10 'dependencies=': [
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 'include_dirs': [ 84 'include_dirs': [
85 'trunk/include', 85 'trunk/include',
86 '../libc++abi/trunk/include', 86 '../libc++abi/trunk/include',
87 ], 87 ],
88 'cflags': [ 88 'cflags': [
89 '-fstrict-aliasing', 89 '-fstrict-aliasing',
90 '-nostdinc++', 90 '-nostdinc++',
91 '-std=c++11', 91 '-std=c++11',
92 ], 92 ],
93 'cflags_cc!': [ 93 'cflags_cc!': [
94 '-fno-exceptions',
94 '-fno-rtti', 95 '-fno-rtti',
95 ], 96 ],
96 'cflags!': [ 97 'cflags!': [
97 '-fno-exceptions',
98 '-fvisibility=hidden', 98 '-fvisibility=hidden',
99 ], 99 ],
100 'ldflags': [ 100 'ldflags': [
101 '-nodefaultlibs', 101 '-nodefaultlibs',
102 ], 102 ],
103 'ldflags!': [ 103 'ldflags!': [
104 # This somehow causes a warning from clang about an unused compilation 104 # This somehow causes a warning from clang about an unused compilation
105 # option. Use '-lpthread' instead. 105 # option. Use '-lpthread' instead.
106 # TODO(earthdok): find out what's causing the warning. 106 # TODO(earthdok): find out what's causing the warning.
107 '-pthread', 107 '-pthread',
108 ], 108 ],
109 'libraries': [ 109 'libraries': [
110 '-lc', 110 '-lc',
111 '-lgcc_s', 111 '-lgcc_s',
112 '-lpthread', 112 '-lpthread',
113 '-lrt', 113 '-lrt',
114 ], 114 ],
115 }, 115 },
116 ] 116 ]
117 } 117 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | third_party/libc++abi/libc++abi.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698