1 # Copyright 2013 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 { 6 'targets': [ 7 { 8 'target_name': 'libusb', 9 'type': 'none', 10 'variables': { 11 'headers_root_path': 'src/libusb', 12 'header_filenames': [ 13 'libusb.h', 14 ], 15 }, 16 'includes': [ 17 '../../build/shim_headers.gypi', 18 ], 19 'direct_dependent_settings': { 20 'cflags': [ 21 '<!@(pkg-config --cflags libusb-1.0)', 22 ], 23 'link_settings': { 24 'ldflags': [ 25 '<!@(pkg-config --libs-only-L --libs-only-other libusb-1.0)', 26 ], 27 'libraries': [ 28 '<!@(pkg-config --libs-only-l libusb-1.0)', 29 ], 30 }, 31 }, 32 }, 33 ], 34 } 35