| 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_package("mojo_dart_apptest_dartzip") { | 7 dart_pkg("apptest") { |
| 8 uses_pub = true | |
| 9 sources = [ | |
| 10 "lib/apptest.dart", | |
| 11 "pubspec.yaml", | |
| 12 ] | |
| 13 deps = [ | |
| 14 "//mojo/public/dart:dart_dartzip", | |
| 15 ] | |
| 16 } | |
| 17 | |
| 18 dart_pkg("mojo_dart_apptest_pkg") { | |
| 19 libs = [ "lib/apptest.dart" ] | 8 libs = [ "lib/apptest.dart" ] |
| 20 sources = [ | 9 sources = [ |
| 21 "pubspec.yaml", | 10 "pubspec.yaml", |
| 22 ] | 11 ] |
| 23 deps = [ | 12 deps = [ |
| 24 "//mojo/public/dart", | 13 "//mojo/public/dart", |
| 25 "//third_party/dart-pkg", | 14 "//third_party/dart-pkg", |
| 26 ] | 15 ] |
| 27 } | 16 } |
| 28 | |
| 29 group("apptest") { | |
| 30 deps = [ | |
| 31 ":mojo_dart_apptest_dartzip", | |
| 32 ":mojo_dart_apptest_pkg", | |
| 33 ] | |
| 34 } | |
| OLD | NEW |