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
3 # found in the LICENSE file.
5 import("//build/config/ui.gni")
13 "gpu_control_list_jsons.h",
14 "gpu_control_list.cc",
16 "gpu_driver_bug_list_json.cc",
17 "gpu_driver_bug_list.cc",
18 "gpu_driver_bug_list.h",
19 "gpu_driver_bug_workaround_type.h",
20 "gpu_dx_diagnostics_win.cc",
24 "gpu_info_collector_android.cc",
25 "gpu_info_collector_mac.mm",
26 "gpu_info_collector_ozone.cc",
27 "gpu_info_collector_win.cc",
28 "gpu_info_collector_x11.cc",
29 "gpu_info_collector.cc",
30 "gpu_info_collector.h",
31 "gpu_performance_stats.h",
34 "gpu_test_expectations_parser.cc",
35 "gpu_test_expectations_parser.h",
38 "software_rendering_list_json.cc",
41 defines = [ "GPU_IMPLEMENTATION" ]
50 deps += [ "//third_party/libxml" ]
51 libs = [ "dxguid.lib", "setupapi.lib" ]
53 if (is_chrome_branded) {
55 "//third_party/amd/AmdCfxPxExt.h",
56 "//third_party/amd/amd_videocard_info_win.cc",
60 if (is_linux && use_x11) {
62 "//build/config/linux:x11",
63 "//build/config/linux:xext",
66 "//build/config/linux:libpci",
67 "//third_party/libXNVCtrl",
70 sources -= [ "gpu_info_collector_x11.cc" ]
73 sources -= [ "gpu_info_collector_ozone.cc" ]