Roll src/third_party/skia a04c650:ac856c9
[chromium-blink-merge.git] / gpu / gpu_config.gypi
blob686919973047322e431afaf1828e4141d3f1384d
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_switches.cc',
40     'config/gpu_switches.h',
41     'config/gpu_test_config.cc',
42     'config/gpu_test_config.h',
43     'config/gpu_test_expectations_parser.cc',
44     'config/gpu_test_expectations_parser.h',
45     'config/gpu_util.cc',
46     'config/gpu_util.h',
47     'config/software_rendering_list_json.cc',
48   ],
49   'conditions': [
50     ['OS=="win"', {
51       'dependencies': [
52         '../third_party/libxml/libxml.gyp:libxml',
53       ],
54       'link_settings': {
55         'libraries': [
56           '-ldxguid.lib',
57           '-lsetupapi.lib',
58         ],
59       },
60       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
61       'msvs_disabled_warnings': [ 4267, ],
62     }],
63     ['OS=="win" and branding=="Chrome" and buildtype=="Official"', {
64       'sources': [
65         '../third_party/amd/AmdCfxPxExt.h',
66         '../third_party/amd/amd_videocard_info_win.cc',
67       ],
68     }],
69     ['OS=="linux" and use_libpci==1 and (use_x11==1 or use_ozone==1)', {
70       'dependencies': [
71         '../build/linux/system.gyp:libpci',
72       ],
73     }],
74     ['OS=="linux" and use_x11==1', {
75       'dependencies': [
76         '../build/linux/system.gyp:x11',
77         '../build/linux/system.gyp:xext',
78         '../third_party/libXNVCtrl/libXNVCtrl.gyp:libXNVCtrl',
79         '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
80       ],
81     }],
82   ],