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 } |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 ] | 45 ] |
46 | 46 |
47 configs += [ | 47 configs += [ |
48 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 48 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
49 "//build/config/compiler:no_size_t_to_int_warning", | 49 "//build/config/compiler:no_size_t_to_int_warning", |
50 "//gpu:gpu_implementation", | 50 "//gpu:gpu_implementation", |
51 ] | 51 ] |
52 | 52 |
53 deps = [ | 53 deps = [ |
54 "//base", | 54 "//base", |
| 55 "//gpu/command_buffer/service", |
55 "//third_party/re2", | 56 "//third_party/re2", |
56 "//ui/gl", | 57 "//ui/gl", |
57 ] | 58 ] |
58 | 59 |
59 # Prefer mesa GL headers to system headers, which cause problems on Win. | 60 # Prefer mesa GL headers to system headers, which cause problems on Win. |
60 include_dirs = [ "//third_party/mesa/src/include" ] | 61 include_dirs = [ "//third_party/mesa/src/include" ] |
61 | 62 |
62 if (is_win) { | 63 if (is_win) { |
63 deps += [ "//third_party/libxml" ] | 64 deps += [ "//third_party/libxml" ] |
64 libs = [ | 65 libs = [ |
(...skipping 23 matching lines...) Expand all Loading... |
88 "//third_party/libXNVCtrl", | 89 "//third_party/libXNVCtrl", |
89 "//ui/gfx/x", | 90 "//ui/gfx/x", |
90 ] | 91 ] |
91 } else { | 92 } else { |
92 sources -= [ "gpu_info_collector_x11.cc" ] | 93 sources -= [ "gpu_info_collector_x11.cc" ] |
93 } | 94 } |
94 if (!use_ozone) { | 95 if (!use_ozone) { |
95 sources -= [ "gpu_info_collector_ozone.cc" ] | 96 sources -= [ "gpu_info_collector_ozone.cc" ] |
96 } | 97 } |
97 } | 98 } |
OLD | NEW |