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

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

Powered by Google App Engine
This is Rietveld 408576698