OLD | NEW |
1 mojom | 1 mojom |
2 ==== | 2 ==== |
3 | 3 |
4 This package is a placeholder for generated mojom bindings. It contains a script | 4 This package is a placeholder for generated mojom bindings. It contains a script |
5 lib/generate.dart. | 5 lib/generate.dart. |
6 | 6 |
7 This script generates Mojo bindings for a Dart package. Dart packages will be | 7 This script generates Mojo bindings for a Dart package. Dart packages will be |
8 populated according to the DartPackage annotations in .mojom files. Any .mojom | 8 populated according to the DartPackage annotations in .mojom files. Any .mojom |
9 files that don't have an annotation will have their bindings generated into a | 9 files that don't have an annotation will have their bindings generated into a |
10 local copy of the 'mojom' package. Annotations specifying the host package will | 10 local copy of the 'mojom' package. Annotations specifying the host package will |
(...skipping 21 matching lines...) Expand all Loading... |
32 ``` | 32 ``` |
33 $ dart packages/mojom/generate.dart [-p package-root] | 33 $ dart packages/mojom/generate.dart [-p package-root] |
34 [-a additional-dirs] | 34 [-a additional-dirs] |
35 [-m mojo-sdk] | 35 [-m mojo-sdk] |
36 [-g] # Generate from .mojom files | 36 [-g] # Generate from .mojom files |
37 [-d] # Download from .mojoms files | 37 [-d] # Download from .mojoms files |
38 [-i] # Ignore duplicates | 38 [-i] # Ignore duplicates |
39 [-v] # verbose | 39 [-v] # verbose |
40 [-f] # Fake (dry) run | 40 [-f] # Fake (dry) run |
41 ``` | 41 ``` |
OLD | NEW |