• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1cc = "clang"
2cxx = "clang++"
3
4extra_cflags = [
5        "-Wno-error",
6
7        "-DSK_ENABLE_DUMP_GPU",
8        "-DSK_BUILD_FOR_SKQP"
9    ]
10extra_cflags_cc = [
11        "-Wno-error",
12
13        # skqp build process produces a lot of compilation warnings, silencing
14        # most of them to remove clutter and avoid the CI job log to exceed the
15        # maximum size
16
17        # GCC flags
18        "-Wno-redundant-move",
19        "-Wno-suggest-override",
20        "-Wno-class-memaccess",
21        "-Wno-deprecated-copy",
22        "-Wno-uninitialized",
23
24        # Clang flags
25        "-Wno-macro-redefined",
26        "-Wno-anon-enum-enum-conversion",
27        "-Wno-suggest-destructor-override",
28        "-Wno-return-std-move-in-c++11",
29        "-Wno-extra-semi-stmt",
30        "-Wno-reserved-identifier",
31        "-Wno-bitwise-instead-of-logical",
32        "-Wno-reserved-identifier",
33        "-Wno-psabi",
34        "-Wno-unused-but-set-variable",
35        "-Wno-sizeof-array-div",
36        "-Wno-string-concatenation",
37        "-Wno-unsafe-buffer-usage",
38        "-Wno-switch-default",
39        "-Wno-cast-function-type-strict",
40        "-Wno-format",
41        "-Wno-enum-constexpr-conversion",
42    ]
43
44cc_wrapper = "ccache"
45
46is_debug = false
47
48skia_enable_fontmgr_android = false
49skia_enable_fontmgr_empty = true
50skia_enable_pdf = false
51skia_enable_skottie = false
52
53skia_skqp_global_error_tolerance = 8
54skia_tools_require_resources = true
55
56skia_use_dng_sdk = false
57skia_use_expat = true
58skia_use_icu = false
59skia_use_libheif = false
60skia_use_lua = false
61skia_use_piex = false
62skia_use_vulkan = true
63
64target_os = "linux"
65