blob: c95605b27138cfed22edb8d8b3bfd84330ea3f81 [file] [log] [blame]
[email protected]d7b5cc72013-05-23 20:05:001# 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.
4
5{
6 'dependencies': [
7 '../base/base.gyp:base',
8 '../third_party/re2/re2.gyp:re2',
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_jsons.h',
20 'config/gpu_control_list.cc',
21 'config/gpu_control_list.h',
22 'config/gpu_driver_bug_list_json.cc',
23 'config/gpu_driver_bug_list.cc',
24 'config/gpu_driver_bug_list.h',
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_android.cc',
31 'config/gpu_info_collector_mac.mm',
[email protected]d413efc2013-05-29 02:28:2932 'config/gpu_info_collector_ozone.cc',
[email protected]d7b5cc72013-05-23 20:05:0033 'config/gpu_info_collector_win.cc',
34 'config/gpu_info_collector_x11.cc',
35 'config/gpu_info_collector.cc',
36 'config/gpu_info_collector.h',
37 'config/gpu_performance_stats.h',
38 'config/gpu_switching_list_json.cc',
39 'config/gpu_switching_list.cc',
40 'config/gpu_switching_list.h',
41 'config/gpu_switching_option.h',
[email protected]129f019e2013-05-28 23:38:0242 'config/gpu_test_config.cc',
43 'config/gpu_test_config.h',
44 'config/gpu_test_expectations_parser.cc',
45 'config/gpu_test_expectations_parser.h',
[email protected]d7b5cc72013-05-23 20:05:0046 'config/gpu_util.cc',
47 'config/gpu_util.h',
48 'config/software_rendering_list_json.cc',
49 ],
50 'conditions': [
51 ['OS=="win"', {
52 'dependencies': [
53 '../third_party/libxml/libxml.gyp:libxml',
54 ],
55 'link_settings': {
56 'libraries': [
[email protected]8a0c096a2013-05-24 21:30:2257 '-ldxguid.lib',
[email protected]d7b5cc72013-05-23 20:05:0058 '-lsetupapi.lib',
59 ],
60 },
[email protected]f2f321b2013-05-24 18:30:3661 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
62 'msvs_disabled_warnings': [ 4267, ],
[email protected]d7b5cc72013-05-23 20:05:0063 }],
64 ['OS=="win" and branding=="Chrome"', {
65 'sources': [
66 '../third_party/amd/AmdCfxPxExt.h',
67 '../third_party/amd/amd_videocard_info_win.cc',
68 ],
69 }],
70 ['OS=="linux" and use_x11==1', {
71 'dependencies': [
72 '../build/linux/system.gyp:libpci',
73 '../third_party/libXNVCtrl/libXNVCtrl.gyp:libXNVCtrl',
74 ],
75 }],
76 ],
77}