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_linux.cc",
26 "gpu_info_collector_linux.h",
27 "gpu_info_collector_mac.mm",
28 "gpu_info_collector_ozone.cc",
29 "gpu_info_collector_win.cc",
30 "gpu_info_collector_x11.cc",
31 "gpu_info_collector.cc",
32 "gpu_info_collector.h",
33 "gpu_performance_stats.h",
36 "gpu_test_expectations_parser.cc",
37 "gpu_test_expectations_parser.h",
40 "software_rendering_list_json.cc",
43 defines = [ "GPU_IMPLEMENTATION" ]
52 deps += [ "//third_party/libxml" ]
53 libs = [ "dxguid.lib", "setupapi.lib" ]
55 if (is_chrome_branded && is_official_build) {
57 "//third_party/amd/AmdCfxPxExt.h",
58 "//third_party/amd/amd_videocard_info_win.cc",
62 if (is_linux && (use_x11 || use_ozone)) {
64 "//build/config/linux:libpci",
67 if (is_linux && use_x11) {
69 "//build/config/linux:x11",
70 "//build/config/linux:xext",
73 "//third_party/libXNVCtrl",
76 sources -= [ "gpu_info_collector_x11.cc" ]
79 sources -= [ "gpu_info_collector_ozone.cc" ]