skia2/src/pdf
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
SkBitmapKey.h
SkClusterator.cpp
SkClusterator.h
SkDeflate.cpp
SkDeflate.h
SkDocument_PDF_None.cpp
SkJpegInfo.cpp
SkJpegInfo.h
SkKeyedImage.cpp Use bitmap.asImage() 2020-12-23 17:41:47 +00:00
SkKeyedImage.h
SkPDFBitmap.cpp Fix cases of variable shadowing in src/pdf/. 2021-08-02 21:49:15 +00:00
SkPDFBitmap.h
SkPDFDevice.cpp Fall back to type 3 embedding for fonts with COLR table 2021-11-18 21:28:14 +00:00
SkPDFDevice.h At SkDevice level and below use SkBlender instead of SkBlendMode 2021-11-17 16:53:28 +00:00
SkPDFDocument.cpp [pdf] Prepend subset tag to BaseFont and FontName 2021-11-24 21:02:09 +00:00
SkPDFDocumentPriv.h [pdf] Prepend subset tag to BaseFont and FontName 2021-11-24 21:02:09 +00:00
SkPDFFont.cpp [pdf] Prepend subset tag to BaseFont and FontName 2021-11-24 21:02:09 +00:00
SkPDFFont.h Fall back to type 3 embedding for fonts with COLR table 2021-11-18 21:28:14 +00:00
SkPDFFormXObject.cpp
SkPDFFormXObject.h
SkPDFGlyphUse.h Fix SkBitSet. 2020-05-05 20:04:11 +00:00
SkPDFGradientShader.cpp Fix cases of variable shadowing in src/pdf/. 2021-08-02 21:49:15 +00:00
SkPDFGradientShader.h
SkPDFGraphicStackState.cpp Reland "Add SkClipStack::replaceClip() separate from deprecated clip op" 2021-08-06 14:44:39 +00:00
SkPDFGraphicStackState.h Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
SkPDFGraphicState.cpp Hide getBlendMode() 2021-07-07 20:55:26 +00:00
SkPDFGraphicState.h Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
SkPDFMakeCIDGlyphWidthsArray.cpp Remove SkSpan class template deduction guides 2021-05-11 20:06:29 +00:00
SkPDFMakeCIDGlyphWidthsArray.h
SkPDFMakeToUnicodeCmap.cpp
SkPDFMakeToUnicodeCmap.h
SkPDFMetadata.cpp Move UTF16 helpers from SkUtils to SkUTF 2021-11-03 17:03:21 +00:00
SkPDFMetadata.h Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
SkPDFResourceDict.cpp Remove "sanity"/"insane" to comply with Android's inclusive language guidance 2020-07-31 19:21:04 +00:00
SkPDFResourceDict.h
SkPDFShader.cpp Migrate to drawImage w/ sampling 2021-01-22 22:38:02 +00:00
SkPDFShader.h
SkPDFSubsetFont.cpp Remove ICU check from subset_harfbuzz 2021-09-27 19:17:55 +00:00
SkPDFSubsetFont.h
SkPDFTag.cpp Remove deprecated fType field in StructureElementNode. 2021-11-08 20:32:27 +00:00
SkPDFTag.h remove unused Arena reset() 2020-08-07 21:31:26 +00:00
SkPDFType1Font.cpp Remove SkSpan class template deduction guides 2021-05-11 20:06:29 +00:00
SkPDFType1Font.h
SkPDFTypes.cpp
SkPDFTypes.h Enable ClangTidy check modernize-make-unique. 2020-08-03 17:53:52 +00:00
SkPDFUnion.h
SkPDFUtils.cpp Bitmap.asImage() 2020-12-23 15:54:57 +00:00
SkPDFUtils.h Move UTF16 helpers from SkUtils to SkUTF 2021-11-03 17:03:21 +00:00
SkUUID.h