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

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

Issue 385073010: Revert 282697 "Non-SFI NaCl: Fix browser_tests based on libc_free.c" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 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 | trunk/src/chrome/test/data/nacl/nonsfi/libc_free.c » ('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 (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 1121 matching lines...) Expand 10 before | Expand all | Expand 10 after
1132 # The program does not apply any dynamic relocations at start up, 1132 # The program does not apply any dynamic relocations at start up,
1133 # so it cannot rely on relocations having been applied. 1133 # so it cannot rely on relocations having been applied.
1134 # In addition, -fvisibility=hidden avoids creating some types 1134 # In addition, -fvisibility=hidden avoids creating some types
1135 # of relocation. 1135 # of relocation.
1136 'cflags': [ 1136 'cflags': [
1137 '-fPIC', 1137 '-fPIC',
1138 '-fvisibility=hidden', 1138 '-fvisibility=hidden',
1139 1139
1140 # Stack-Smashing protector does not work with libc-free context. 1140 # Stack-Smashing protector does not work with libc-free context.
1141 '-fno-stack-protector', 1141 '-fno-stack-protector',
1142 # Optimizers may translate the original code to code which
1143 # requires builtin functions and/or relocations. Specifically,
1144 # the LLVM's optimizer translates for-loop based zero
1145 # clear to memset.
1146 '-O0',
1147 ], 1142 ],
1148 'cflags!': [ 1143 'cflags!': [
1149 # We filter these out because release_extra_cflags or another 1144 # We filter these out because release_extra_cflags or another
1150 # such thing might be adding them in, and those options wind up 1145 # such thing might be adding them in, and those options wind up
1151 # coming after the -fno-stack-protector we added above. 1146 # coming after the -fno-stack-protector we added above.
1152 '-fstack-protector', 1147 '-fstack-protector',
1153 '-fstack-protector-all', 1148 '-fstack-protector-all',
1154 '-fprofile-generate', 1149 '-fprofile-generate',
1155 '-finstrument-functions', 1150 '-finstrument-functions',
1156 '-O2',
1157 ], 1151 ],
1158 'ldflags': [ 1152 'ldflags': [
1159 '-nostdlib', 1153 '-nostdlib',
1160 '-shared', 1154 '-shared',
1161 # This binary cannot relocate itself, so we should have no
1162 # undefined references left.
1163 '-Wl,--no-undefined',
1164 ], 1155 ],
1165 'ldflags!': [ 1156 'ldflags!': [
1166 # Explicitly remove the -pthread flag to avoid a link time warning. 1157 # Explicitly remove the -pthread flag to avoid a link time warning.
1167 '-pthread', 1158 '-pthread',
1168 ], 1159 ],
1169 'defines': [ 1160 'defines': [
1170 # The code depends on NaCl's headers. This is a macro for them. 1161 # The code depends on NaCl's headers. This is a macro for them.
1171 'NACL_LINUX=1', 1162 'NACL_LINUX=1',
1172 ], 1163 ],
1173 # For native_client/src/include/... 1164 # For native_client/src/include/...
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
1217 'files': [ 1208 'files': [
1218 '>@(test_files)', 1209 '>@(test_files)',
1219 ], 1210 ],
1220 }, 1211 },
1221 ], 1212 ],
1222 }, 1213 },
1223 ], 1214 ],
1224 }], 1215 }],
1225 ], 1216 ],
1226 } 1217 }
OLDNEW
« no previous file with comments | « no previous file | trunk/src/chrome/test/data/nacl/nonsfi/libc_free.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698