OLD | NEW |
---|---|
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'dependencies': [ | 6 'dependencies': [ |
7 '../base/base.gyp:base', | 7 '../base/base.gyp:base', |
8 '../skia/skia.gyp:skia', | 8 '../skia/skia.gyp:skia', |
9 '../ui/gl/gl.gyp:gl', | 9 '../ui/gl/gl.gyp:gl', |
10 ], | 10 ], |
(...skipping 22 matching lines...) Expand all Loading... | |
33 ], | 33 ], |
34 'link_settings': { | 34 'link_settings': { |
35 'libraries': [ | 35 'libraries': [ |
36 '-lsetupapi.lib', | 36 '-lsetupapi.lib', |
37 ], | 37 ], |
38 }, | 38 }, |
39 'copies': [ | 39 'copies': [ |
40 { | 40 { |
41 'destination': '<(PRODUCT_DIR)', | 41 'destination': '<(PRODUCT_DIR)', |
42 'files': [ | 42 'files': [ |
43 '<(windows_sdk_path)/Redist/D3D/x86/d3dcompiler_46.dll', | 43 '<(windows_sdk_path)/Redist/D3D/<(winsdk_arch)/d3dcompiler_46.dll', |
44 ], | 44 ], |
45 }, | 45 }, |
46 ], | 46 ], |
47 }], | 47 }], |
48 ['OS=="win" and directxsdk_exists=="True"', { | 48 ['OS=="win" and target_arch=="ia32" and directxsdk_exists=="True"', { |
49 'actions': [ | 49 'actions': [ |
50 { | 50 { |
51 'action_name': 'extract_d3dcompiler', | 51 'action_name': 'extract_d3dcompiler', |
52 'variables': { | 52 'variables': { |
53 'input': 'Jun2010_D3DCompiler_43_x86.cab', | 53 'input': 'Jun2010_D3DCompiler_43_x86.cab', |
scottmg
2013/08/05 23:39:03
we don't need to extract the x64 one? it's part of
apatrick_chromium
2013/08/06 00:06:47
43 is the more recent version that works on XP. We
jschuh
2013/08/06 00:26:56
Done.
| |
54 'output': 'D3DCompiler_43.dll', | 54 'output': 'D3DCompiler_43.dll', |
55 }, | 55 }, |
56 'inputs': [ | 56 'inputs': [ |
57 '../third_party/directxsdk/files/Redist/<(input)', | 57 '../third_party/directxsdk/files/Redist/<(input)', |
58 ], | 58 ], |
59 'outputs': [ | 59 'outputs': [ |
60 '<(PRODUCT_DIR)/<(output)', | 60 '<(PRODUCT_DIR)/<(output)', |
61 ], | 61 ], |
62 'action': [ | 62 'action': [ |
63 'python', | 63 'python', |
(...skipping 11 matching lines...) Expand all Loading... | |
75 '<(DEPTH)/third_party/openmax/il', | 75 '<(DEPTH)/third_party/openmax/il', |
76 ], | 76 ], |
77 }], | 77 }], |
78 ['target_arch!="arm" and chromeos == 1', { | 78 ['target_arch!="arm" and chromeos == 1', { |
79 'include_dirs': [ | 79 'include_dirs': [ |
80 '<(DEPTH)/third_party/libva', | 80 '<(DEPTH)/third_party/libva', |
81 ], | 81 ], |
82 }], | 82 }], |
83 ], | 83 ], |
84 } | 84 } |
OLD | NEW |