From 598b293898c25795df68b7ccbaa8dd28da253ba6 Mon Sep 17 00:00:00 2001 From: "P.Y. Laligand" Date: Wed, 8 Nov 2017 18:33:09 -0800 Subject: [PATCH] [fuchsia] Allow flutter_app to be included in non-Fuchsia toolchains. (flutter/engine#4342) A flutter_app target might be declared in a build file alongside some host tool. The intent of the assertion seemed to be restricting the use of the template to the Fuchsia codebase. --- engine/src/flutter/build/flutter_app.gni | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/build/flutter_app.gni b/engine/src/flutter/build/flutter_app.gni index ac6c49bc152..0c3ed70febe 100644 --- a/engine/src/flutter/build/flutter_app.gni +++ b/engine/src/flutter/build/flutter_app.gni @@ -2,7 +2,7 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -assert(is_fuchsia) +assert(is_fuchsia || is_fuchsia_host) import("//build/dart/dart_package.gni") import("//build/dart/toolchain.gni")