diff --git a/BUILD.gn b/BUILD.gn index a24682f6ebf9..906bc5c30901 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -3399,13 +3399,13 @@ if (skia_enable_tools) { } } -if (is_ios && skia_use_metal && skia_enable_ganesh) { +if (is_ios && skia_use_metal && skia_enable_ganesh && skia_enable_tools) { group("minimal_ios_mtl_skia_app") { deps = [ "experimental/minimal_ios_mtl_skia_app" ] } } -if (is_ios && skia_enable_skottie) { +if (is_ios && skia_enable_skottie && skia_enable_tools) { group("skottie_ios") { deps = [ "tools/skottie_ios_app" ] } diff --git a/experimental/minimal_ios_mtl_skia_app/BUILD.gn b/experimental/minimal_ios_mtl_skia_app/BUILD.gn index 65919e9a1dae..ab61e2b2448e 100644 --- a/experimental/minimal_ios_mtl_skia_app/BUILD.gn +++ b/experimental/minimal_ios_mtl_skia_app/BUILD.gn @@ -4,7 +4,7 @@ import("../../gn/ios.gni") -if (is_ios && skia_use_metal && skia_enable_ganesh) { +if (is_ios && skia_use_metal && skia_enable_ganesh && skia_enable_tools) { ios_app_bundle("minimal_ios_mtl_skia_app") { sources = [ "../../tools/skottie_ios_app/GrContextHolder.h", diff --git a/tools/skottie_ios_app/BUILD.gn b/tools/skottie_ios_app/BUILD.gn index c880626ad931..feaba80fc738 100644 --- a/tools/skottie_ios_app/BUILD.gn +++ b/tools/skottie_ios_app/BUILD.gn @@ -4,7 +4,7 @@ import("../../gn/ios.gni") -if (is_ios) { +if (is_ios && skia_enable_tools) { group("skottie_ios_app") { deps = [ ":skottie_example" ] }