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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 if (!is_chromecast) { | 51 if (!is_chromecast) { |
52 pkg_config("freetype2_config") { | 52 pkg_config("freetype2_config") { |
53 visibility = [ ":freetype2" ] | 53 visibility = [ ":freetype2" ] |
54 packages = [ "freetype2" ] | 54 packages = [ "freetype2" ] |
55 } | 55 } |
56 } | 56 } |
57 | 57 |
58 group("freetype2") { | 58 group("freetype2") { |
59 if (is_chromecast) { | 59 if (is_chromecast) { |
60 # Chromecast platform doesn't provide freetype, so use Chromium's. | 60 # Chromecast platform doesn't provide freetype, so use Chromium's. |
61 # The version in freetype-android is unmodified from freetype2 upstream. | |
62 public_deps = [ | 61 public_deps = [ |
63 "//third_party/freetype-android:freetype", | 62 "//third_party/freetype", |
64 ] | 63 ] |
65 } else { | 64 } else { |
66 public_configs = [ ":freetype2_config" ] | 65 public_configs = [ ":freetype2_config" ] |
67 } | 66 } |
68 } | 67 } |
OLD | NEW |