| 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("apptest") { | 7 dartzip_package("apptest") { |
| 8 uses_pub = true | 8 uses_pub = true |
| 9 sources = [ | 9 sources = [ |
| 10 "lib/apptest.dart", | 10 "lib/apptest.dart", |
| 11 "pubspec.yaml", | 11 "pubspec.yaml", |
| 12 ] | 12 ] |
| 13 deps = [ | 13 deps = [ |
| 14 "//mojo/public/dart", | 14 "//mojo/public/dart", |
| 15 ] | 15 ] |
| 16 } | 16 } |
| 17 | 17 |
| 18 dart_pkg("apptest_pkg") { | 18 dart_pkg("apptest_pkg") { |
| 19 entrypoints = [ "lib/apptest.dart" ] |
| 19 sources = [ | 20 sources = [ |
| 20 "lib/apptest.dart", | |
| 21 "pubspec.yaml", | 21 "pubspec.yaml", |
| 22 ] | 22 ] |
| 23 deps = [ |
| 24 "//mojo/public/dart:mojo", |
| 25 "//third_party/dart-pkg", |
| 26 ] |
| 23 } | 27 } |
| OLD | NEW |