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

Unified Diff: third_party/freetype-android/BUILD.gn

Issue 1155743013: Move third_party/freetype DEPS to third_party/freetype-android/src (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actually update security property. 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 | « skia/skia_library.gypi ('k') | third_party/freetype-android/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/freetype-android/BUILD.gn
diff --git a/third_party/freetype-android/BUILD.gn b/third_party/freetype-android/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..67f6fe8da78e9a12cef614788e0881591dc5383e
--- /dev/null
+++ b/third_party/freetype-android/BUILD.gn
@@ -0,0 +1,50 @@
+# Copyright 2014 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.
+
+assert(is_android, "This library is only used on Android")
+
+config("freetype_config") {
+ include_dirs = [ "src/include" ]
+}
+
+source_set("freetype") {
+ sources = [
+ # The following files are not sorted alphabetically, but in the
+ # same order as in Android.mk to ease maintenance.
+ "src/src/base/ftbbox.c",
+ "src/src/base/ftbitmap.c",
+ "src/src/base/ftfstype.c",
+ "src/src/base/ftglyph.c",
+ "src/src/base/ftlcdfil.c",
+ "src/src/base/ftstroke.c",
+ "src/src/base/fttype1.c",
+ "src/src/base/ftxf86.c",
+ "src/src/base/ftbase.c",
+ "src/src/base/ftsystem.c",
+ "src/src/base/ftinit.c",
+ "src/src/base/ftgasp.c",
+ "src/src/base/ftmm.c",
+ "src/src/gzip/ftgzip.c",
+ "src/src/raster/raster.c",
+ "src/src/sfnt/sfnt.c",
+ "src/src/smooth/smooth.c",
+ "src/src/autofit/autofit.c",
+ "src/src/truetype/truetype.c",
+ "src/src/cff/cff.c",
+ "src/src/psnames/psnames.c",
+ "src/src/pshinter/pshinter.c",
+ ]
+
+ defines = [
+ "FT2_BUILD_LIBRARY",
+ "DARWIN_NO_CARBON",
+ ]
+
+ public_configs = [ ":freetype_config" ]
+
+ deps = [
+ "//third_party/libpng",
+ "//third_party/zlib",
+ ]
+}
« no previous file with comments | « skia/skia_library.gypi ('k') | third_party/freetype-android/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698