From ad65bb85321a65920df2f3389da4d369a225f488 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Tue, 3 Jan 2012 17:55:08 +0000 Subject: [PATCH] Mac: Add support for building the 'Run cef_unittests' target from the command line. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@453 5089003a-bbd8-11dd-ad1f-f1f9622dbc98 --- cef.gyp | 3 +++ tools/build_projects.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cef.gyp b/cef.gyp index f4cfcd008..be587d346 100644 --- a/cef.gyp +++ b/cef.gyp @@ -356,6 +356,9 @@ 'variables': { 'repack_path': '../tools/grit/grit/format/repack.py', }, + 'run_as': { + 'action': ['${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/Contents/MacOS/${PRODUCT_NAME}'], + }, 'actions': [ { 'action_name': 'repack_locales', diff --git a/tools/build_projects.sh b/tools/build_projects.sh index 7aa0022fa..73dbad4fb 100755 --- a/tools/build_projects.sh +++ b/tools/build_projects.sh @@ -13,6 +13,6 @@ else make BUILDTYPE=$1 -j 16 popd else - xcodebuild -project ../cef.xcodeproj -configuration $1 -target $PROJECT_NAME + xcodebuild -project ../cef.xcodeproj -configuration $1 -target "$PROJECT_NAME" fi fi