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

Unified Diff: third_party/libteken/BUILD.gn

Issue 1127823002: Add libteken (from FreeBSD) to third_party. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 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/libteken/COPYRIGHT » ('j') | third_party/libteken/teken/demo/Makefile » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libteken/BUILD.gn
diff --git a/third_party/libteken/BUILD.gn b/third_party/libteken/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..cf0a855473f5ae5ebc2880d5765226667bd52a7f
--- /dev/null
+++ b/third_party/libteken/BUILD.gn
@@ -0,0 +1,25 @@
+# Copyright 2015 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.
+
+import("//mojo/tools/embed/rules.gni")
+
+source_set("libteken") {
+ sources = [
+ "teken/teken.c",
+ "teken/teken.h",
+ "teken/teken_scs.h",
+ "teken/teken_state.h",
+ "teken/teken_subr.h",
+ "teken/teken_subr_compat.h",
+ "teken/teken_wcwidth.h",
+ ]
+
+ defines = [ "__unused=__attribute__((unused))" ]
+}
+
+embed_file("libteken_license_text") {
+ source = "COPYRIGHT"
+ namespace = "licenses"
+ variable = "kLibtekenLicenseText"
+}
« no previous file with comments | « no previous file | third_party/libteken/COPYRIGHT » ('j') | third_party/libteken/teken/demo/Makefile » ('J')

Powered by Google App Engine
This is Rietveld 408576698