[Telemetry]: Add HTML5 Capabilities and Canvas tests to Peacekeeper benchmark suite.
[chromium-blink-merge.git] / content / content_gpu.gypi
blob9068549e2722344ea4783dc8f800ed80b52caa97
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/gl/gl.gyp:gl',
10   ],
11   'sources': [
12     'gpu/gpu_main.cc',
13     'gpu/gpu_process.cc',
14     'gpu/gpu_process.h',
15     'gpu/gpu_child_thread.cc',
16     'gpu/gpu_child_thread.h',
17     'gpu/gpu_watchdog_thread.cc',
18     'gpu/gpu_watchdog_thread.h',
19     'gpu/in_process_gpu_thread.cc',
20     'gpu/in_process_gpu_thread.h',
21   ],
22   'include_dirs': [
23     '..',
24   ],
25   'conditions': [
26     ['OS=="win"', {
27       'include_dirs': [
28         '<(DEPTH)/third_party/khronos',
29         '<(DEPTH)/third_party/angle_dx11/src',
30         '<(DEPTH)/third_party/wtl/include',
31       ],
32       'dependencies': [
33         '../third_party/angle_dx11/src/build_angle.gyp:libEGL',
34         '../third_party/angle_dx11/src/build_angle.gyp:libGLESv2',
35       ],
36       'link_settings': {
37         'libraries': [
38           '-lsetupapi.lib',
39         ],
40       },
41       'copies': [
42         {
43           'destination': '<(PRODUCT_DIR)',
44           'files': [
45             '<(windows_sdk_path)/Redist/D3D/<(winsdk_arch)/d3dcompiler_46.dll',
46           ],
47         },
48       ],
49     }],
50     ['OS=="win" and target_arch=="ia32" and directxsdk_exists=="True"', {
51       # We don't support x64 prior to Win7 and D3DCompiler_43.dll is
52       # not needed on Vista+.
53       'actions': [
54         {
55           'action_name': 'extract_d3dcompiler',
56           'variables': {
57             'input': 'Jun2010_D3DCompiler_43_x86.cab',
58             'output': 'D3DCompiler_43.dll',
59           },
60           'inputs': [
61             '../third_party/directxsdk/files/Redist/<(input)',
62           ],
63           'outputs': [
64             '<(PRODUCT_DIR)/<(output)',
65           ],
66           'action': [
67             'python',
68             '../build/extract_from_cab.py',
69             '..\\third_party\\directxsdk\\files\\Redist\\<(input)',
70             '<(output)',
71             '<(PRODUCT_DIR)',
72           ],
73           'msvs_cygwin_shell': 1,
74         },
75       ],
76     }],
77     ['target_arch!="arm" and chromeos == 1', {
78       'include_dirs': [
79         '<(DEPTH)/third_party/libva',
80       ],
81     }],
82   ],