Attempt fixes at chrome frame tests redness.
[chromium-blink-merge.git] / content / content_gpu.gypi
blob9714ae48d734eeec67488f264aba0d6e6e9714ab
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
6   'dependencies': [
7     '../base/base.gyp:base',
8     '../skia/skia.gyp:skia',
9     '../ui/gfx/gl/gl.gyp:gl',
10   ],
11   'sources': [
12     'gpu/gpu_dx_diagnostics_win.cc',
13     'gpu/gpu_info_collector_linux.cc',
14     'gpu/gpu_info_collector_mac.mm',
15     'gpu/gpu_info_collector_win.cc',
16     'gpu/gpu_info_collector.cc',
17     'gpu/gpu_info_collector.h',
18     'gpu/gpu_main.cc',
19     'gpu/gpu_process.cc',
20     'gpu/gpu_process.h',
21     'gpu/gpu_child_thread.cc',
22     'gpu/gpu_child_thread.h',
23     'gpu/gpu_watchdog_thread.cc',
24     'gpu/gpu_watchdog_thread.h',
25   ],
26   'include_dirs': [
27     '..',
28   ],
29   'conditions': [
30     ['OS=="win"', {
31       'include_dirs': [
32         '<(DEPTH)/third_party/angle/include',
33         '<(DEPTH)/third_party/angle/src',
34         '<(DEPTH)/third_party/wtl/include',
35         '$(DXSDK_DIR)/include',
36       ],
37       'dependencies': [
38         '../third_party/angle/src/build_angle.gyp:libEGL',
39         '../third_party/angle/src/build_angle.gyp:libGLESv2',
40       ],
41     }],
42     ['OS=="win" and directxsdk_exists=="True"', {
43       'actions': [
44         {
45           'action_name': 'extract_d3dx9',
46           'variables': {
47             'input': 'Jun2010_d3dx9_43_x86.cab',
48             'output': 'd3dx9_43.dll',
49           },
50           'inputs': [
51             '../third_party/directxsdk/files/Redist/<(input)',
52           ],
53           'outputs': [
54             '<(PRODUCT_DIR)/<(output)',
55           ],
56           'action': [
57             'python',
58             '../build/extract_from_cab.py',
59             '..\\third_party\\directxsdk\\files\\Redist\\<(input)',
60             '<(output)',
61             '<(PRODUCT_DIR)',
62           ],
63         },
64         {
65           'action_name': 'extract_d3dcompiler',
66           'variables': {
67             'input': 'Jun2010_D3DCompiler_43_x86.cab',
68             'output': 'D3DCompiler_43.dll',
69           },
70           'inputs': [
71             '../third_party/directxsdk/files/Redist/<(input)',
72           ],
73           'outputs': [
74             '<(PRODUCT_DIR)/<(output)',
75           ],
76           'action': [
77             'python',
78             '../build/extract_from_cab.py',
79             '..\\third_party\\directxsdk\\files\\Redist\\<(input)',
80             '<(output)',
81             '<(PRODUCT_DIR)',
82           ],
83         },
84       ],
85     }],
86   ],