Hal Canary | 32498f0 | 2019-02-04 15:36:31 -0500 | [diff] [blame] | 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 | |
Kevin Lubick | 1ba9c4d | 2019-02-22 10:04:06 -0500 | [diff] [blame] | 5 | if (!defined(is_skia_standalone)) { |
| 6 | is_skia_standalone = false |
Hal Canary | 32498f0 | 2019-02-04 15:36:31 -0500 | [diff] [blame] | 7 | } |
Kevin Lubick | 1ba9c4d | 2019-02-22 10:04:06 -0500 | [diff] [blame] | 8 | is_skia_dev_build = is_skia_standalone && !is_official_build |
| 9 | |
| 10 | declare_args() { |
| 11 | skia_enable_gpu = true |
Kevin Lubick | 1ba9c4d | 2019-02-22 10:04:06 -0500 | [diff] [blame] | 12 | skia_enable_tools = is_skia_dev_build |
| 13 | skia_use_icu = !is_fuchsia && !is_ios |
Kevin Lubick | 867da4b | 2019-02-22 15:55:39 -0500 | [diff] [blame] | 14 | skia_use_harfbuzz = true |
Kevin Lubick | 1ba9c4d | 2019-02-22 10:04:06 -0500 | [diff] [blame] | 15 | } |
Hal Canary | 2a3093c | 2019-02-20 11:25:45 -0500 | [diff] [blame] | 16 | declare_args() { |
| 17 | # TODO: set skia_pdf_subset_harfbuzz to skia_use_harfbuzz. |
| 18 | skia_pdf_subset_harfbuzz = false |
| 19 | } |
Kevin Lubick | 1ba9c4d | 2019-02-22 10:04:06 -0500 | [diff] [blame] | 20 | |
| 21 | # Our tools require static linking (they use non-exported symbols), and the GPU backend. |
| 22 | skia_enable_tools = skia_enable_tools && !is_component_build && skia_enable_gpu |