# Copyright (c) 2012 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. { 'variables': { 'use_system_libusb%': 0, }, 'targets': [ { 'target_name': 'libusb', 'conditions': [ ['OS == "linux" and use_system_libusb==1', { 'type': 'none', 'variables': { 'headers_root_path': 'src/libusb', 'header_filenames': [ 'libusb.h', ], }, 'includes': [ '../../build/shim_headers.gypi', ], 'direct_dependent_settings': { 'cflags': [ '