Commit 21b81d90 authored by P.Y. Laligand's avatar P.Y. Laligand Committed by GitHub

Disable Dart analysis in Fuchsia. (#12409)

Fuchsia will soon use a newer version of the Dart analysis server which Flutter code has not been adjusted for yet.
parent ac1546c7
...@@ -9,7 +9,7 @@ assert(is_fuchsia) ...@@ -9,7 +9,7 @@ assert(is_fuchsia)
flutter_app("flutter_gallery") { flutter_app("flutter_gallery") {
main_dart = "lib/main.dart" main_dart = "lib/main.dart"
analysis_options = "//lib/flutter/analysis_options.yaml" disable_analysis = true
deps = [ deps = [
"//lib/flutter/packages/flutter", "//lib/flutter/packages/flutter",
......
...@@ -7,7 +7,7 @@ import("//build/dart/dart_package.gni") ...@@ -7,7 +7,7 @@ import("//build/dart/dart_package.gni")
dart_package("flutter") { dart_package("flutter") {
package_name = "flutter" package_name = "flutter"
analysis_options = "//lib/flutter/analysis_options.yaml" disable_analysis = true
deps = [ deps = [
"//third_party/dart-pkg/pub/async", "//third_party/dart-pkg/pub/async",
......
...@@ -7,7 +7,7 @@ import("//build/dart/dart_package.gni") ...@@ -7,7 +7,7 @@ import("//build/dart/dart_package.gni")
dart_package("flutter_test") { dart_package("flutter_test") {
package_name = "flutter_test" package_name = "flutter_test"
analysis_options = "//lib/flutter/analysis_options.yaml" disable_analysis = true
deps = [ deps = [
"//lib/flutter/packages/flutter", "//lib/flutter/packages/flutter",
......
...@@ -8,7 +8,7 @@ import("//build/dart/dart_tool.gni") ...@@ -8,7 +8,7 @@ import("//build/dart/dart_tool.gni")
dart_package("flutter_tools") { dart_package("flutter_tools") {
package_name = "flutter_tools" package_name = "flutter_tools"
analysis_options = "//lib/flutter/analysis_options.yaml" disable_analysis = true
deps = [ deps = [
"//dart/pkg/analyzer", "//dart/pkg/analyzer",
...@@ -42,7 +42,7 @@ dart_package("flutter_tools") { ...@@ -42,7 +42,7 @@ dart_package("flutter_tools") {
dart_tool("fuchsia_builder") { dart_tool("fuchsia_builder") {
main_dart = "bin/fuchsia_builder.dart" main_dart = "bin/fuchsia_builder.dart"
analysis_options = "//lib/flutter/analysis_options.yaml" disable_analysis = true
deps = [ deps = [
":flutter_tools", ":flutter_tools",
...@@ -52,7 +52,7 @@ dart_tool("fuchsia_builder") { ...@@ -52,7 +52,7 @@ dart_tool("fuchsia_builder") {
dart_tool("fuchsia_tester") { dart_tool("fuchsia_tester") {
main_dart = "bin/fuchsia_tester.dart" main_dart = "bin/fuchsia_tester.dart"
analysis_options = "//lib/flutter/analysis_options.yaml" disable_analysis = true
deps = [ deps = [
":flutter_tools", ":flutter_tools",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment