skia2/modules
Kevin Lubick bf4b034027 [bazel] Show CanvasKit can be loaded in POC karma_test
In order to load CanvasKit, we need to add support for statically
served files. On the karma side, this is done by adding an
object [1] to the files list (example: [2]).

Then, we need to include canvaskit.js in with the karma test
files and use the callback to load canvaskit.wasm from the
correct file location.

[1] http://karma-runner.github.io/6.3/config/files.html
[2] 4f7b656012/modules/canvaskit/karma.conf.js (L13)
Change-Id: I7482d6e949a5e8efd0ca882efe5afbe0dc16c0e4
Bug: skia:12541
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/510736
Reviewed-by: Leandro Lovisolo <lovisolo@google.com>
2022-02-23 14:53:01 +00:00
..
androidkit Remove isOpaque from SkRuntimeEffect::makeShader signature 2022-02-11 16:05:01 +00:00
audioplayer implement SkAudioPLayer for Android 2020-12-15 00:12:48 +00:00
canvaskit [bazel] Show CanvasKit can be loaded in POC karma_test 2022-02-23 14:53:01 +00:00
particles [bazel] Compile gms for wasm and WebGL 2022-02-09 18:56:17 +00:00
pathkit Reland "Build CanvasKit using GN/Ninja" 2022-02-15 16:31:10 +00:00
skottie [canvaskit] Rename some CK-specific defines 2022-02-15 22:42:17 +00:00
skparagraph Fixing getRectForRange in case with ellipsis 2022-02-22 18:43:20 +00:00
skplaintexteditor Reland "Add format-specifier warnings to SkDebugf." 2021-06-25 17:57:43 +00:00
skresources [canvaskit] Add skottie to Bazel build 2022-02-04 19:18:27 +00:00
sksg Prepare to reenable unreachable-code warnings. 2022-02-04 21:45:39 +00:00
skshaper rename fontID to typefaceID 2022-02-07 20:12:39 +00:00
skunicode Avoid scanning for bidi levels if the paragraph is unidirectional 2022-01-06 17:39:50 +00:00
svg Implement SkTLazy using std::optional 2022-02-01 19:51:21 +00:00
BUILD.bazel [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00