| #Copyright 2018 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_app.gni") |
| import("//build/dart/fidl_move.gni") |
| import("//build/test/test_package.gni") |
| import("//build/testing/environments.gni") |
| |
| dart_app("dart-inspect-validator-puppet") { |
| components = [ |
| { |
| component_name = "dart-inspect-validator-puppet" |
| component_type = "dart" |
| package_root = "." |
| main_dart = "lib/main.dart" |
| sources = [ "main.dart" ] |
| deps = [ |
| "//sdk/fidl/fuchsia.sys", |
| "//src/diagnostics/validator/inspect/fidl:validate", |
| dart_package_label.fidl, |
| dart_package_label.fuchsia_inspect, |
| dart_package_label.fuchsia_logger, |
| dart_package_label.fuchsia_services, |
| ] |
| }, |
| ] |
| |
| meta = [ |
| { |
| path = rebase_path("meta/dart-inspect-validator-puppet.cmx") |
| dest = "dart-inspect-validator-puppet.cmx" |
| }, |
| ] |
| } |
| |
| test_package("inspect-validator-test-dart") { |
| public_deps = [ |
| ":dart-inspect-validator-puppet", |
| "//src/diagnostics/validator/inspect:validator_bin", |
| ] |
| |
| meta = [ |
| { |
| path = rebase_path("meta/inspect_validator_test_dart.cmx") |
| dest = "inspect_validator_test_dart.cmx" |
| }, |
| ] |
| |
| tests = [ |
| { |
| name = "validator" |
| environments = basic_envs |
| }, |
| ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ |
| ":dart-inspect-validator-puppet", |
| ":inspect-validator-test-dart", |
| ] |
| } |