Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(342)

Side by Side Diff: BUILD.gn

Issue 2346333002: Split SkFontConfigInterface globals and factory. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | cmake/CMakeLists.txt » ('j') | include/ports/SkFontConfigInterface.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | cmake/CMakeLists.txt » ('j') | include/ports/SkFontConfigInterface.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698