Refactor Nima code
There were two copies of a Nima "player" and this moves them out of
samplecode/ and viewer/ to experimental/ where it is a bit more
accessible (e.g. for WebAssembly).
Bug: skia:
Change-Id: I05419a352f0d13d16b462a374578107513eb1243
Reviewed-on: https://skia-review.googlesource.com/c/166441
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
diff --git a/BUILD.gn b/BUILD.gn
index 6125553..d34286c 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1689,6 +1689,7 @@
# NIMA does not build on Windows clang
if (!is_win || !is_clang) {
+ sources += [ "experimental/nima/NimaActor.cpp" ]
deps += [ "//third_party/Nima-Cpp" ]
}
@@ -2157,7 +2158,7 @@
]
libs = []
- include_dirs = []
+ include_dirs = [ "experimental" ]
deps = [
":experimental_svg_model",
":flags",