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

Side by Side Diff: build/android.gypi

Issue 757103003: Android ARM: enable PIE. (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=="arm64" or target_arch=="x64"', { 218 ['target_arch=="arm" or target_arch=="arm64" or target_arch=="x64"', {
219 # TODO(ulan): Enable PIE for other architectures (crbug.com/373219).
220 'cflags': [ 219 'cflags': [
221 '-fPIE', 220 '-fPIE',
222 ], 221 ],
223 'ldflags': [ 222 'ldflags': [
224 '-pie', 223 '-pie',
225 ], 224 ],
226 }], 225 }],
227 ], 226 ],
228 'target_conditions': [ 227 'target_conditions': [
229 ['_type=="executable"', { 228 ['_type=="executable"', {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 'ldflags!': [ 270 'ldflags!': [
272 '-Wl,-z,noexecstack', 271 '-Wl,-z,noexecstack',
273 '-Wl,--gc-sections', 272 '-Wl,--gc-sections',
274 '-Wl,-O1', 273 '-Wl,-O1',
275 '-Wl,--as-needed', 274 '-Wl,--as-needed',
276 ], 275 ],
277 }], 276 }],
278 ], # target_conditions 277 ], # target_conditions
279 }, # target_defaults 278 }, # target_defaults
280 } 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