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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/config/chromecast_build.gni") | 6 import("//build/config/chromecast_build.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 | 8 |
9 declare_args() { | 9 declare_args() { |
10 # Use the PCI lib to collect GPU information on Linux. | 10 # Use the PCI lib to collect GPU information on Linux. |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 configs += [ | 70 configs += [ |
71 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 71 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
72 "//build/config/compiler:no_size_t_to_int_warning", | 72 "//build/config/compiler:no_size_t_to_int_warning", |
73 "//gpu:gpu_implementation", | 73 "//gpu:gpu_implementation", |
74 ] | 74 ] |
75 | 75 |
76 deps = [ | 76 deps = [ |
77 "//base", | 77 "//base", |
78 "//third_party/re2", | 78 "//third_party/re2", |
79 "//ui/gl", | 79 "//ui/gl", |
| 80 "//ui/gl/init", |
80 ] | 81 ] |
81 | 82 |
82 # Prefer mesa GL headers to system headers, which cause problems on Win. | 83 # Prefer mesa GL headers to system headers, which cause problems on Win. |
83 include_dirs = [ "//third_party/mesa/src/include" ] | 84 include_dirs = [ "//third_party/mesa/src/include" ] |
84 | 85 |
85 if (is_win) { | 86 if (is_win) { |
86 deps += [ "//third_party/libxml" ] | 87 deps += [ "//third_party/libxml" ] |
87 libs = [ | 88 libs = [ |
88 "dxguid.lib", | 89 "dxguid.lib", |
89 "setupapi.lib", | 90 "setupapi.lib", |
(...skipping 25 matching lines...) Expand all Loading... |
115 "//third_party/libXNVCtrl", | 116 "//third_party/libXNVCtrl", |
116 "//ui/gfx/x", | 117 "//ui/gfx/x", |
117 ] | 118 ] |
118 } else { | 119 } else { |
119 sources -= [ "gpu_info_collector_x11.cc" ] | 120 sources -= [ "gpu_info_collector_x11.cc" ] |
120 } | 121 } |
121 if (!use_ozone) { | 122 if (!use_ozone) { |
122 sources -= [ "gpu_info_collector_ozone.cc" ] | 123 sources -= [ "gpu_info_collector_ozone.cc" ] |
123 } | 124 } |
124 } | 125 } |
OLD | NEW |