| 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 declare_args() { | 6 declare_args() { |
| 7 skia_enable_tools = !is_fuchsia && !is_component_build | 7 skia_enable_tools = !is_fuchsia && !is_component_build |
| 8 | 8 |
| 9 skia_use_expat = true | 9 skia_use_expat = true |
| 10 skia_use_giflib = !is_fuchsia | 10 skia_use_giflib = !is_fuchsia |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 enabled = skia_use_zlib | 278 enabled = skia_use_zlib |
| 279 public_defines = [] | 279 public_defines = [] |
| 280 | 280 |
| 281 deps = [ | 281 deps = [ |
| 282 "//third_party/zlib", | 282 "//third_party/zlib", |
| 283 ] | 283 ] |
| 284 sources = pdf_gypi.sources | 284 sources = pdf_gypi.sources |
| 285 | 285 |
| 286 if (skia_use_sfntly) { | 286 if (skia_use_sfntly) { |
| 287 deps += [ "//third_party/sfntly" ] | 287 deps += [ "//third_party/sfntly" ] |
| 288 public_defines += [ | 288 public_defines += [ "SK_PDF_USE_SFNTLY" ] |
| 289 # TODO(halcanary): make this the default; this is the value Android uses. | |
| 290 "SK_SFNTLY_SUBSETTER=\"sample/chromium/font_subsetter.h\"", | |
| 291 ] | |
| 292 } | 289 } |
| 293 } | 290 } |
| 294 | 291 |
| 295 optional("png") { | 292 optional("png") { |
| 296 enabled = skia_use_libpng | 293 enabled = skia_use_libpng |
| 297 public_defines = [ "SK_HAS_PNG_LIBRARY" ] | 294 public_defines = [ "SK_HAS_PNG_LIBRARY" ] |
| 298 | 295 |
| 299 deps = [ | 296 deps = [ |
| 300 "//third_party/libpng", | 297 "//third_party/libpng", |
| 301 ] | 298 ] |
| (...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 751 "tools/SkShaper_harfbuzz.cpp", | 748 "tools/SkShaper_harfbuzz.cpp", |
| 752 "tools/using_skia_and_harfbuzz.cpp", | 749 "tools/using_skia_and_harfbuzz.cpp", |
| 753 ] | 750 ] |
| 754 deps = [ | 751 deps = [ |
| 755 ":skia", | 752 ":skia", |
| 756 "//third_party/harfbuzz", | 753 "//third_party/harfbuzz", |
| 757 ] | 754 ] |
| 758 testonly = true | 755 testonly = true |
| 759 } | 756 } |
| 760 } | 757 } |
| OLD | NEW |