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

Unified Diff: utils/apidoc/apidoc.dart

Issue 11598012: Fixed package: imports breaking apidoc. (Closed) Base URL: https://git.chromium.org/git/external/dart/bleeding_edge.git@master
Patch Set: Removed leading dart/ Created 8 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | utils/apidoc/apidoc.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | utils/apidoc/apidoc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698