summaryrefslogtreecommitdiffstats
path: root/content/content_common.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'content/content_common.gypi')
-rw-r--r--content/content_common.gypi24
1 files changed, 24 insertions, 0 deletions
diff --git a/content/content_common.gypi b/content/content_common.gypi
index a9bdb55..c09e00d 100644
--- a/content/content_common.gypi
+++ b/content/content_common.gypi
@@ -323,5 +323,29 @@
],
},
}],
+ ['OS=="win" and directxsdk_exists=="True"', {
+ 'actions': [
+ {
+ 'action_name': 'extract_xinput',
+ 'variables': {
+ 'input': 'APR2007_xinput_x86.cab',
+ 'output': 'xinput1_3.dll',
+ },
+ 'inputs': [
+ '../third_party/directxsdk/files/Redist/<(input)',
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/<(output)',
+ ],
+ 'action': [
+ 'python',
+ '../build/extract_from_cab.py',
+ '..\\third_party\\directxsdk\\files\\Redist\\<(input)',
+ '<(output)',
+ '<(PRODUCT_DIR)',
+ ],
+ },
+ ]
+ }]
],
}