blob: 66353a950eeaf990b9686f59d64dc9e1c0d28df5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
# Copyright (c) 2009 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 script is intended to run from a "postbuild" action from within Xcode.
# It sets up symbolic links for an app bundle's Frameworks directory. This is
# intended to be used for app bundles that live within the Resources directory
# of a larger app bundle, when the sub-app's Frameworks directory should point
# to the enclosing app's.
set -e
CONTENTS_PATH="${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Contents"
ln -fhs ../../../Frameworks "${CONTENTS_PATH}/Frameworks"
|