Index: gpu/config/gpu_info_collector_linux.cc |
diff --git a/gpu/config/gpu_info_collector_linux.cc b/gpu/config/gpu_info_collector_linux.cc |
index 061fe35929e5acf5019dc2e5e6a0624332fadeed..ac5660ae328bc5638e0f125100c95cd3d57f177a 100644 |
--- a/gpu/config/gpu_info_collector_linux.cc |
+++ b/gpu/config/gpu_info_collector_linux.cc |
@@ -31,6 +31,7 @@ namespace gpu { |
namespace { |
+#if defined(USE_LIBPCI) |
// This checks if a system supports PCI bus. |
// We check the existence of /sys/bus/pci or /sys/bug/pci_express. |
bool IsPciSupported() { |
@@ -39,6 +40,7 @@ bool IsPciSupported() { |
return (base::PathExists(pci_path) || |
base::PathExists(pcie_path)); |
} |
+#endif // defined(USE_LIBPCI) |
// Scan /etc/ati/amdpcsdb.default for "ReleaseVersion". |
// Return empty string on failing. |