skia2/experimental
Kevin Lubick 97284f255b [infra] Add initial platforms and constraint values
This makes use of Bazel's pre-defined platforms
https://github.com/bazelbuild/platforms
and some of our own defined values (see
//bazel/common_config_settings/BUILD.bazel) to customize
the build rules.

I verified this by building bazel_test locally for
linux x64 as well as using the third_party deps for
a WASM build (using build files not seen in this CL).

Suggested Review Order:
 - https://docs.bazel.build/versions/main/platforms.html if not
   already familiar with Bazel Platforms
 - third_party/BUILD.bazel to see that 1) all globs have
   been removed and 2) select() targets various
   platform constants or groups of constants to control
   sources, headers, and local_defines.
 - common_config_settings/ to see the groups of constraints
   created, as well as new constraint_settings defined
   (skdebug_impl)
 - supported_combinations/ to see how we can define supported
   sets of the constraint values (aka Bazel platforms).
   I imagine expanding this more, so we might have platforms
   named "linux_x64_emptyfontmgr_vulkan" or such.
 - //BUILD.bazel and bazel_test.cpp to see use of SkDebugf.
 - Everything else.

Change-Id: I49e4abdbcf7b76f0674efdbb1f53dc8823d110ee
Bug: skia:12541
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/463517
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Leandro Lovisolo <lovisolo@google.com>
Owners-Override: Kevin Lubick <kjlubick@google.com>
2021-10-26 18:27:13 +00:00
..
bazel_test [infra] Add initial platforms and constraint values 2021-10-26 18:27:13 +00:00
c-api-example Fix C API example, ensure the C API example is built in CI 2020-12-15 16:38:42 +00:00
docs
documentation Update references to master branch 2021-05-21 15:18:16 +00:00
ffmpeg Remove ableist language 2021-06-16 21:37:21 +00:00
graphite Fix CL collision (rm SLType Byte type usage) 2021-10-26 17:56:38 +00:00
lowp-basic Rewrite #includes to satisfy presubmit. 2021-10-01 18:31:26 +00:00
minimal_ios_mtl_skia_app roll gn to latest 2021-01-15 15:34:00 +00:00
pvg add pvg experiment 2018-11-02 15:35:21 +00:00
skottiekit [infra] Deduplicate serve.py 2021-10-12 11:42:50 +00:00
skrive Reland "Add format-specifier warnings to SkDebugf." 2021-06-25 17:57:43 +00:00
sktext Fixing Android build 2021-10-22 17:49:02 +00:00
sorttoy Rename experimental app to 'sorttoy' 2021-07-01 19:11:26 +00:00
tools Add sleep option to web_to_(skp|mskp) shell scripts. 2020-06-19 19:06:29 +00:00
tskit [infra] Deduplicate serve.py 2021-10-12 11:42:50 +00:00
wasm-skp-debugger [infra] Deduplicate serve.py 2021-10-12 11:42:50 +00:00
webgpu-bazel [experimental] Add WebGPU demo (built with Bazel) 2021-10-12 18:34:55 +00:00
xform Reland "Simplify SkRasterClip now that it's only intersect/diff" 2021-08-31 18:16:31 +00:00
xps_to_png