OLD | NEW |
1 # Copyright 2016 Google Inc. | 1 # Copyright 2016 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 import("gn/shared_sources.gni") | 6 import("gn/shared_sources.gni") |
7 | 7 |
8 declare_args() { | 8 declare_args() { |
9 skia_enable_tools = !is_fuchsia && !is_component_build | 9 skia_enable_tools = !is_fuchsia && !is_component_build |
10 | 10 |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 } | 256 } |
257 | 257 |
258 optional("fontmgr_fontconfig") { | 258 optional("fontmgr_fontconfig") { |
259 enabled = skia_use_freetype && skia_use_fontconfig | 259 enabled = skia_use_freetype && skia_use_fontconfig |
260 | 260 |
261 deps = [ | 261 deps = [ |
262 "//third_party:fontconfig", | 262 "//third_party:fontconfig", |
263 "//third_party/freetype2", | 263 "//third_party/freetype2", |
264 ] | 264 ] |
265 sources = [ | 265 sources = [ |
| 266 "src/ports/SkFontConfigInterface.cpp", |
266 "src/ports/SkFontConfigInterface_direct.cpp", | 267 "src/ports/SkFontConfigInterface_direct.cpp", |
267 "src/ports/SkFontConfigInterface_direct_factory.cpp", | 268 "src/ports/SkFontConfigInterface_direct_factory.cpp", |
268 "src/ports/SkFontMgr_FontConfigInterface.cpp", | 269 "src/ports/SkFontMgr_FontConfigInterface.cpp", |
269 "src/ports/SkFontMgr_fontconfig.cpp", | 270 "src/ports/SkFontMgr_fontconfig.cpp", |
270 "src/ports/SkFontMgr_fontconfig_factory.cpp", | 271 "src/ports/SkFontMgr_fontconfig_factory.cpp", |
271 ] | 272 ] |
272 } | 273 } |
273 | 274 |
274 optional("fontmgr_fuchsia") { | 275 optional("fontmgr_fuchsia") { |
275 enabled = is_fuchsia && skia_use_freetype | 276 enabled = is_fuchsia && skia_use_freetype |
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
869 "tools/get_images_from_skps.cpp", | 870 "tools/get_images_from_skps.cpp", |
870 ] | 871 ] |
871 deps = [ | 872 deps = [ |
872 ":flags", | 873 ":flags", |
873 ":skia", | 874 ":skia", |
874 "//third_party/jsoncpp", | 875 "//third_party/jsoncpp", |
875 ] | 876 ] |
876 testonly = true | 877 testonly = true |
877 } | 878 } |
878 } | 879 } |
OLD | NEW |