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

Unified 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: use strlcpy from aosp 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/libsync/LICENSE » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libsync/BUILD.gn
diff --git a/third_party/libsync/BUILD.gn b/third_party/libsync/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..728b884fce9c55833f55333de8884ba37e992b5f
--- /dev/null
+++ b/third_party/libsync/BUILD.gn
@@ -0,0 +1,23 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+config("libsync_config") {
+ include_dirs = [ "include" ]
+}
+
+source_set("libsync") {
+ sources = [
+ "include/linux/sw_sync.h",
+ "include/linux/sync.h",
+ "include/sw_sync.h",
+ "include/sync/sync.h",
+ "strlcpy.c",
+ "sync.c",
+ ]
+
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+
+ public_configs = [ ":libsync_config" ]
+}
« no previous file with comments | « no previous file | third_party/libsync/LICENSE » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698