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

Unified Diff: build/common.gypi

Issue 7714018: Give plug-in processes an executable heap and disable PIE/ASLR for Native (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/mac/change_mach_o_flags.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
===================================================================
--- build/common.gypi (revision 97969)
+++ build/common.gypi (working copy)
@@ -1679,16 +1679,20 @@
'postbuilds': [
{
# Arranges for data (heap) pages to be protected against
- # code execution when running on Mac OS X 10.7 ("Lion").
+ # code execution when running on Mac OS X 10.7 ("Lion"), and
+ # ensures that the position-independent executable (PIE) bit
+ # is set for ASLR when running on Mac OS X 10.5 ("Leopard").
'variables': {
- # Define make_heap_non_executable in a variable ending in
- # _path so that gyp understands it's a path and performs
- # proper relativization during dict merging.
- 'make_heap_non_executable_path':
- 'mac/make_heap_non_executable_from_xcode.sh',
+ # Define change_mach_o_flags in a variable ending in _path
+ # so that GYP understands it's a path and performs proper
+ # relativization during dict merging.
+ 'change_mach_o_flags_path':
+ 'mac/change_mach_o_flags_from_xcode.sh',
},
- 'postbuild_name': 'Make Heap Non-Executable',
- 'action': ['<(make_heap_non_executable_path)'],
+ 'postbuild_name': 'Change Mach-O Flags',
+ 'action': [
+ '<(change_mach_o_flags_path)',
+ ],
},
],
}],
« no previous file with comments | « no previous file | build/mac/change_mach_o_flags.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698