| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//mojo/public/dart/rules.gni") | 5 import("//mojo/public/dart/rules.gni") |
| 6 | 6 |
| 7 dartzip_packaged_application("observatory_test_dartzip") { | 7 dart_pkg("observatory_test") { |
| 8 sources = [ | |
| 9 "lib/main.dart", | |
| 10 "pubspec.yaml", | |
| 11 ] | |
| 12 deps = [ | |
| 13 "//mojo/public/dart:dart_dartzip", | |
| 14 ] | |
| 15 } | |
| 16 | |
| 17 dart_pkg("observatory_test_pkg") { | |
| 18 apps = [ "lib/main.dart" ] | 8 apps = [ "lib/main.dart" ] |
| 9 app_name_override = "dart_observatory_test" |
| 19 sources = [ | 10 sources = [ |
| 20 "pubspec.yaml", | 11 "pubspec.yaml", |
| 21 ] | 12 ] |
| 22 deps = [ | 13 deps = [ |
| 23 "//mojo/public/dart", | 14 "//mojo/public/dart", |
| 24 ] | 15 ] |
| 25 } | 16 } |
| 26 | |
| 27 group("observatory_test") { | |
| 28 deps = [ | |
| 29 ":observatory_test_dartzip", | |
| 30 ":observatory_test_pkg", | |
| 31 ] | |
| 32 } | |
| OLD | NEW |