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

Side by Side Diff: BUILD.gn

Issue 2318133003: GN: fontmgr_custom (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 | no next file » | no next file with comments »
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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 "//third_party/expat", 217 "//third_party/expat",
218 "//third_party/freetype2", 218 "//third_party/freetype2",
219 ] 219 ]
220 sources = [ 220 sources = [
221 "src/ports/SkFontMgr_android.cpp", 221 "src/ports/SkFontMgr_android.cpp",
222 "src/ports/SkFontMgr_android_factory.cpp", 222 "src/ports/SkFontMgr_android_factory.cpp",
223 "src/ports/SkFontMgr_android_parser.cpp", 223 "src/ports/SkFontMgr_android_parser.cpp",
224 ] 224 ]
225 } 225 }
226 226
227 optional("fontmgr_custom") {
228 enabled = is_linux && skia_use_freetype && !skia_use_fontconfig
229
230 deps = [
231 "//third_party/freetype2",
232 ]
233 sources = [
234 "src/ports/SkFontMgr_custom.cpp",
235 "src/ports/SkFontMgr_custom_directory_factory.cpp",
236 ]
237 }
238
227 optional("fontmgr_fontconfig") { 239 optional("fontmgr_fontconfig") {
228 enabled = skia_use_freetype && skia_use_fontconfig 240 enabled = skia_use_freetype && skia_use_fontconfig
229 241
230 deps = [ 242 deps = [
231 "//third_party:fontconfig", 243 "//third_party:fontconfig",
232 "//third_party/freetype2", 244 "//third_party/freetype2",
233 ] 245 ]
234 sources = [ 246 sources = [
235 "src/ports/SkFontConfigInterface_direct.cpp", 247 "src/ports/SkFontConfigInterface_direct.cpp",
236 "src/ports/SkFontConfigInterface_direct_factory.cpp", 248 "src/ports/SkFontConfigInterface_direct_factory.cpp",
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 public_configs = [ ":skia_public" ] 352 public_configs = [ ":skia_public" ]
341 configs += skia_library_configs 353 configs += skia_library_configs
342 354
343 deps = [ 355 deps = [
344 ":arm64", 356 ":arm64",
345 ":armv7", 357 ":armv7",
346 ":avx", 358 ":avx",
347 ":crc32", 359 ":crc32",
348 ":dsp", 360 ":dsp",
349 ":fontmgr_android", 361 ":fontmgr_android",
362 ":fontmgr_custom",
350 ":fontmgr_fontconfig", 363 ":fontmgr_fontconfig",
351 ":gif", 364 ":gif",
352 ":jpeg", 365 ":jpeg",
353 ":none", 366 ":none",
354 ":pdf", 367 ":pdf",
355 ":png", 368 ":png",
356 ":sse2", 369 ":sse2",
357 ":sse41", 370 ":sse41",
358 ":sse42", 371 ":sse42",
359 ":ssse3", 372 ":ssse3",
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 "tools/using_skia_and_harfbuzz.cpp", 785 "tools/using_skia_and_harfbuzz.cpp",
773 ] 786 ]
774 deps = [ 787 deps = [
775 ":skia", 788 ":skia",
776 "//third_party/harfbuzz", 789 "//third_party/harfbuzz",
777 ] 790 ]
778 testonly = true 791 testonly = true
779 } 792 }
780 } 793 }
781 } 794 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698