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

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

Issue 1627533002: [Chromecast] Depend on Chromium's freetype-android (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Remove use_system_fontconfig flag from build/linux/BUILD.gn Created 4 years, 11 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/fontconfig/BUILD.gn ('k') | third_party/freetype-android/README.chromium » ('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
index 439216228e589c147706c9a9c2abc89272cc5fdf..acca85a5c719d8d72dac6882179605cee16e0166 100644
--- a/third_party/freetype-android/BUILD.gn
+++ b/third_party/freetype-android/BUILD.gn
@@ -2,7 +2,10 @@
# 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")
+import("//build/config/chromecast_build.gni")
+
+assert(is_android || is_chromecast,
+ "This library is only used on Android or Chromecast")
config("freetype_config") {
include_dirs = [
@@ -39,6 +42,10 @@ source_set("freetype") {
"src/src/truetype/truetype.c",
]
+ if (is_chromecast) {
+ sources += [ "src/src/base/ftbdf.c" ]
+ }
+
defines = [
"FT2_BUILD_LIBRARY",
"DARWIN_NO_CARBON",
« no previous file with comments | « third_party/fontconfig/BUILD.gn ('k') | third_party/freetype-android/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698