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" ] |
+ } |
+} |