OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 declare_args() { | 7 declare_args() { |
8 # Use the PCI lib to collect GPU information on Linux. | 8 # Use the PCI lib to collect GPU information on Linux. |
9 use_libpci = true | 9 use_libpci = true |
10 } | 10 } |
11 | 11 |
12 source_set("config") { | 12 source_set("config") { |
13 sources = [ | 13 sources = [ |
14 "dx_diag_node.cc", | 14 "dx_diag_node.cc", |
15 "dx_diag_node.h", | 15 "dx_diag_node.h", |
16 "gpu_blacklist.cc", | 16 "gpu_blacklist.cc", |
17 "gpu_blacklist.h", | 17 "gpu_blacklist.h", |
18 "gpu_control_list_jsons.h", | |
19 "gpu_control_list.cc", | 18 "gpu_control_list.cc", |
20 "gpu_control_list.h", | 19 "gpu_control_list.h", |
21 "gpu_driver_bug_list_json.cc", | 20 "gpu_control_list_jsons.h", |
22 "gpu_driver_bug_list.cc", | 21 "gpu_driver_bug_list.cc", |
23 "gpu_driver_bug_list.h", | 22 "gpu_driver_bug_list.h", |
| 23 "gpu_driver_bug_list_json.cc", |
24 "gpu_driver_bug_workaround_type.h", | 24 "gpu_driver_bug_workaround_type.h", |
25 "gpu_dx_diagnostics_win.cc", | 25 "gpu_dx_diagnostics_win.cc", |
26 "gpu_feature_type.h", | 26 "gpu_feature_type.h", |
27 "gpu_info.cc", | 27 "gpu_info.cc", |
28 "gpu_info.h", | 28 "gpu_info.h", |
| 29 "gpu_info_collector.cc", |
| 30 "gpu_info_collector.h", |
29 "gpu_info_collector_android.cc", | 31 "gpu_info_collector_android.cc", |
30 "gpu_info_collector_linux.cc", | 32 "gpu_info_collector_linux.cc", |
31 "gpu_info_collector_linux.h", | 33 "gpu_info_collector_linux.h", |
32 "gpu_info_collector_mac.mm", | 34 "gpu_info_collector_mac.mm", |
33 "gpu_info_collector_ozone.cc", | 35 "gpu_info_collector_ozone.cc", |
34 "gpu_info_collector_win.cc", | 36 "gpu_info_collector_win.cc", |
35 "gpu_info_collector_x11.cc", | 37 "gpu_info_collector_x11.cc", |
36 "gpu_info_collector.cc", | |
37 "gpu_info_collector.h", | |
38 "gpu_performance_stats.h", | 38 "gpu_performance_stats.h", |
39 "gpu_test_config.cc", | 39 "gpu_test_config.cc", |
40 "gpu_test_config.h", | 40 "gpu_test_config.h", |
41 "gpu_test_expectations_parser.cc", | 41 "gpu_test_expectations_parser.cc", |
42 "gpu_test_expectations_parser.h", | 42 "gpu_test_expectations_parser.h", |
43 "gpu_util.cc", | 43 "gpu_util.cc", |
44 "gpu_util.h", | 44 "gpu_util.h", |
45 "software_rendering_list_json.cc", | 45 "software_rendering_list_json.cc", |
46 ] | 46 ] |
47 | 47 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 "//third_party/libXNVCtrl", | 88 "//third_party/libXNVCtrl", |
89 "//ui/gfx/x", | 89 "//ui/gfx/x", |
90 ] | 90 ] |
91 } else { | 91 } else { |
92 sources -= [ "gpu_info_collector_x11.cc" ] | 92 sources -= [ "gpu_info_collector_x11.cc" ] |
93 } | 93 } |
94 if (!use_ozone) { | 94 if (!use_ozone) { |
95 sources -= [ "gpu_info_collector_ozone.cc" ] | 95 sources -= [ "gpu_info_collector_ozone.cc" ] |
96 } | 96 } |
97 } | 97 } |
OLD | NEW |