| # Copyright 2020 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build/dart/dart_library.gni") |
| |
| dart_library("flutter") { |
| package_name = "flutter" |
| |
| # Specify the pubspec so we can infer the language version at build time. |
| pubspec = "//third_party/dart-pkg/git/flutter/packages/flutter/pubspec.yaml" |
| |
| # Can be left empty as analysis is disabled. |
| sources = [] |
| |
| disable_analysis = true |
| |
| deps = [ |
| "//third_party/dart-pkg/pub/async", |
| "//third_party/dart-pkg/pub/characters", |
| "//third_party/dart-pkg/pub/collection", |
| "//third_party/dart-pkg/pub/intl", |
| "//third_party/dart-pkg/pub/meta", |
| "//third_party/dart-pkg/pub/typed_data", |
| "//third_party/dart-pkg/pub/vector_math", |
| ] |
| |
| if (is_fuchsia) { |
| deps += [ "//src/flutter/sky_engine" ] |
| } |
| } |