summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorjschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-06 06:09:43 +0000
committerjschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-06 06:09:43 +0000
commita7a15f3dc5acaa9551d6684b7a7a8aa3fd651ab6 (patch)
tree47be8fff0789d3ae75be27a6060bf107f9312b89 /build
parent56796b93900a832c7ed79c639ad74a1d899288b2 (diff)
downloadchromium_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 'build')
-rw-r--r--build/common.gypi6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index c554801..0d20ba9 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1411,6 +1411,12 @@
}], # OS=="mac" or OS=="ios"
['OS=="win"', {
'conditions': [
+ # This is the architecture convention used in WinSDK paths.
+ ['target_arch=="ia32"', {
+ 'winsdk_arch%': 'x86',
+ },{
+ 'winsdk_arch%': '<(target_arch)',
+ }],
['component=="shared_library"', {
'win_use_allocator_shim%': 0,
}],