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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 deps += [ | 89 deps += [ |
90 "//third_party/libXNVCtrl", | 90 "//third_party/libXNVCtrl", |
91 "//ui/gfx/x", | 91 "//ui/gfx/x", |
92 ] | 92 ] |
93 } else { | 93 } else { |
94 sources -= [ "gpu_info_collector_x11.cc" ] | 94 sources -= [ "gpu_info_collector_x11.cc" ] |
95 } | 95 } |
96 if (!use_ozone) { | 96 if (!use_ozone) { |
97 sources -= [ "gpu_info_collector_ozone.cc" ] | 97 sources -= [ "gpu_info_collector_ozone.cc" ] |
98 } | 98 } |
| 99 if (is_mac) { |
| 100 cflags = [ "-Wno-deprecated-declarations" ] |
| 101 } |
99 } | 102 } |
OLD | NEW |