| 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'],
|
| 'direct_dependent_settings': {
|
| 'include_dirs': [
|
| - 'src'
|
| + 'include',
|
| ],
|
| },
|
| },
|
|
|