| Index: build/linux/libpci/BUILD.gn
|
| diff --git a/build/linux/libpci/BUILD.gn b/build/linux/libpci/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7fa4608197b078f0c0f6bb3d2738a04b3e9a6afc
|
| --- /dev/null
|
| +++ b/build/linux/libpci/BUILD.gn
|
| @@ -0,0 +1,20 @@
|
| +# Copyright (c) 2015 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +import("//tools/generate_library_loader/generate_library_loader.gni")
|
| +
|
| +gypi_values = exec_script("//build/gypi_to_gn.py",
|
| + [ rebase_path("../system.gyp") ],
|
| + "scope",
|
| + [ "../system.gyp" ])
|
| +
|
| +# This generates a target named "libpci".
|
| +generate_library_loader("libpci") {
|
| + name = "LibPciLoader"
|
| + output_h = "libpci.h"
|
| + output_cc = "libpci_loader.cc"
|
| + header = "<pci/pci.h>"
|
| +
|
| + functions = gypi_values.libpci_functions
|
| +}
|
|
|