Removing instances of profile_->GetBookmarkModel() as part of converting BookmarkMode...
[chromium-blink-merge.git] / content / content_gpu.gypi
blob3327a696f196e617f19818fb6ce7bce0b5726c3c
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_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       ],
37       'dependencies': [
38         '../third_party/angle/src/build_angle.gyp:libEGL',
39         '../third_party/angle/src/build_angle.gyp:libGLESv2',
40         '../third_party/libxml/libxml.gyp:libxml',
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     ['OS=="win" and branding=="Chrome"', {
93       'sources': [
94         '../third_party/amd/AmdCfxPxExt.h',
95         '../third_party/amd/amd_videocard_info_win.cc',
96       ],
97     }],
98     ['OS=="linux"', {
99       'dependencies': [
100         '../third_party/libXNVCtrl/libXNVCtrl.gyp:libXNVCtrl',
101       ],
102     }],
103   ],