diff options
author | jschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-06 06:09:43 +0000 |
---|---|---|
committer | jschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-06 06:09:43 +0000 |
commit | a7a15f3dc5acaa9551d6684b7a7a8aa3fd651ab6 (patch) | |
tree | 47be8fff0789d3ae75be27a6060bf107f9312b89 /content/content_gpu.gypi | |
parent | 56796b93900a832c7ed79c639ad74a1d899288b2 (diff) | |
download | chromium_src-a7a15f3dc5acaa9551d6684b7a7a8aa3fd651ab6.zip chromium_src-a7a15f3dc5acaa9551d6684b7a7a8aa3fd651ab6.tar.gz chromium_src-a7a15f3dc5acaa9551d6684b7a7a8aa3fd651ab6.tar.bz2 |
Fix Win64 DirectX redistributables
Adds a gyp variable to simplify WINSDK path strings,
and grabs the x64 files rather than x86.
BUG=268525,267893
Review URL: https://chromiumcodereview.appspot.com/22262003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215814 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content_gpu.gypi')
-rw-r--r-- | content/content_gpu.gypi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/content/content_gpu.gypi b/content/content_gpu.gypi index d2c6952..1afaa42 100644 --- a/content/content_gpu.gypi +++ b/content/content_gpu.gypi @@ -40,12 +40,14 @@ { 'destination': '<(PRODUCT_DIR)', 'files': [ - '<(windows_sdk_path)/Redist/D3D/x86/d3dcompiler_46.dll', + '<(windows_sdk_path)/Redist/D3D/<(winsdk_arch)/d3dcompiler_46.dll', ], }, ], }], - ['OS=="win" and directxsdk_exists=="True"', { + ['OS=="win" and target_arch=="ia32" and directxsdk_exists=="True"', { + # We don't support x64 prior to Win7 and D3DCompiler_43.dll is + # not needed on Vista+. 'actions': [ { 'action_name': 'extract_d3dcompiler', |