Index: utils/apidoc/apidoc.dart |
diff --git a/utils/apidoc/apidoc.dart b/utils/apidoc/apidoc.dart |
index 742e5197fa06f3fa28feaa605dc7a9933d5edb7e..a73a1de8aef2eccb5261b0468451482c88eb5646 100644 |
--- a/utils/apidoc/apidoc.dart |
+++ b/utils/apidoc/apidoc.dart |
@@ -34,6 +34,7 @@ void main() { |
List<String> excludedLibraries = <String>[]; |
List<String> includedLibraries = <String>[]; |
+ var pkgPath; |
// Parse the command-line arguments. |
@@ -60,6 +61,8 @@ void main() { |
includedLibraries.add(arg.substring('--include-lib='.length)); |
} else if (arg.startsWith('--out=')) { |
outputDir = new Path.fromNative(arg.substring('--out='.length)); |
+ } else if (arg.startsWith('--pkg=')) { |
+ pkgPath = arg.substring('--pkg='.length); |
} else { |
print('Unknown option: $arg'); |
return; |
@@ -69,7 +72,6 @@ void main() { |
} |
final libPath = doc.scriptDir.append('../../sdk/'); |
- final pkgPath = doc.scriptDir.append('../../pkg/'); |
doc.cleanOutputDirectory(outputDir); |