OLD | NEW |
---|---|
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 } |
OLD | NEW |