Commit 7a37de37 authored by maf@google.com's avatar maf@google.com

Add a dependency to the Mac installer build stage so that the postflight.sh...

Add a dependency to the Mac installer build stage so that the postflight.sh script always gets processed before it tries to build the installer than needs it.
Review URL: http://codereview.chromium.org/150184

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19793 0039d316-1c4b-4281-b951-d872f2087c98
parent 8024ddc6
......@@ -275,8 +275,8 @@ if env.Bit('mac'):
# insert version number into Info.plist
env.ReplaceStrings(
'mac/processed/Info.plist', '$SCONSTRUCT_DIR/plugin/mac/Info.plist',
REPLACE_STRINGS = plugin_replace_strings
'mac/processed/Info.plist', '$SCONSTRUCT_DIR/plugin/mac/Info.plist',
REPLACE_STRINGS = plugin_replace_strings
)
# copy mac resource data
......@@ -303,7 +303,7 @@ if env.Bit('mac'):
else:
stripCmd = 'strip -S "$ARTIFACTS_DIR/O3D.plugin/Contents/MacOS/o3d"'
# Cleanup end result and build the installer
# Cleanup end result
created_installer = env.Command('$ARTIFACTS_DIR/plugin_done',
[env.Dir('$ARTIFACTS_DIR/O3D.plugin')],
[
......@@ -353,6 +353,7 @@ if env.Bit('mac'):
env.Command(env.Dir('$ARTIFACTS_DIR/O3D.mpkg'),
[
"$ARTIFACTS_DIR/plugin_done",
"$ARTIFACTS_DIR/postflight.sh",
],
[
# Delete first as Copy can fail to overwrite if the packproj is locked
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment