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

Side by Side Diff: build/mac/change_mach_o_flags_from_xcode.sh

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/mac/change_mach_o_flags.py ('k') | build/mac/make_heap_non_executable.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2
3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # This is a small wrapper script around make_heap_non_executable.py allowing 7 # This is a small wrapper script around change_mach_o_flags.py allowing it to
8 # it to be invoked easily from Xcode. make_heap_non_executable.py expects its 8 # be invoked easily from Xcode. change_mach_o_flags.py expects its arguments
9 # argument on the command line, and Xcode puts all of its parameters in the 9 # on the command line, but Xcode puts its parameters in the environment.
10 # environment.
11 10
12 set -e 11 set -e
13 12
14 exec "$(dirname "${0}")/make_heap_non_executable.py" \ 13 exec "$(dirname "${0}")/change_mach_o_flags.py" \
15 "${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}" 14 "${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}"
OLDNEW
« no previous file with comments | « build/mac/change_mach_o_flags.py ('k') | build/mac/make_heap_non_executable.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698