From 6e4d95f804e7edd918791f75ad32e85ddb1c9990 Mon Sep 17 00:00:00 2001 From: Florin Malita Date: Wed, 30 May 2018 09:27:32 -0400 Subject: Add Skottie support to Fiddle Change-Id: I2d89c1340215b43476337c354057328c1bb2b8ff Reviewed-on: https://skia-review.googlesource.com/130720 Commit-Queue: Florin Malita Reviewed-by: Mike Klein --- BUILD.gn | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'BUILD.gn') 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", ] } } -- cgit v1.2.3