skia.gni 697 B

12345678910111213141516171819202122
  1. # Copyright 2019 Google LLC.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. if (!defined(is_skia_standalone)) {
  5. is_skia_standalone = false
  6. }
  7. is_skia_dev_build = is_skia_standalone && !is_official_build
  8. declare_args() {
  9. skia_enable_gpu = true
  10. skia_enable_tools = is_skia_dev_build
  11. skia_use_icu = !is_fuchsia && !is_ios
  12. skia_use_harfbuzz = true
  13. }
  14. declare_args() {
  15. # TODO: set skia_pdf_subset_harfbuzz to skia_use_harfbuzz.
  16. skia_pdf_subset_harfbuzz = false
  17. }
  18. # Our tools require static linking (they use non-exported symbols), and the GPU backend.
  19. skia_enable_tools = skia_enable_tools && !is_component_build && skia_enable_gpu