summaryrefslogtreecommitdiffstats
path: root/o3d/installer/win/build.scons
diff options
context:
space:
mode:
authorbradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-12 21:48:43 +0000
committerbradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-12 21:48:43 +0000
commitcf1afc7c2d9f1dd4007c4e49ac0d82e12e88ed6b (patch)
tree3964096b5e69522ef85fc9bf41def36375a3be89 /o3d/installer/win/build.scons
parent0b45559b42825a157d3f468e1a5ee102cc67d9a8 (diff)
downloadchromium_src-cf1afc7c2d9f1dd4007c4e49ac0d82e12e88ed6b.zip
chromium_src-cf1afc7c2d9f1dd4007c4e49ac0d82e12e88ed6b.tar.gz
chromium_src-cf1afc7c2d9f1dd4007c4e49ac0d82e12e88ed6b.tar.bz2
Adding back in o3dextras build.
BUG=None TEST=None Review URL: http://codereview.chromium.org/126069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18323 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/installer/win/build.scons')
-rw-r--r--o3d/installer/win/build.scons29
1 files changed, 29 insertions, 0 deletions
diff --git a/o3d/installer/win/build.scons b/o3d/installer/win/build.scons
index a9979ef..91b4f94 100644
--- a/o3d/installer/win/build.scons
+++ b/o3d/installer/win/build.scons
@@ -205,3 +205,32 @@ env.Depends(installer_msi,
# Copy to artifacts.
env.Replicate('$ARTIFACTS_DIR', installer_msi)
+
+
+# Path to DirectX redistribution files.
+dx_redist_path = env.Dir('$DIRECTX_REDIST_DIR')
+
+# Only build o3dextras if we have the dx redistributables.
+if os.path.exists(dx_redist_path.abspath):
+ # New WiX flags for the Extras package [currently just the d3dx9 dll]. Note
+ # that this DOESN'T make the above flags go away; it just adds new ones or
+ # overwrites name clashes. So we use distinctive names so as to avoid
+ # surprises. The only flag from above that's used in the extras installer is
+ # DxRedistPath.
+ env.Append(WIXCANDLEFLAGS = [
+ '-dDxRedistPath=' + dx_redist_path.abspath,
+ '-dExtrasD3DXComponentGuid=' + o3d_extras_d3dx_component_guid,
+ '-dExtrasProductGuid=' + o3d_extras_product_guid,
+ '-dExtrasUpgradeCode=' + o3d_extras_upgrade_code,
+ '-dExtrasPackageGuid=' + o3d_extras_package_guid,
+ '-dExtrasVersion=' + dotextrasversion,
+ '-dExtrasGoogleUpdateRegGuid=' + o3d_extras_google_update_guid,
+ '-dExtrasGoogleUpdateRegKey=' + o3d_extras_reg_key,
+ ])
+
+ # Build the installer
+ extras_msi = env.WiX('o3dextras.msi', ['o3d_extras.wxs'])
+
+ # copy to artifacts
+ env.Replicate('$ARTIFACTS_DIR', extras_msi)
+