| 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/ui.gni") | 6 import("//build/config/ui.gni") |
| 6 | 7 |
| 7 declare_args() { | 8 declare_args() { |
| 8 # Use the PCI lib to collect GPU information on Linux. | 9 # Use the PCI lib to collect GPU information on Linux. |
| 9 use_libpci = true | 10 use_libpci = true |
| 10 } | 11 } |
| 11 | 12 |
| 12 group("config") { | 13 group("config") { |
| 13 if (is_component_build) { | 14 if (is_component_build) { |
| 14 public_deps = [ | 15 public_deps = [ |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 "//third_party/libXNVCtrl", | 105 "//third_party/libXNVCtrl", |
| 105 "//ui/gfx/x", | 106 "//ui/gfx/x", |
| 106 ] | 107 ] |
| 107 } else { | 108 } else { |
| 108 sources -= [ "gpu_info_collector_x11.cc" ] | 109 sources -= [ "gpu_info_collector_x11.cc" ] |
| 109 } | 110 } |
| 110 if (!use_ozone) { | 111 if (!use_ozone) { |
| 111 sources -= [ "gpu_info_collector_ozone.cc" ] | 112 sources -= [ "gpu_info_collector_ozone.cc" ] |
| 112 } | 113 } |
| 113 } | 114 } |
| OLD | NEW |