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

Unified Diff: build/config/freetype/BUILD.gn

Issue 2773123002: Control FreeType linkage globally in //build/config/freetype (Closed)
Patch Set: Fix Fontconfig build on cast shell 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 | « no previous file | build/linux/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/freetype/BUILD.gn
diff --git a/build/config/freetype/BUILD.gn b/build/config/freetype/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..24d60f6c870d78b842816fc4732041f848d8a8e3
--- /dev/null
+++ b/build/config/freetype/BUILD.gn
@@ -0,0 +1,15 @@
+# Copyright 2017 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/features.gni")
+
+group("freetype") {
+ if (is_chromecast || is_android) {
+ public_deps = [
+ "//third_party/freetype",
+ ]
+ } else {
+ public_configs = [ "//build/linux:freetype_from_pkgconfig" ]
+ }
+}
« no previous file with comments | « no previous file | build/linux/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698