Lines Matching +full:skia +full:- +full:public
3 # Use of this source code is governed by a BSD-style license that can be
9 import("gn/skia.gni")
26 # Skia public API, generally provided by :skia.
68 cflags_objcc += [ "-Wno-unguarded-availability" ]
73 # Skia internal APIs, used by Skia itself and a few test tools.
103 # Any code that's linked into Skia-the-library should use this config via += skia_library_configs.
115 # Use for CPU-specific Skia code that needs particular compiler flags.
165 cflags = [ "-march=armv8-a+crc" ]
174 cflags = [ "-msse2" ]
184 cflags = [ "-mssse3" ]
194 cflags = [ "-msse4.1" ]
204 cflags = [ "-msse4.2" ]
214 cflags = [ "-mavx" ]
216 cflags += [ "-fno-stack-check" ] # Work around skia:9709
227 cflags = [ "-march=haswell" ]
229 cflags += [ "-fno-stack-check" ] # Work around skia:9709
240 cflags = [ "-march=skylake-avx512" ]
242 cflags += [ "-fno-stack-check" ] # Work around skia:9709
247 # Any feature of Skia that requires third-party code should be optional and use this template.
318 "public",
346 public = [
374 public = [ "include/ports/SkFontMgr_android.h" ]
394 public = [ "src/ports/SkFontMgr_custom.h" ]
405 public = [ "include/ports/SkFontMgr_directory.h" ]
436 public = [ "include/ports/SkFontMgr_empty.h" ]
448 # The public header includes fontconfig.h and uses FcConfig*
450 public = [ "include/ports/SkFontMgr_fontconfig.h" ]
468 public = [
496 public = [ "src/ports/SkFontMgr_fuchsia.h" ]
503 public = [
544 public = [ "include/ports/SkTypeface_win.h" ]
561 public = [ "include/ports/SkTypeface_win.h" ]
596 rebase_path("bin/clang-format"),
597 rebase_path("bin/fetch-clang-format"),
645 "//third_party/externals/spirv-tools:spvtools",
646 "//third_party/externals/spirv-tools:spvtools_val",
747 rebase_path("bin/clang-format"),
748 rebase_path("bin/fetch-clang-format"),
761 # Compile the passed-in `sources` into `outputs` using skslc, with the given language/settings.
788 # We want to support double-extensions (for '.dsl.cpp') but GN doesn't natively handle this.
789 # Workaround: http://go/ggroup/a/chromium.org/g/gn-dev/c/RdEpjeYtb-4
803 # SPIR-V uses separate extensions for .vert and .geom shaders.
822 lang = "--fp"
823 settings = "--settings"
831 lang = "--dslfp"
832 settings = "--settings"
837 lang = "--glsl"
838 settings = "--settings"
843 lang = "--glsl"
844 settings = "--nosettings"
849 lang = "--metal"
850 settings = "--settings"
855 lang = "--skvm"
856 settings = "--settings"
861 lang = "--stage"
862 settings = "--settings"
867 lang = "--spirv"
868 settings = "--settings"
908 sources -= skia_ccpr_sources
1009 "//third_party/spirv-cross:spirv_cross",
1028 cflags_objcc += [ "-fobjc-arc" ]
1069 deps = [ "//third_party/libjpeg-turbo:libjpeg" ]
1081 deps = [ "//third_party/libjpeg-turbo:libjpeg" ]
1082 public = [ "include/encode/SkJpegEncoder.h" ]
1111 public = skia_pdf_public
1126 public = skia_xps_public
1155 "//third_party/libjpeg-turbo:libjpeg",
1160 # Skia.
1171 "-w",
1172 "-std=c11",
1176 public = [ "include/third_party/skcms/skcms.h" ]
1252 "--output-file",
1262 skia_component("skia") {
1314 public = skia_core_public
1315 public += skia_utils_public
1316 public += skia_effects_public
1317 public += skia_effects_imagefilter_public
1391 deps += [ "//third_party/cpu-features" ]
1438 deps += [ "//third_party/externals/spirv-tools:spvtools_val" ]
1447 # DebugCanvas used in experimental/wasm-skp-debugger
1573 # Used by gn_to_bp.py to list our public include dirs.
1574 skia_source_set("public") {
1579 config("skia.h_config") {
1582 action("skia.h") {
1583 public_configs = [ ":skia.h_config" ]
1584 skia_h = "$target_gen_dir/skia.h"
1612 ":skia",
1613 ":skia.h",
1627 cflags_cc = [ "-std=c++14" ]
1641 ":skia",
1642 ":skia.h",
1669 deps += [ ":skia" ]
1799 # We need the GLTestContext on Vulkan-only builds for the persistent GL context workaround in
1842 cflags_cc = [ "-Wno-microsoft-cast" ]
1980 ":skia",
1991 deps += [ ":skia.h" ]
2010 ":skia",
2024 cflags_objcc = [ "-fobjc-arc" ]
2035 ":skia",
2057 ":skia",
2070 deps = [ ":skia" ]
2084 deps = [ ":skia" ]
2110 ":skia",
2115 test_app("convert-to-nia") {
2116 sources = [ "tools/convert-to-nia.cpp" ]
2117 deps = [ ":skia" ]
2123 ":skia",
2138 ":skia",
2163 ":skia",
2177 ":skia",
2188 deps = [ ":skia" ]
2195 deps = [ ":skia" ]
2202 deps = [ ":skia" ]
2217 ":skia",
2230 ":skia",
2240 ":skia",
2255 ":skia",
2263 ":skia",
2270 deps = [ ":skia" ]
2282 ":skia",
2292 ":skia",
2321 ":skia",
2376 ":skia",
2390 ":skia",
2399 ":skia",
2411 ":skia",
2419 ":skia",
2438 ":skia",
2453 ":skia",
2471 ":skia",
2482 sources = [ "platform_tools/android/apps/skottie/skottielib/src/main/cpp/native-lib.cpp" ]
2486 ":skia",
2513 ":skia",
2522 ":skia",
2531 ":skia",
2539 ":skia",
2642 libs += [ "X11-xcb" ]
2669 libs += [ "X11-xcb" ]
2705 ":skia",
2706 ":skia.h",
2765 ":skia",
2784 "//third_party/externals/spirv-tools:spvtools",
2787 "//third_party/externals/spirv-tools:spvtools_val",
2802 ":skia",
2814 ":skia",
2828 "-o",
2839 "-o",
2846 cflags = [ "/Wv:18" ] # 18 -> VS2013, 19 -> VS2015, 1910 -> VS2017
2876 ":skia",
2889 test_app("hello-opencl") {
2890 sources = [ "tools/hello-opencl.cpp" ]
2898 ":skia",
2912 deps = [ ":skia" ]
2940 ":skia",
2944 cflags = [ "-fsanitize=fuzzer" ]
2945 ldflags = [ "-fsanitize=fuzzer" ]
3262 deps = [ ":skia" ]
3330 sources = [ "experimental/c-api-example/skia-c-example.c" ]
3332 deps = [ ":skia" ]