aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD.gn
diff options
context:
space:
mode:
authorGravatar Florin Malita <fmalita@chromium.org>2018-05-30 09:27:32 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-05-30 13:50:08 +0000
commit6e4d95f804e7edd918791f75ad32e85ddb1c9990 (patch)
treebb327d249e699b7a7816af0ef007bb37a9e2b0d6 /BUILD.gn
parent137b87485508e3882968a10559c2cb389dcc93c5 (diff)
Add Skottie support to Fiddle
Change-Id: I2d89c1340215b43476337c354057328c1bb2b8ff Reviewed-on: https://skia-review.googlesource.com/130720 Commit-Queue: Florin Malita <fmalita@chromium.org> Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn15
1 files changed, 12 insertions, 3 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 944d0201c6..2d90eccf1a 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1013,9 +1013,16 @@ if (skia_enable_tools) {
public_configs = [ ":skia.h_config" ]
skia_h = "$target_gen_dir/skia.h"
script = "gn/find_headers.py"
- args = [ rebase_path("//bin/gn") ] + [ rebase_path("//") ] +
- [ rebase_path(skia_h, root_build_dir) ] +
- rebase_path(skia_public_includes)
+
+ # TODO: would be cool to not hard-code these here, but how?
+ module_public_includes = [
+ "modules/sksg/include",
+ "modules/skottie/include",
+ ]
+ args =
+ [ rebase_path("//bin/gn") ] + [ rebase_path("//") ] +
+ [ rebase_path(skia_h, root_build_dir) ] +
+ rebase_path(skia_public_includes) + rebase_path(module_public_includes)
depfile = "$skia_h.deps"
outputs = [
skia_h,
@@ -1041,6 +1048,7 @@ if (skia_enable_tools) {
":gpu_tool_utils",
":skia",
":skia.h",
+ "modules/skottie",
]
}
}
@@ -1054,6 +1062,7 @@ if (skia_enable_tools) {
deps = [
":skia",
":skia.h",
+ "modules/skottie",
]
}
}