Chromium Code Reviews| Index: build/mac/make_heap_non_executable_from_xcode.sh |
| =================================================================== |
| --- build/mac/make_heap_non_executable_from_xcode.sh (revision 0) |
| +++ build/mac/make_heap_non_executable_from_xcode.sh (revision 0) |
| @@ -0,0 +1,15 @@ |
| +#!/bin/sh |
| + |
| +# Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +# This is a small wrapper script around make_heap_non_executable.py allowing |
| +# it to be invoked easily from Xcode. make_heap_non_executable.py expects its |
| +# argument on the command line, and Xcode puts all of its parameters in the |
| +# environment. |
| + |
| +set -e |
| + |
|
TVL
2011/08/10 16:02:11
do you want to check the sdk here and warn/error i
Mark Mentovai
2011/08/10 16:05:04
TVL wrote:
|
| +exec "$(dirname "${0}")/make_heap_non_executable.py" \ |
| + "${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}" |
| Property changes on: build/mac/make_heap_non_executable_from_xcode.sh |
| ___________________________________________________________________ |
| Added: svn:executable |
| + * |
| Added: svn:eol-style |
| + LF |