skia2/include/ports
Kevin Lubick 9488e0237d [infra] Experiment generating BUILD.bazel files
This uses the gazelle extension from
https://skia-review.googlesource.com/c/buildbot/+/473357

Review Tips:
 - Ignore any changes to .h or .cpp files. Those have been
   pulled out into their own CLs.
 - Start with bazel/macros.bzl.
 - Read the CL with the generation code, if you haven't already.
 - Look at third_party/file_map_for_bazel.json.
 - See experimental/bazel_test for an idea of how a cc_binary
   would be made.
 - Spot check one or two of the BUILD.bazel files.

This CL generates the "atomic" rules for src/, include/ and
modules/skshaper, as a starting point.

`bazel build --config clang //include/...` works

`bazel build --config clang //src/...` starts compiling,
(which verifies that the BUILD.bazel files are all valid),
but runs into errors because not all third_party deps have
been resolved, and there are some files missing from the
toolchain still (e.g. EGL headers).

Change-Id: Ib7e0fb0efdb9f08655f06cbc56e9bb4cf416294b
Bug: skia:12541
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/474240
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Leandro Lovisolo <lovisolo@google.com>
2021-11-23 18:53:16 +00:00
..
BUILD.bazel [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00
SkCFObject.h Reland "Clean up #includes in SkCFObject." 2021-10-05 19:11:56 +00:00
SkFontConfigInterface.h Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
SkFontMgr_android.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFontMgr_directory.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFontMgr_empty.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFontMgr_fontconfig.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFontMgr_FontConfigInterface.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFontMgr_fuchsia.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkFontMgr_indirect.h Revert "Revert "onMatchFaceStyle is unused, so remove it"" 2021-04-27 16:40:29 +00:00
SkFontMgr_mac_ct.h Split out coretext fontmgr factory. 2020-06-06 04:06:32 +00:00
SkImageGeneratorCG.h Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
SkImageGeneratorNDK.h Add platform image encoder for using NDK APIs 2020-08-13 15:21:41 +00:00
SkImageGeneratorWIC.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkRemotableFontMgr.h SkAuto[S]TMalloc only for trivially constructible/destructible. 2021-03-31 13:55:45 +00:00
SkTypeface_mac.h Remove CGFontRef parameter from SkMakeTypefaceFromCTFont 2020-01-31 18:35:10 +00:00
SkTypeface_win.h Move SkLeanWindows.h to src. 2019-05-21 13:48:00 +00:00