Updating XTBs based on .GRDs from branch master
[chromium-blink-merge.git] / build / mac / change_mach_o_flags_from_xcode.sh
blob1824f8db52fe7729378eb41726f7c61ad5473a36
1 #!/bin/sh
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
5 # found in the LICENSE file.
7 # This is a small wrapper script around change_mach_o_flags.py allowing it to
8 # be invoked easily from Xcode. change_mach_o_flags.py expects its arguments
9 # on the command line, but Xcode puts its parameters in the environment.
11 set -e
13 exec "$(dirname "${0}")/change_mach_o_flags.py" \
14 "${@}" \
15 "${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}"