OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2012 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': 'hidapi', |
| 9 'type': 'static_library', |
| 10 'sources': [ |
| 11 'hidapi.h', |
| 12 ], |
| 13 'direct_dependent_settings': { |
| 14 'include_dirs': [ |
| 15 '.', |
| 16 ], |
| 17 }, |
| 18 'conditions': [ |
| 19 [ 'OS == "win"', { |
| 20 'msvs_disabled_warnings': [ 4267 ], |
| 21 'sources' : [ 'hidapi_win.c' ], |
| 22 }], |
| 23 [ 'OS == "mac"', { |
| 24 'sources' : [ 'hidapi_mac.c' ], |
| 25 }], |
| 26 [ 'OS == "linux"', { |
| 27 'sources' : [ 'hidapi_linux.c' ], |
| 28 }], |
| 29 ], |
| 30 }, |
| 31 ], |
| 32 } |
OLD | NEW |