Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1146)

Unified Diff: third_party/hidapi/hidapi.gyp

Issue 25666010: Adding third party library hidapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adding third party library hidapi Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/hidapi/hidapi.gyp
diff --git a/third_party/hidapi/hidapi.gyp b/third_party/hidapi/hidapi.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..dd1ca0d48280fb319582b856cf7612267067c5e3
--- /dev/null
+++ b/third_party/hidapi/hidapi.gyp
@@ -0,0 +1,32 @@
+# 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.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'hidapi',
+ 'type': 'static_library',
+ 'sources': [
+ 'hidapi.h',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '.',
+ ],
+ },
+ 'conditions': [
+ [ 'OS == "win"', {
+ 'msvs_disabled_warnings': [ 4267 ],
+ 'sources' : [ 'hidapi_win.c' ],
+ }],
+ [ 'OS == "mac"', {
+ 'sources' : [ 'hidapi_mac.c' ],
+ }],
+ [ 'OS == "linux"', {
+ 'sources' : [ 'hidapi_linux.c' ],
+ }],
+ ],
+ },
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698