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

Unified Diff: third_party/libsync/libsync.gyp

Issue 1754293002: third_party: Add the libsync library from Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: include linux headers with Apache 2 license Created 4 years, 10 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/libsync/libsync.gyp
diff --git a/ios/third_party/fishhook/fishhook.gyp b/third_party/libsync/libsync.gyp
similarity index 50%
copy from ios/third_party/fishhook/fishhook.gyp
copy to third_party/libsync/libsync.gyp
index 968eb044f6ac3211bc9f0eeb8893dc9a7160a057..ae55a38f69328cbe0b807902d0bc6e28734788d3 100644
--- a/ios/third_party/fishhook/fishhook.gyp
+++ b/third_party/libsync/libsync.gyp
@@ -5,16 +5,23 @@
{
'targets': [
{
- # GN version: //ios/third_party/fishhook
- 'target_name': 'fishhook',
+ 'target_name': 'libsync',
'type': 'static_library',
'sources': [
- 'src/fishhook.c',
- 'src/fishhook.h',
+ 'include/linux/sw_sync.h',
+ 'include/linux/sync.h',
+ 'include/sw_sync.h',
+ 'include/sync/sync.h',
+ 'sync.c',
],
+ 'include_dirs': [
+ 'include',
+ ],
+ # avoid using secure string function
+ 'defines': ['strlcpy=strncpy'],
piman 2016/03/03 19:43:36 ugh - can you add a TODO/file a bug? It shouldn't
reveman 2016/03/03 20:43:10 Done.
piman 2016/03/04 20:38:18 Maybe -Dstrlcpy=strlcpy_chromium and then implemen
'direct_dependent_settings': {
'include_dirs': [
- 'src'
+ 'include',
],
},
},

Powered by Google App Engine
This is Rietveld 408576698