Index: third_party/libsync/libsync.gyp |
diff --git a/third_party/libsync/libsync.gyp b/third_party/libsync/libsync.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..43b7610d3f08f3ee6018fde4fc5171edadb1ecb2 |
--- /dev/null |
+++ b/third_party/libsync/libsync.gyp |
@@ -0,0 +1,29 @@ |
+# Copyright 2016 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': 'libsync', |
+ 'type': 'static_library', |
+ 'sources': [ |
+ 'include/linux/sw_sync.h', |
+ 'include/linux/sync.h', |
+ 'include/sw_sync.h', |
+ 'include/sync/sync.h', |
+ 'sync.c', |
+ ], |
+ 'include_dirs': [ |
+ 'include', |
+ ], |
+ # TODO(reveman): Remove this when crbug.com/591791 has been fixed. |
+ 'defines': ['strlcpy=strncpy'], |
+ 'direct_dependent_settings': { |
+ 'include_dirs': [ |
+ 'include', |
+ ], |
+ }, |
+ }, |
+ ], |
+} |