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

Unified Diff: chrome/app/make_mac_app_symlinks

Issue 164177: Provide a separate app bundle for subprocesses like the renderer on the Mac.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/app/make_mac_app_symlinks
===================================================================
--- chrome/app/make_mac_app_symlinks (revision 0)
+++ chrome/app/make_mac_app_symlinks (revision 0)
@@ -0,0 +1,18 @@
+#!/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 Resources and Frameworks
+# directories. 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
+# Resources and Frameworks directories should point to the enclosing app's.
+
+set -e
+
+CONTENTS_PATH="${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}/Contents"
+
+ln -fhs ../.. "${CONTENTS_PATH}/Resources"
+ln -fhs ../../../Frameworks "${CONTENTS_PATH}/Frameworks"
Property changes on: chrome/app/make_mac_app_symlinks
___________________________________________________________________
Added: svn:executable
+ *
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698