OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2015 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 gypi_values = exec_script("//build/gypi_to_gn.py", |
| 8 [ rebase_path("../system.gyp") ], |
| 9 "scope", |
| 10 [ "../system.gyp" ]) |
| 11 |
| 12 # This generates a target named "libpci". |
| 13 generate_library_loader("libpci") { |
| 14 name = "LibPciLoader" |
| 15 output_h = "libpci.h" |
| 16 output_cc = "libpci_loader.cc" |
| 17 header = "<pci/pci.h>" |
| 18 |
| 19 functions = gypi_values.libpci_functions |
| 20 } |
OLD | NEW |