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

Side by Side Diff: chrome/test/data/nacl/nacl_test_data.gyp

Issue 448803003: Non-SFI NaCl: Filter out all optimization flags for libc_free.c (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use regexp Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 'includes': [ 6 'includes': [
7 '../../../../ppapi/ppapi_nacl_test_common.gypi', 7 '../../../../ppapi/ppapi_nacl_test_common.gypi',
8 ], 8 ],
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 1162 matching lines...) Expand 10 before | Expand all | Expand 10 after
1173 '-O0', 1173 '-O0',
1174 ], 1174 ],
1175 'cflags!': [ 1175 'cflags!': [
1176 # We filter these out because release_extra_cflags or another 1176 # We filter these out because release_extra_cflags or another
1177 # such thing might be adding them in, and those options wind up 1177 # such thing might be adding them in, and those options wind up
1178 # coming after the -fno-stack-protector we added above. 1178 # coming after the -fno-stack-protector we added above.
1179 '-fstack-protector', 1179 '-fstack-protector',
1180 '-fstack-protector-all', 1180 '-fstack-protector-all',
1181 '-fprofile-generate', 1181 '-fprofile-generate',
1182 '-finstrument-functions', 1182 '-finstrument-functions',
1183 '-O2',
1184 # ARM GCC emits symbols like __aeabi_unwind_cpp_pr0 in 1183 # ARM GCC emits symbols like __aeabi_unwind_cpp_pr0 in
1185 # .exidx sections with this flag. 1184 # .exidx sections with this flag.
1186 '-funwind-tables', 1185 '-funwind-tables',
1187 ], 1186 ],
1188 'ldflags': [ 1187 'ldflags': [
1189 '-nostdlib', 1188 '-nostdlib',
1190 '-shared', 1189 '-shared',
1191 # This binary cannot relocate itself, so we should have no 1190 # This binary cannot relocate itself, so we should have no
1192 # undefined references left. 1191 # undefined references left.
1193 '-Wl,--no-undefined', 1192 '-Wl,--no-undefined',
1194 ], 1193 ],
1195 'ldflags!': [ 1194 'ldflags!': [
1196 # Explicitly remove the -pthread flag to avoid a link time warning. 1195 # Explicitly remove the -pthread flag to avoid a link time warning.
1197 '-pthread', 1196 '-pthread',
1198 ], 1197 ],
1199 # Do not use any sanitizers tools, which require a few symbols. 1198 # Do not use any sanitizers tools, which require a few symbols.
1200 'cflags/': [ 1199 'cflags/': [
1201 ['exclude', '-fsanitize'], 1200 ['exclude', '-fsanitize'],
1201 ['exclude', '^-O'], # Strip -O2, -Os etc.
1202 ], 1202 ],
1203 'ldflags/': [ 1203 'ldflags/': [
1204 ['exclude', '-fsanitize'], 1204 ['exclude', '-fsanitize'],
1205 ], 1205 ],
1206 'defines': [ 1206 'defines': [
1207 # The code depends on NaCl's headers. This is a macro for them. 1207 # The code depends on NaCl's headers. This is a macro for them.
1208 'NACL_LINUX=1', 1208 'NACL_LINUX=1',
1209 ], 1209 ],
1210 # For native_client/src/include/... 1210 # For native_client/src/include/...
1211 'include_dirs': [ 1211 'include_dirs': [
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
1254 'files': [ 1254 'files': [
1255 '>@(test_files)', 1255 '>@(test_files)',
1256 ], 1256 ],
1257 }, 1257 },
1258 ], 1258 ],
1259 }, 1259 },
1260 ], 1260 ],
1261 }], 1261 }],
1262 ], 1262 ],
1263 } 1263 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698