| # 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/build/dart/rules.gni") |
| |
| tests = [ |
| "skp_test.dart", |
| "tracing_test.dart", |
| "shader_reload_test.dart", |
| "vmservice_methods_test.dart", |
| ] |
| |
| foreach(test, tests) { |
| flutter_frontend_server("compile_$test") { |
| main_dart = test |
| kernel_output = "$root_gen_dir/$test.dill" |
| package_config = "../.dart_tool/package_config.json" |
| } |
| } |
| |
| group("observatory") { |
| testonly = true |
| deps = [] |
| foreach(test, tests) { |
| deps += [ ":compile_$test" ] |
| } |
| } |