1 # Copyright 2016 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. 4 5 import("//tools/generate_library_loader/generate_library_loader.gni") 6 7 # This generates a target named "libpci". 8 generate_library_loader("libpci") { 9 name = "LibPciLoader" 10 output_h = "libpci.h" 11 output_cc = "libpci_loader.cc" 12 header = "<pci/pci.h>" 13 14 functions = [ 15 "pci_alloc", 16 "pci_init", 17 "pci_cleanup", 18 "pci_scan_bus", 19 "pci_fill_info", 20 "pci_lookup_name", 21 ] 22 } 23