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