2022-02-14 20:08:12 +00:00
|
|
|
# Copyright 2022 Google LLC. All rights reserved.
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
|
|
|
declare_args() {
|
2022-03-03 20:12:53 +00:00
|
|
|
skia_canvaskit_enable_alias_font = true
|
2022-02-14 20:08:12 +00:00
|
|
|
skia_canvaskit_enable_canvas_bindings = true
|
2022-03-03 20:12:53 +00:00
|
|
|
skia_canvaskit_enable_debugger = false
|
|
|
|
skia_canvaskit_enable_effects_deserialization = true
|
|
|
|
skia_canvaskit_enable_embedded_font = true
|
|
|
|
skia_canvaskit_enable_font = true
|
|
|
|
skia_canvaskit_enable_matrix_helper = true
|
2022-02-14 20:08:12 +00:00
|
|
|
skia_canvaskit_enable_particles = true
|
2022-03-03 20:12:53 +00:00
|
|
|
skia_canvaskit_enable_pathops = true
|
2022-02-14 20:08:12 +00:00
|
|
|
skia_canvaskit_enable_rt_shader = true
|
2022-03-03 20:12:53 +00:00
|
|
|
skia_canvaskit_enable_skottie = true
|
2022-02-14 20:08:12 +00:00
|
|
|
skia_canvaskit_enable_skp_serialization = true
|
2022-03-03 20:12:53 +00:00
|
|
|
skia_canvaskit_enable_sksl_trace = true
|
2022-02-14 20:08:12 +00:00
|
|
|
skia_canvaskit_enable_paragraph = true
|
|
|
|
skia_canvaskit_include_viewer = false
|
|
|
|
skia_canvaskit_force_tracing = false
|
|
|
|
skia_canvaskit_profile_build = false
|
2022-02-23 14:49:19 +00:00
|
|
|
skia_canvaskit_legacy_draw_vertices_blend_mode = false
|
2022-06-11 07:14:36 +00:00
|
|
|
skia_canvaskit_enable_webgpu = false
|
|
|
|
skia_canvaskit_enable_webgl = false
|
2022-02-14 20:08:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# Assert that skia_canvaskit_profile_build implies release mode.
|
|
|
|
assert(
|
|
|
|
!skia_canvaskit_profile_build || !is_debug,
|
|
|
|
"If you set `skia_canvaskit_profile_build=true` you must set `is_debug=false`.")
|
|
|
|
|
|
|
|
# Assert that skia_canvaskit_enable_embedded_font implies skia_canvaskit_enable_font.
|
|
|
|
assert(
|
|
|
|
!skia_canvaskit_enable_embedded_font || skia_canvaskit_enable_font,
|
|
|
|
"If you set `skia_canvaskit_enable_embedded_font=true` you must set `skia_canvaskit_enable_font=true`.")
|