Change a data_deps to deps temporarily since it doesn't seem to be working transitively.
[chromium-blink-merge.git] / gpu / gpu_config.gypi
blob2b94403d1e84a970ae009d2fc2eba3091e696f71
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     '../third_party/re2/re2.gyp:re2',
8     '../base/base.gyp:base',
9     '../ui/gl/gl.gyp:gl',
10   ],
11   'include_dirs': [
12     '..',
13   ],
14   'sources': [
15     'config/dx_diag_node.cc',
16     'config/dx_diag_node.h',
17     'config/gpu_blacklist.cc',
18     'config/gpu_blacklist.h',
19     'config/gpu_control_list.cc',
20     'config/gpu_control_list.h',
21     'config/gpu_control_list_jsons.h',
22     'config/gpu_driver_bug_list.cc',
23     'config/gpu_driver_bug_list.h',
24     'config/gpu_driver_bug_list_json.cc',
25     'config/gpu_driver_bug_workaround_type.h',
26     'config/gpu_dx_diagnostics_win.cc',
27     'config/gpu_feature_type.h',
28     'config/gpu_info.cc',
29     'config/gpu_info.h',
30     'config/gpu_info_collector.cc',
31     'config/gpu_info_collector.h',
32     'config/gpu_info_collector_android.cc',
33     'config/gpu_info_collector_linux.cc',
34     'config/gpu_info_collector_linux.h',
35     'config/gpu_info_collector_mac.mm',
36     'config/gpu_info_collector_ozone.cc',
37     'config/gpu_info_collector_win.cc',
38     'config/gpu_info_collector_x11.cc',
39     'config/gpu_test_config.cc',
40     'config/gpu_test_config.h',
41     'config/gpu_test_expectations_parser.cc',
42     'config/gpu_test_expectations_parser.h',
43     'config/gpu_util.cc',
44     'config/gpu_util.h',
45     'config/software_rendering_list_json.cc',
46   ],
47   'conditions': [
48     ['OS=="win"', {
49       'dependencies': [
50         '../third_party/libxml/libxml.gyp:libxml',
51       ],
52       'link_settings': {
53         'libraries': [
54           '-ldxguid.lib',
55           '-lsetupapi.lib',
56         ],
57       },
58       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
59       'msvs_disabled_warnings': [ 4267, ],
60     }],
61     ['OS=="win" and branding=="Chrome" and buildtype=="Official"', {
62       'sources': [
63         '../third_party/amd/AmdCfxPxExt.h',
64         '../third_party/amd/amd_videocard_info_win.cc',
65       ],
66     }],
67     ['OS=="linux" and use_libpci==1 and (use_x11==1 or use_ozone==1)', {
68       'dependencies': [
69         '../build/linux/system.gyp:libpci',
70       ],
71     }],
72     ['OS=="linux" and use_x11==1', {
73       'dependencies': [
74         '../build/linux/system.gyp:x11',
75         '../build/linux/system.gyp:xext',
76         '../third_party/libXNVCtrl/libXNVCtrl.gyp:libXNVCtrl',
77         '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
78       ],
79     }],
80   ],