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