| 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 /* | 5 /* |
| 6 * This script should be invoked via 'pub run' for an application that consumes | 6 * This script should be invoked via 'pub run' for an application that consumes |
| 7 * pub packages containing generated Mojo bindings (.mojom.dart files). | 7 * pub packages containing generated Mojo bindings (.mojom.dart files). |
| 8 * | 8 * |
| 9 * It should be invoked as follows after 'pub get': | 9 * It should be invoked as follows after 'pub get': |
| 10 * $ pub run mojom:generate | 10 * $ pub run mojom:generate |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 await for (var package in packages.list()) { | 126 await for (var package in packages.list()) { |
| 127 if (package is Directory) { | 127 if (package is Directory) { |
| 128 installPackageMojoms(package, mojomPackage); | 128 installPackageMojoms(package, mojomPackage); |
| 129 } | 129 } |
| 130 } | 130 } |
| 131 | 131 |
| 132 for (var mojom_dir in additional_mojom_dirs) { | 132 for (var mojom_dir in additional_mojom_dirs) { |
| 133 copyMojomDirContents(mojom_dir, mojomPackage); | 133 copyMojomDirContents(mojom_dir, mojomPackage); |
| 134 } | 134 } |
| 135 } | 135 } |
| OLD | NEW |