Updating trunk VERSION from 1109.0 to 1110.0
[chromium-blink-merge.git] / content / content_gpu.gypi
blobc31b081f53776ae85e063c3ebe94dfa7e70c82ce
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
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_android.cc',
14     'gpu/gpu_info_collector_linux.cc',
15     'gpu/gpu_info_collector_mac.mm',
16     'gpu/gpu_info_collector_win.cc',
17     'gpu/gpu_info_collector.cc',
18     'gpu/gpu_info_collector.h',
19     'gpu/gpu_main.cc',
20     'gpu/gpu_process.cc',
21     'gpu/gpu_process.h',
22     'gpu/gpu_child_thread.cc',
23     'gpu/gpu_child_thread.h',
24     'gpu/gpu_watchdog_thread.cc',
25     'gpu/gpu_watchdog_thread.h',
26   ],
27   'include_dirs': [
28     '..',
29   ],
30   'conditions': [
31     ['OS=="win"', {
32       'include_dirs': [
33         '<(DEPTH)/third_party/angle/include',
34         '<(DEPTH)/third_party/angle/src',
35         '<(DEPTH)/third_party/wtl/include',
36         '$(DXSDK_DIR)/include',
37       ],
38       'dependencies': [
39         '../third_party/angle/src/build_angle.gyp:libEGL',
40         '../third_party/angle/src/build_angle.gyp:libGLESv2',
41       ],
42       'link_settings': {
43         'libraries': [
44           '-lsetupapi.lib',
45         ],
46       },
47     }],
48     ['OS=="win" and directxsdk_exists=="True"', {
49       'actions': [
50         {
51           'action_name': 'extract_d3dx9',
52           'variables': {
53             'input': 'Jun2010_d3dx9_43_x86.cab',
54             'output': 'd3dx9_43.dll',
55           },
56           'inputs': [
57             '../third_party/directxsdk/files/Redist/<(input)',
58           ],
59           'outputs': [
60             '<(PRODUCT_DIR)/<(output)',
61           ],
62           'action': [
63             'python',
64             '../build/extract_from_cab.py',
65             '..\\third_party\\directxsdk\\files\\Redist\\<(input)',
66             '<(output)',
67             '<(PRODUCT_DIR)',
68           ],
69         },
70         {
71           'action_name': 'extract_d3dcompiler',
72           'variables': {
73             'input': 'Jun2010_D3DCompiler_43_x86.cab',
74             'output': 'D3DCompiler_43.dll',
75           },
76           'inputs': [
77             '../third_party/directxsdk/files/Redist/<(input)',
78           ],
79           'outputs': [
80             '<(PRODUCT_DIR)/<(output)',
81           ],
82           'action': [
83             'python',
84             '../build/extract_from_cab.py',
85             '..\\third_party\\directxsdk\\files\\Redist\\<(input)',
86             '<(output)',
87             '<(PRODUCT_DIR)',
88           ],
89         },
90       ],
91     }],
92   ],