skia2/include/effects
Kevin Lubick 4bd08c52c0 [infra] Add SkParagraph (harfbuzz, ICU) to Canvaskit Bazel build.
As a follow-up to https://skia-review.googlesource.com/c/skia/+/476219,
this sketches out how we can maybe use cc_library for the things
in //modules to make sure something in //src doesn't depend on
anything in //modules, for example.

The following succeeds:
bazel build //modules/skparagraph:skparagraph --config=clang \
  --shaper_backend=harfbuzz_shaper --with_icu

As does `make bazel_canvaskit_debug` in //modules/canvaskit

Suggested Review Order:
 - third_party/BUILD.bazel for ICU and harfbuzz rules. Pay
   special attention to the genrules used to call the python
   script for turning the icu .dat file into .S or .cpp.
 - bazelrc and bazel/ for new flags and defines that control
   use of ICU and harfbuzz. Unlike GN, with the public_defines
   that get added in automatically if icu or harfbuzz is
   depended upon, we need to set the defines at the top level.
   This necessity might go away if we change the atoms to
   depend on //modules/skshaper, which could define that flag.
 - Top level BUILD.bazel files in //modules/skparagraph,
   //modules/skshaper, //modules/skunicode, //modules/canvaskit
 - All other .bazel file changes are automatic.

Bug: skia:12541
Change-Id: I38a9e0a9261d7e142eeb271c2ddb23f362f91473
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/478116
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Leandro Lovisolo <lovisolo@google.com>
2021-11-30 21:01:06 +00:00
..
BUILD.bazel [infra] Add SkParagraph (harfbuzz, ICU) to Canvaskit Bazel build. 2021-11-30 21:01:06 +00:00
Sk1DPathEffect.h Just expose factories for patheffects 2021-05-20 23:01:45 +00:00
Sk2DPathEffect.h Just expose factories for patheffects 2021-05-20 23:01:45 +00:00
SkBlenders.h Arithmetic blender 2021-07-08 17:06:17 +00:00
SkBlurDrawLooper.h Hide (unused) SkDrawLooper 2021-02-07 12:49:53 +00:00
SkBlurMaskFilter.h
SkColorMatrix.h Add SkColorMatrix factories for SkYUVColorSpace 2021-10-20 16:47:03 +00:00
SkColorMatrixFilter.h
SkCornerPathEffect.h Move class into impl 2021-05-21 18:06:53 +00:00
SkDashPathEffect.h
SkDiscretePathEffect.h Move patheffect details to (private) base subclass 2021-05-22 01:55:43 +00:00
SkGradientShader.h
SkHighContrastFilter.h clean up SK_SUPPORT_LEGACY_RUNTIME_EFFECTS 2021-02-13 22:01:14 +00:00
SkImageFilters.h Reland "Add public API support for SkImageFilters::RuntimeShader" 2021-11-29 22:23:26 +00:00
SkLayerDrawLooper.h Reenable Wdeprecated-copy-dtor 2021-02-16 17:53:28 +00:00
SkLumaColorFilter.h clean up SK_SUPPORT_LEGACY_RUNTIME_EFFECTS 2021-02-13 22:01:14 +00:00
SkOpPathEffect.h Move patheffect details to (private) base subclass 2021-05-22 01:55:43 +00:00
SkOverdrawColorFilter.h
SkPerlinNoiseShader.h Remove Improved Perlin Noise 2021-01-11 15:27:26 +00:00
SkRuntimeEffect.h Reland "Add public API support for SkImageFilters::RuntimeShader" 2021-11-29 22:23:26 +00:00
SkShaderMaskFilter.h
SkStrokeAndFillPathEffect.h
SkTableColorFilter.h
SkTableMaskFilter.h
SkTrimPathEffect.h