| # Copyright 2021 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/components.gni") |
| import("//build/dart/dart_library.gni") |
| import("//build/flutter/flutter_component.gni") |
| |
| dart_library("lib") { |
| package_name = "embedding-flutter" |
| sources = [ "embedding-flutter.dart" ] |
| deps = [ |
| "//sdk/dart/fidl", |
| "//sdk/dart/fuchsia_scenic_flutter", |
| "//sdk/dart/fuchsia_services", |
| "//sdk/dart/zircon", |
| "//sdk/fidl/fuchsia.sys", |
| "//sdk/fidl/fuchsia.ui.app", |
| "//sdk/fidl/fuchsia.ui.views", |
| "//src/ui/tests/integration_input_tests/touch:test.touch", |
| "//third_party/dart-pkg/git/flutter/packages/flutter", |
| "//third_party/dart-pkg/pub/args", |
| ] |
| } |
| |
| flutter_component("embedding-flutter-component") { |
| component_name = "embedding-flutter" |
| manifest = "meta/embedding-flutter.cmx" |
| main_package = "embedding-flutter" |
| main_dart = "embedding-flutter.dart" |
| deps = [ ":lib" ] |
| } |
| |
| fuchsia_package("embedding-flutter") { |
| deps = [ ":embedding-flutter-component" ] |
| } |