| OLD | NEW |
| 1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2015 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 import("//build/config/linux/pkg_config.gni") | 6 import("//build/config/linux/pkg_config.gni") |
| 7 | 7 |
| 8 if (use_gio) { | 8 if (use_gio) { |
| 9 pkg_config("gio_config") { | 9 pkg_config("gio_config") { |
| 10 packages = [ "gio-2.0" ] | 10 packages = [ "gio-2.0" ] |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 # Chromecast platform does not provide fontconfig | 42 # Chromecast platform does not provide fontconfig |
| 43 public_deps = [ | 43 public_deps = [ |
| 44 "//third_party/fontconfig", | 44 "//third_party/fontconfig", |
| 45 ] | 45 ] |
| 46 } else { | 46 } else { |
| 47 public_configs = [ "//build/config/linux:fontconfig" ] | 47 public_configs = [ "//build/config/linux:fontconfig" ] |
| 48 } | 48 } |
| 49 } | 49 } |
| 50 | 50 |
| 51 if (!is_chromecast) { | 51 if (!is_chromecast) { |
| 52 # Only provided for distributions which prefer to keep linking to FreeType on |
| 53 # the system, use with caution,for details see build/config/freetype/BUILD.gn. |
| 52 pkg_config("freetype_from_pkgconfig") { | 54 pkg_config("freetype_from_pkgconfig") { |
| 53 visibility = [ ":freetype2" ] | 55 visibility = [ ":freetype2" ] |
| 54 packages = [ "freetype2" ] | 56 packages = [ "freetype2" ] |
| 55 } | 57 } |
| 56 } | 58 } |
| 57 | |
| OLD | NEW |