Chromoting browser_tests: initial checkin. This checkin adds RemoteDesktopBrowserTest...
[chromium-blink-merge.git] / content / content_gpu.gypi
blobd2c69528f39592aca8d25d2dc0929d9274dc6164
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   ],
20   'include_dirs': [
21     '..',
22   ],
23   'conditions': [
24     ['OS=="win"', {
25       'include_dirs': [
26         '<(DEPTH)/third_party/khronos',
27         '<(DEPTH)/third_party/angle_dx11/src',
28         '<(DEPTH)/third_party/wtl/include',
29       ],
30       'dependencies': [
31         '../third_party/angle_dx11/src/build_angle.gyp:libEGL',
32         '../third_party/angle_dx11/src/build_angle.gyp:libGLESv2',
33       ],
34       'link_settings': {
35         'libraries': [
36           '-lsetupapi.lib',
37         ],
38       },
39       'copies': [
40         {
41           'destination': '<(PRODUCT_DIR)',
42           'files': [
43             '<(windows_sdk_path)/Redist/D3D/x86/d3dcompiler_46.dll',
44           ],
45         },
46       ],
47     }],
48     ['OS=="win" and directxsdk_exists=="True"', {
49       'actions': [
50         {
51           'action_name': 'extract_d3dcompiler',
52           'variables': {
53             'input': 'Jun2010_D3DCompiler_43_x86.cab',
54             'output': 'D3DCompiler_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           'msvs_cygwin_shell': 1,
70         },
71       ],
72     }],
73     ['target_arch=="arm" and chromeos == 1', {
74       'include_dirs': [
75         '<(DEPTH)/third_party/openmax/il',
76       ],
77     }],
78     ['target_arch!="arm" and chromeos == 1', {
79       'include_dirs': [
80         '<(DEPTH)/third_party/libva',
81       ],
82     }],
83   ],