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', |
], |
}, |
}, |