From 1761ed1580374e5d80cb886c2ecd02b235a1c472 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Wed, 10 Aug 2016 11:24:16 -0700 Subject: [PATCH] Get Fuchsia build past gn gen (#2896) --- BUILD.gn | 23 +++++++++++++++++------ glue/BUILD.gn | 10 ++++++++-- 2 files changed, 25 insertions(+), 8 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index b05d6bb460b5c..17fcaf2d33a76 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -5,10 +5,17 @@ # This target will be built if no target is specified when invoking ninja. group("flutter") { testonly = true + deps = [ - "//flutter/sky", + "//flutter/glue", ] + if (!is_fuchsia) { + deps += [ + "//flutter/sky", + ] + } + if (is_ios) { deps += [ "//flutter/services/dynamic:sdk_lib_archive", @@ -17,10 +24,14 @@ group("flutter") { } } -group("dist") { - testonly = true +if (!is_fuchsia) { + + group("dist") { + testonly = true + + deps = [ + "//flutter/sky/dist", + ] + } - deps = [ - "//flutter/sky/dist", - ] } diff --git a/glue/BUILD.gn b/glue/BUILD.gn index 9a39af5d1c059..dbefe5bff8ec8 100644 --- a/glue/BUILD.gn +++ b/glue/BUILD.gn @@ -19,9 +19,15 @@ source_set("glue") { ] deps = [ - "//base", "//lib/ftl", - "//mojo/data_pipe_utils", "//mojo/public/cpp/environment", + "//mojo/public/cpp/system", ] + + if (!is_fuchsia) { + deps += [ + "//base", + "//mojo/data_pipe_utils", + ] + } }