[M120 Migration][VD] Remove accessing oom_score_adj in zygote process
[platform/framework/web/chromium-efl.git] / skia / features.gni
1 # Copyright 2019 The Chromium Authors
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//build/config/features.gni")
6 import("//printing/buildflags/buildflags.gni")
7
8 declare_args() {
9   # Enable experimental Skia Graphite Dawn backend. Currently enabled for Mac
10   # and Windows only.
11   skia_use_dawn = is_mac || is_win
12
13   # Enable experimental Skia Graphite Metal backend. Intended only for debugging
14   # on non-official developer builds.
15   skia_use_metal = is_mac && !is_official_build
16
17   # Enable gtests using SkiaRenderer on Skia Graphite.
18   enable_skia_graphite_gtests = is_mac
19 }
20
21 # Skia only needs to support GPU rasterization if we use the full Chromium
22 # rendering stack i.e. |use_blink| is true.
23 # TODO(crbug.com/1431198): Split out into separate enable_skia_ganesh flag.
24 skia_support_gpu = use_blink
25
26 # Skia Ganesh GL backend is always enabled on all platforms - applies only when
27 # GPU rasterization is enabled.
28 skia_use_gl = true
29
30 skia_support_pdf = use_blink && (enable_printing || enable_printing_unittests)
31
32 # Skottie is not used on Android. To keep apk size small the skottie library is
33 # excluded from the binary. At the time this comment was written, it adds ~200KB
34 # to the APK.
35 skia_support_skottie = !is_android
36
37 # Skia needs XMP support for gainmap HDR image decoding in blink.
38 skia_support_xmp = use_blink