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

Side by Side Diff: build/android.gypi

Issue 822933002: Don't pass -pie when building a shared library build on android (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years 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 | « 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 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 ['target_arch=="mipsel"', { 208 ['target_arch=="mipsel"', {
209 # The mips toolchain currently has problems with stack-protector. 209 # The mips toolchain currently has problems with stack-protector.
210 'cflags!': [ 210 'cflags!': [
211 '-fstack-protector', 211 '-fstack-protector',
212 '-U__linux__' 212 '-U__linux__'
213 ], 213 ],
214 'cflags': [ 214 'cflags': [
215 '-fno-stack-protector', 215 '-fno-stack-protector',
216 ], 216 ],
217 }], 217 }],
218 ['target_arch=="arm" or target_arch=="arm64" or target_arch=="x64"', { 218 ['(target_arch=="arm" or target_arch=="arm64" or target_arch=="x64") a nd component!="shared_library"', {
219 'cflags': [ 219 'cflags': [
220 '-fPIE', 220 '-fPIE',
221 ], 221 ],
222 'ldflags': [ 222 'ldflags': [
223 '-pie', 223 '-pie',
224 ], 224 ],
225 }], 225 }],
226 ], 226 ],
227 'target_conditions': [ 227 'target_conditions': [
228 ['_type=="executable"', { 228 ['_type=="executable"', {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 'ldflags!': [ 270 'ldflags!': [
271 '-Wl,-z,noexecstack', 271 '-Wl,-z,noexecstack',
272 '-Wl,--gc-sections', 272 '-Wl,--gc-sections',
273 '-Wl,-O1', 273 '-Wl,-O1',
274 '-Wl,--as-needed', 274 '-Wl,--as-needed',
275 ], 275 ],
276 }], 276 }],
277 ], # target_conditions 277 ], # target_conditions
278 }, # target_defaults 278 }, # target_defaults
279 } 279 }
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