| 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("mojo_dart_wget_dartzip") { | 7 dart_pkg("wget") { |
| 8 output_name = "dart_wget" | |
| 9 sources = [ | |
| 10 "lib/main.dart", | |
| 11 ] | |
| 12 deps = [ | |
| 13 "//mojo/public/dart:dart_dartzip", | |
| 14 "//mojo/public/interfaces/network", | |
| 15 "//mojo/services/network/public/interfaces", | |
| 16 ] | |
| 17 } | |
| 18 | |
| 19 dart_pkg("mojo_dart_wget_pkg") { | |
| 20 apps = [ "lib/main.dart" ] | 8 apps = [ "lib/main.dart" ] |
| 9 app_name_override = "dart_wget" |
| 21 sources = [ | 10 sources = [ |
| 22 "pubspec.yaml", | 11 "pubspec.yaml", |
| 23 ] | 12 ] |
| 24 deps = [ | 13 deps = [ |
| 25 "//mojo/dart/mojo_services", | 14 "//mojo/dart/mojo_services", |
| 26 "//mojo/public/dart", | 15 "//mojo/public/dart", |
| 27 ] | 16 ] |
| 28 } | 17 } |
| 29 | |
| 30 group("wget") { | |
| 31 deps = [ | |
| 32 ":mojo_dart_wget_dartzip", | |
| 33 ":mojo_dart_wget_pkg", | |
| 34 ] | |
| 35 } | |
| OLD | NEW |