| # Copyright 2013 The Flutter 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("//flutter/tools/fuchsia/dart/dart_component.gni") |
| import("//flutter/tools/fuchsia/dart/dart_library.gni") |
| import("//flutter/tools/fuchsia/gn-sdk/package.gni") |
| |
| dart_library("lib") { |
| testonly = true |
| package_name = "hello_world" |
| language_version = "2.12" |
| source_dir = "." |
| sources = [ "main.dart" ] |
| deps = [] |
| } |
| |
| dart_component("hello-world-dart-component") { |
| testonly = true |
| manifest = "meta/hello-world.cml" |
| main_package = "hello_world" |
| component_name = "hello_world" |
| deps = [ ":lib" ] |
| } |
| |
| fuchsia_component("hello_world_dart") { |
| testonly = true |
| deps = [ ":hello-world-dart-component" ] |
| manifest = "meta/hello-world.cml" |
| } |