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

Side by Side Diff: third_party/libsync/BUILD.gn

Issue 1754293002: third_party: Add the libsync library from Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add todo for strlcpy hack 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
« no previous file with comments | « no previous file | third_party/libsync/LICENSE » ('j') | third_party/libsync/README.chromium » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 config("libsync_config") {
6 include_dirs = [ "include" ]
7 }
8
9 source_set("libsync") {
10 sources = [
11 "include/linux/sw_sync.h",
12 "include/linux/sync.h",
13 "include/sw_sync.h",
14 "include/sync/sync.h",
15 "sync.c",
16 ]
17
18 # TODO(reveman): Remove this when crbug.com/591791 has been fixed.
19 defines += [ "strlcpy=strncpy" ]
Nico 2016/03/04 20:52:04 ugh :-( strlcpy and strncpy have pretty different
reveman 2016/03/07 17:18:25 Done. Added the OpenBSD version of strlcpy.
20
21 configs -= [ "//build/config/compiler:chromium_code" ]
22 configs += [ "//build/config/compiler:no_chromium_code" ]
23
24 public_configs = [ ":libsync_config" ]
25 }
OLDNEW
« no previous file with comments | « no previous file | third_party/libsync/LICENSE » ('j') | third_party/libsync/README.chromium » ('J')

Powered by Google App Engine
This is Rietveld 408576698