Skip to content

Commit

Permalink
Properly pass the disable_analysis parameter. (flutter#4177)
Browse files Browse the repository at this point in the history
Added it to a few targets.
  • Loading branch information
pylaligand authored Oct 6, 2017
1 parent 01ab518 commit 472596f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/flutter_app.gni
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ template("flutter_app") {
"deps",
"manifest",
"analysis_options",
"disable_analysis",
"source_dir",
])
}
Expand All @@ -411,6 +412,7 @@ template("flutter_app") {
"deps",
"manifest",
"analysis_options",
"disable_analysis",
"source_dir",
])
}
Expand Down
4 changes: 4 additions & 0 deletions examples/hello_flutter/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import("//flutter/build/flutter_app.gni")
flutter_jit_app("hello_flutter") {
main_dart = "lib/main.dart"

disable_analysis = true

deps = [
"//lib/flutter/packages/flutter",
]
Expand All @@ -15,6 +17,8 @@ flutter_jit_app("hello_flutter") {
flutter_aot_app("hello_flutter_aot") {
main_dart = "lib/main.dart"

disable_analysis = true

deps = [
"//lib/flutter/packages/flutter",
]
Expand Down
2 changes: 2 additions & 0 deletions examples/spinning_square/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import("//flutter/build/flutter_app.gni")
flutter_app("spinning_square") {
main_dart = "lib/main.dart"

disable_analysis = true

deps = [
"//lib/flutter/packages/flutter",
]
Expand Down

0 comments on commit 472596f

Please sign in to comment.