Index: utils/apidoc/apidoc.dart |
diff --git a/utils/apidoc/apidoc.dart b/utils/apidoc/apidoc.dart |
index 793cd68ab74ed69a7a5c391ce10a89cc718d59b2..785c497b46fe6438e93d9e7dd7a7b360af234185 100644 |
--- a/utils/apidoc/apidoc.dart |
+++ b/utils/apidoc/apidoc.dart |
@@ -33,6 +33,8 @@ void main() { |
bool generateAppCache = false; |
List<String> excludedLibraries = <String>[]; |
+ List<String> includedLibraries = <String>[]; |
+ |
// Parse the command-line arguments. |
for (int i = 0; i < args.length; i++) { |
@@ -54,6 +56,8 @@ void main() { |
default: |
if (arg.startsWith('--exclude-lib=')) { |
excludedLibraries.add(arg.substring('--exclude-lib='.length)); |
+ } else if (arg.startsWith('--include-lib=')) { |
+ includedLibraries.add(arg.substring('--include-lib='.length)); |
} else if (arg.startsWith('--out=')) { |
outputDir = new Path.fromNative(arg.substring('--out='.length)); |
} else { |
@@ -108,8 +112,6 @@ void main() { |
} |
}); |
- final includedLibraries = <String>[]; |
- |
var lister = new Directory.fromPath(doc.scriptDir.append('../../pkg')).list(); |
lister.onDir = (dirPath) { |
var path = new Path.fromNative(dirPath); |