2019-02-04 20:36:31 +00:00
|
|
|
# Copyright 2019 Google LLC.
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
2019-02-22 15:04:06 +00:00
|
|
|
if (!defined(is_skia_standalone)) {
|
|
|
|
is_skia_standalone = false
|
|
|
|
}
|
|
|
|
is_skia_dev_build = is_skia_standalone && !is_official_build
|
|
|
|
|
2019-02-04 20:36:31 +00:00
|
|
|
declare_args() {
|
2019-02-22 15:04:06 +00:00
|
|
|
skia_enable_gpu = true
|
2019-02-13 15:29:50 +00:00
|
|
|
skia_enable_skshaper = true
|
2019-02-22 15:04:06 +00:00
|
|
|
skia_enable_tools = is_skia_dev_build
|
|
|
|
skia_use_icu = !is_fuchsia && !is_ios
|
2019-02-22 20:55:39 +00:00
|
|
|
skia_use_harfbuzz = true
|
2019-02-04 20:36:31 +00:00
|
|
|
}
|
2019-02-20 16:25:45 +00:00
|
|
|
declare_args() {
|
|
|
|
# TODO: set skia_pdf_subset_harfbuzz to skia_use_harfbuzz.
|
|
|
|
skia_pdf_subset_harfbuzz = false
|
|
|
|
}
|
2019-02-22 15:04:06 +00:00
|
|
|
|
|
|
|
# Our tools require static linking (they use non-exported symbols), and the GPU backend.
|
|
|
|
skia_enable_tools = skia_enable_tools && !is_component_build && skia_enable_gpu
|