From 3ddf16306386c596f20e1706daa3ec3475ea0202 Mon Sep 17 00:00:00 2001 From: "P.Y. Laligand" Date: Fri, 5 May 2017 18:37:40 -0700 Subject: [PATCH] Fixed some analysis issues. (#3656) --- examples/hello_flutter/.packages | 1 - examples/spinning_square/.packages | 1 - examples/spinning_square/BUILD.gn | 4 ++++ sky/packages/sky_engine/BUILD.gn | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-) delete mode 100644 examples/hello_flutter/.packages delete mode 100644 examples/spinning_square/.packages diff --git a/examples/hello_flutter/.packages b/examples/hello_flutter/.packages deleted file mode 100644 index ea5386b45957f..0000000000000 --- a/examples/hello_flutter/.packages +++ /dev/null @@ -1 +0,0 @@ -# hello_flutter doesn't depend on any packages. diff --git a/examples/spinning_square/.packages b/examples/spinning_square/.packages deleted file mode 100644 index 14423b3a80b65..0000000000000 --- a/examples/spinning_square/.packages +++ /dev/null @@ -1 +0,0 @@ -# spinning_square doesn't depend on any packages. diff --git a/examples/spinning_square/BUILD.gn b/examples/spinning_square/BUILD.gn index 30e7150c26833..70011775a9d5a 100644 --- a/examples/spinning_square/BUILD.gn +++ b/examples/spinning_square/BUILD.gn @@ -6,4 +6,8 @@ import("//flutter/build/flutter_app.gni") flutter_app("spinning_square") { main_dart = "lib/main.dart" + + deps = [ + "//lib/flutter/packages/flutter", + ] } diff --git a/sky/packages/sky_engine/BUILD.gn b/sky/packages/sky_engine/BUILD.gn index dbc0eb011277e..c74532371d494 100644 --- a/sky/packages/sky_engine/BUILD.gn +++ b/sky/packages/sky_engine/BUILD.gn @@ -127,6 +127,8 @@ if (is_fuchsia) { source_dir = rebase_path("$root_gen_dir/dart-pkg/sky_engine/lib") + disable_analysis = true + non_dart_deps = [ # This will ensure all the source files needed for this package are # copied to the right location.