blob: 8617d06209de30fe146f5a248f558fc1dea843bc [file] [log] [blame]
Hal Canary32498f02019-02-04 15:36:31 -05001# 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
Kevin Lubick1ba9c4d2019-02-22 10:04:06 -05005if (!defined(is_skia_standalone)) {
6 is_skia_standalone = false
Hal Canary32498f02019-02-04 15:36:31 -05007}
Kevin Lubick1ba9c4d2019-02-22 10:04:06 -05008is_skia_dev_build = is_skia_standalone && !is_official_build
9
10declare_args() {
11 skia_enable_gpu = true
12 skia_enable_skshaper = true
13 skia_enable_tools = is_skia_dev_build
14 skia_use_icu = !is_fuchsia && !is_ios
Kevin Lubick867da4b2019-02-22 15:55:39 -050015 skia_use_harfbuzz = true
Kevin Lubick1ba9c4d2019-02-22 10:04:06 -050016}
Hal Canary2a3093c2019-02-20 11:25:45 -050017declare_args() {
18 # TODO: set skia_pdf_subset_harfbuzz to skia_use_harfbuzz.
19 skia_pdf_subset_harfbuzz = false
20}
Kevin Lubick1ba9c4d2019-02-22 10:04:06 -050021
22# Our tools require static linking (they use non-exported symbols), and the GPU backend.
23skia_enable_tools = skia_enable_tools && !is_component_build && skia_enable_gpu