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

Side by Side 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, 9 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 unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 # GN version: //ios/third_party/fishhook 8 'target_name': 'libsync',
9 'target_name': 'fishhook',
10 'type': 'static_library', 9 'type': 'static_library',
11 'sources': [ 10 'sources': [
12 'src/fishhook.c', 11 'include/linux/sw_sync.h',
13 'src/fishhook.h', 12 'include/linux/sync.h',
13 'include/sw_sync.h',
14 'include/sync/sync.h',
15 'sync.c',
14 ], 16 ],
17 'include_dirs': [
18 'include',
19 ],
20 # avoid using secure string function
21 '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
15 'direct_dependent_settings': { 22 'direct_dependent_settings': {
16 'include_dirs': [ 23 'include_dirs': [
17 'src' 24 'include',
18 ], 25 ],
19 }, 26 },
20 }, 27 },
21 ], 28 ],
22 } 29 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698