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