summaryrefslogtreecommitdiffstats
path: root/chrome/chrome.gyp
diff options
context:
space:
mode:
authorapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-27 18:18:17 +0000
committerapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-27 18:18:17 +0000
commit0cd7700f258468742e4d9d7f8583d23746875302 (patch)
treeb0f5f2413899d6080a9a02e74ac97a5a4ea628aa /chrome/chrome.gyp
parentfcaa54ac4e3be4b65e99526686c003574735d6c6 (diff)
downloadchromium_src-0cd7700f258468742e4d9d7f8583d23746875302.zip
chromium_src-0cd7700f258468742e4d9d7f8583d23746875302.tar.gz
chromium_src-0cd7700f258468742e4d9d7f8583d23746875302.tar.bz2
Relanding r53076 with linux fix.
TEST=try BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53810 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r--chrome/chrome.gyp28
1 files changed, 28 insertions, 0 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 9d20256..5ea6dd5 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -68,6 +68,7 @@
'repack_locales_cmd': ['python', 'tools/build/repack_locales.py'],
# TODO: remove this helper when we have loops in GYP
'apply_locales_cmd': ['python', '<(DEPTH)/build/apply_locales.py'],
+ 'directxsdk_exists': '<!(python <(DEPTH)/build/dir_exists.py ../third_party/directxsdk)',
'conditions': [
['OS=="win"', {
'nacl_defines': [
@@ -718,6 +719,33 @@
'include_dirs': [
'<(DEPTH)/third_party/wtl/include',
],
+ 'dependencies': [
+ '../third_party/angle/src/build_angle.gyp:libEGL',
+ '../third_party/angle/src/build_angle.gyp:libGLESv2',
+ ],
+ }],
+ ['OS=="win" and directxsdk_exists=="True"', {
+ 'actions': [
+ {
+ 'action_name': 'extract_d3dx9',
+ 'variables': {
+ 'input': 'Aug2009_d3dx9_42_x86.cab',
+ 'output': 'd3dx9_42.dll',
+ },
+ 'inputs': [
+ '../third_party/directxsdk/files/Redist/<(input)',
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/<(output)',
+ ],
+ 'action': [
+ 'expand',
+ '..\\third_party\\directxsdk\\files\\Redist\\<(input)',
+ '-F:<(output)',
+ '<(PRODUCT_DIR)',
+ ],
+ },
+ ],
}],
['OS=="linux" and target_arch!="arm"', {
'sources': [