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

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

Issue 2726873002: Rename third_party/freetype-android to third_party/freetype (Closed)
Patch Set: DEPS Rebased Created 3 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 | « third_party/freetype-android/.clang-format ('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
deleted file mode 100644
index c853c7628e010f8ea6f37f354fca4caeaf9502e4..0000000000000000000000000000000000000000
--- a/third_party/freetype-android/BUILD.gn
+++ /dev/null
@@ -1,84 +0,0 @@
-# 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.
-
-import("//build/config/chromecast_build.gni")
-
-config("freetype_config") {
- include_dirs = [
- "include",
- "src/include",
- ]
-}
-
-config("freetype-warnings") {
- cflags = []
-
- # The reduction of FreeType files to a minimum triggers -Wunused-function
- # warnings in ftbase.c
- cflags += [ "-Wno-unused-function" ]
-}
-
-config("freetype-visibility") {
- cflags = []
- cflags += [ "-fvisibility=default" ]
-}
-
-component("freetype") {
- if (is_linux) {
- output_name = "freetype"
- output_extension = "so.6"
- }
-
- sources = [
- "src/src/autofit/autofit.c",
- "src/src/base/ftbase.c",
- "src/src/base/ftbbox.c",
- "src/src/base/ftbitmap.c",
- "src/src/base/ftfntfmt.c",
- "src/src/base/ftfstype.c",
- "src/src/base/ftgasp.c",
- "src/src/base/ftglyph.c",
- "src/src/base/ftinit.c",
- "src/src/base/ftlcdfil.c",
- "src/src/base/ftmm.c",
- "src/src/base/ftstroke.c",
- "src/src/base/ftsystem.c",
- "src/src/base/fttype1.c",
- "src/src/cff/cff.c",
- "src/src/gzip/ftgzip.c",
- "src/src/pshinter/pshinter.c",
- "src/src/psnames/psnames.c",
- "src/src/raster/raster.c",
- "src/src/sfnt/sfnt.c",
- "src/src/smooth/smooth.c",
- "src/src/truetype/truetype.c",
- ]
-
- if (is_linux || is_chromecast) {
- # Needed for content_shell on Linux and Chromecast, since fontconfig requires FT_Get_BDF_Property.
- sources += [ "src/src/base/ftbdf.c" ]
- }
-
- defines = [
- "FT2_BUILD_LIBRARY",
- "DARWIN_NO_CARBON",
-
- # Long directory name to avoid accidentally using wrong headers.
- "FT_CONFIG_MODULES_H=<freetype-android-config/ftmodule.h>",
- "FT_CONFIG_OPTIONS_H=<freetype-android-config/ftoption.h>",
- ]
-
- public_configs = [ ":freetype_config" ]
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [
- "//build/config/compiler:no_chromium_code",
- ":freetype-warnings",
- ":freetype-visibility"
- ]
-
- deps = [
- "//third_party/libpng",
- "//third_party/zlib",
- ]
-}
« no previous file with comments | « third_party/freetype-android/.clang-format ('k') | third_party/freetype-android/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698