OLD | NEW |
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}" |
OLD | NEW |