OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 | 6 |
7 group("freetype") { | 7 group("freetype") { |
8 if (is_chromecast || is_android || is_win) { | 8 if (is_linux && !is_chromecast) { |
| 9 public_configs = [ "//build/linux:freetype_from_pkgconfig" ] |
| 10 } else { |
9 public_deps = [ | 11 public_deps = [ |
10 "//third_party/freetype", | 12 "//third_party/freetype", |
11 ] | 13 ] |
12 } else if (is_linux) { | |
13 public_configs = [ "//build/linux:freetype_from_pkgconfig" ] | |
14 } | 14 } |
15 } | 15 } |
OLD | NEW |