Disable ContentSettingBubbleModelTest.RPHAllow which is flaky.
[chromium-blink-merge.git] / content / content_gpu.gypi
blob9be835ec10d7141488eb0f5ea86872c4d5eda4ce
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     '../third_party/re2/re2.gyp:re2',
10     '../ui/gl/gl.gyp:gl',
11   ],
12   'sources': [
13     'gpu/gpu_dx_diagnostics_win.cc',
14     'gpu/gpu_info_collector_android.cc',
15     'gpu/gpu_info_collector_mac.mm',
16     'gpu/gpu_info_collector_win.cc',
17     'gpu/gpu_info_collector_x11.cc',
18     'gpu/gpu_info_collector.cc',
19     'gpu/gpu_info_collector.h',
20     'gpu/gpu_main.cc',
21     'gpu/gpu_process.cc',
22     'gpu/gpu_process.h',
23     'gpu/gpu_child_thread.cc',
24     'gpu/gpu_child_thread.h',
25     'gpu/gpu_watchdog_thread.cc',
26     'gpu/gpu_watchdog_thread.h',
27   ],
28   'include_dirs': [
29     '..',
30   ],
31   'conditions': [
32     ['OS=="win"', {
33       'include_dirs': [
34         '<(DEPTH)/third_party/angle/include',
35         '<(DEPTH)/third_party/angle/src',
36         '<(DEPTH)/third_party/wtl/include',
37       ],
38       'dependencies': [
39         '../third_party/angle/src/build_angle.gyp:libEGL',
40         '../third_party/angle/src/build_angle.gyp:libGLESv2',
41         '../third_party/libxml/libxml.gyp:libxml',
42       ],
43       'link_settings': {
44         'libraries': [
45           '-lsetupapi.lib',
46         ],
47       },
48       'copies': [
49         {
50           'destination': '<(PRODUCT_DIR)',
51           'files': [
52             '<(windows_sdk_path)/Redist/D3D/x86/d3dcompiler_46.dll',
53           ],
54         },
55       ],
56     }],
57     ['OS=="win" and directxsdk_exists=="True"', {
58       'actions': [
59         {
60           'action_name': 'extract_d3dcompiler',
61           'variables': {
62             'input': 'Jun2010_D3DCompiler_43_x86.cab',
63             'output': 'D3DCompiler_43.dll',
64           },
65           'inputs': [
66             '../third_party/directxsdk/files/Redist/<(input)',
67           ],
68           'outputs': [
69             '<(PRODUCT_DIR)/<(output)',
70           ],
71           'action': [
72             'python',
73             '../build/extract_from_cab.py',
74             '..\\third_party\\directxsdk\\files\\Redist\\<(input)',
75             '<(output)',
76             '<(PRODUCT_DIR)',
77           ],
78           'msvs_cygwin_shell': 1,
79         },
80       ],
81     }],
82     ['OS=="win" and branding=="Chrome"', {
83       'sources': [
84         '../third_party/amd/AmdCfxPxExt.h',
85         '../third_party/amd/amd_videocard_info_win.cc',
86       ],
87     }],
88     ['OS=="linux" and use_x11==1', {
89       'dependencies': [
90         '../build/linux/system.gyp:libpci',
91         '../third_party/libXNVCtrl/libXNVCtrl.gyp:libXNVCtrl',
92       ],
93     }],
94     ['target_arch=="arm" and chromeos == 1', {
95       'include_dirs': [
96         '<(DEPTH)/third_party/openmax/il',
97       ],
98     }],
99     ['target_arch!="arm" and chromeos == 1', {
100       'include_dirs': [
101         '<(DEPTH)/third_party/libva',
102       ],
103     }],
104   ],