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 source_set("config") { | 7 source_set("config") { |
8 sources = [ | 8 sources = [ |
9 "dx_diag_node.cc", | 9 "dx_diag_node.cc", |
10 "dx_diag_node.h", | 10 "dx_diag_node.h", |
(...skipping 20 matching lines...) Expand all Loading... |
31 "gpu_performance_stats.h", | 31 "gpu_performance_stats.h", |
32 "gpu_test_config.cc", | 32 "gpu_test_config.cc", |
33 "gpu_test_config.h", | 33 "gpu_test_config.h", |
34 "gpu_test_expectations_parser.cc", | 34 "gpu_test_expectations_parser.cc", |
35 "gpu_test_expectations_parser.h", | 35 "gpu_test_expectations_parser.h", |
36 "gpu_util.cc", | 36 "gpu_util.cc", |
37 "gpu_util.h", | 37 "gpu_util.h", |
38 "software_rendering_list_json.cc", | 38 "software_rendering_list_json.cc", |
39 ] | 39 ] |
40 | 40 |
| 41 defines = [ "GPU_IMPLEMENTATION" ] |
| 42 |
41 deps = [ | 43 deps = [ |
42 "//base", | 44 "//base", |
43 "//third_party/re2", | 45 "//third_party/re2", |
44 "//ui/gl", | 46 "//ui/gl", |
45 ] | 47 ] |
46 | 48 |
47 if (is_win) { | 49 if (is_win) { |
48 deps += [ "//third_party/libxml" ] | 50 deps += [ "//third_party/libxml" ] |
49 libs = [ "dxguid.lib", "setupapi.lib" ] | 51 libs = [ "dxguid.lib", "setupapi.lib" ] |
50 | 52 |
(...skipping 14 matching lines...) Expand all Loading... |
65 "//third_party/libXNVCtrl", | 67 "//third_party/libXNVCtrl", |
66 ] | 68 ] |
67 } else { | 69 } else { |
68 sources -= [ "gpu_info_collector_x11.cc" ] | 70 sources -= [ "gpu_info_collector_x11.cc" ] |
69 } | 71 } |
70 if (!use_ozone) { | 72 if (!use_ozone) { |
71 sources -= [ "gpu_info_collector_ozone.cc" ] | 73 sources -= [ "gpu_info_collector_ozone.cc" ] |
72 } | 74 } |
73 } | 75 } |
74 | 76 |
OLD | NEW |