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 /// This library generates Mojo bindings for a Dart package. | 5 /// This library generates Mojo bindings for a Dart package. |
6 | 6 |
7 library generate; | 7 library generate; |
8 | 8 |
9 import 'dart:async'; | 9 import 'dart:async'; |
10 import 'dart:convert'; | 10 import 'dart:convert'; |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 '\t$dart $packRoot $scriptPath single -m $mojoSdk -r $root ' | 405 '\t$dart $packRoot $scriptPath single -m $mojoSdk -r $root ' |
406 '-p $packagePath $skips'); | 406 '-p $packagePath $skips'); |
407 _errors++; | 407 _errors++; |
408 return; | 408 return; |
409 } | 409 } |
410 } | 410 } |
411 } | 411 } |
412 | 412 |
413 bool _shouldSkip(File f) => containsPrefix(f.path, _skip); | 413 bool _shouldSkip(File f) => containsPrefix(f.path, _skip); |
414 } | 414 } |
OLD | NEW |