Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Side by Side Diff: mojo/dart/mojom/lib/generate.dart

Issue 1136503002: Create wrapper script around mojom's generate.dart in the Sky package. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/dart/mojom/lib/README.md ('k') | mojo/dart/mojom/pubspec.yaml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « mojo/dart/mojom/lib/README.md ('k') | mojo/dart/mojom/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698